Searched refs:start_sec (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_flash_utils.c | 48 int write_flash(struct adapter *adap, u32 start_sec, void *data, u32 size); 49 int read_flash(struct adapter *adap, u32 start_sec , void *data, u32 size, 246 int write_flash(struct adapter *adap, u32 start_sec, void *data, u32 size) in write_flash() argument 257 addr = start_sec * CUDBG_SF_SECTOR_SIZE; in write_flash() 261 rc = t4_flash_erase_sectors(adap, start_sec, in write_flash() 262 start_sec + i - 1); in write_flash() 465 int read_flash(struct adapter *adap, u32 start_sec , void *data, u32 size, in read_flash() argument 471 addr = start_sec * CUDBG_SF_SECTOR_SIZE + start_address; in read_flash()
|
/freebsd/stand/libsa/zfs/ |
H A D | zfs.c | 463 off_t start_sec; in vdev_read() local 503 start_sec = offset / secsz; in vdev_read() 523 if (lseek(fd, start_sec * secsz, SEEK_SET) == -1) { in vdev_read() 585 off_t start_sec; in vdev_write() local 597 start_sec = offset / secsz; in vdev_write() 617 if (lseek(fd, start_sec * secsz, SEEK_SET) == -1) { in vdev_write()
|