Searched refs:bufoff (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu.c | 1025 int bufoff; in dmu_read_impl() local 1030 bufoff = offset - db->db_offset; in dmu_read_impl() 1031 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_read_impl() 1033 bcopy((char *)db->db_data + bufoff, buf, tocpy); in dmu_read_impl() 1075 int bufoff; in dmu_write_impl() local 1080 bufoff = offset - db->db_offset; in dmu_write_impl() 1081 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write_impl() 1090 bcopy(buf, (char *)db->db_data + bufoff, tocpy); in dmu_write_impl() 1435 int bufoff; in dmu_read_uio_dnode() local 1440 bufoff = uio->uio_loffset - db->db_offset; in dmu_read_uio_dnode() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | smbios.c | 148 size_t bufoff = off - cp->c_eplen; in smb_uiomove() local 150 err = uiomove(buf + bufoff, in smb_uiomove() 151 MIN(len, cp->c_stlen - bufoff), UIO_READ, uio); in smb_uiomove()
|
/illumos-gate/usr/src/cmd/pcieadm/ |
H A D | pcieadm.c | 307 uint32_t bufoff = 0; in pcieadm_read_cfgspace_file() local 311 ssize_t ret = pread(pcfi->pcfi_fd, buf + bufoff, len, off); in pcieadm_read_cfgspace_file() 323 bufoff += ret; in pcieadm_read_cfgspace_file()
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 2324 uint32_t bufoff; in bge_ape_scratchpad_read() local 2343 bufoff = (bge_ape_get32(bgep, BGE_APE_SEG_MSG_BUF_OFF) + in bge_ape_scratchpad_read() 2345 msgoff = bufoff + 2 * sizeof(uint32_t); in bge_ape_scratchpad_read() 2369 bge_ape_put32(bgep, bufoff, base_off); in bge_ape_scratchpad_read() 2370 bge_ape_put32(bgep, bufoff + sizeof(uint32_t), transferLen); in bge_ape_scratchpad_read() 2396 uint32_t bufoff; in bge_ape_scratchpad_write() local 2415 bufoff = (bge_ape_get32(bgep, BGE_APE_SEG_MSG_BUF_OFF) + in bge_ape_scratchpad_write() 2417 msgoff = bufoff + 2 * sizeof(uint32_t); in bge_ape_scratchpad_write() 2434 bge_ape_put32(bgep, bufoff, dstoff); in bge_ape_scratchpad_write() 2435 bge_ape_put32(bgep, bufoff + sizeof(uint32_t), transferLen); in bge_ape_scratchpad_write()
|