Searched refs:bufoff (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu.c | 798 int bufoff; in dmu_read() local 803 bufoff = offset - db->db_offset; in dmu_read() 804 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_read() 806 bcopy((char *)db->db_data + bufoff, buf, tocpy); in dmu_read() 833 int bufoff; in dmu_write() local 838 bufoff = offset - db->db_offset; in dmu_write() 839 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write() 848 bcopy(buf, (char *)db->db_data + bufoff, tocpy); in dmu_write() 1045 int bufoff; in dmu_read_uio_dnode() local 1050 bufoff = uio->uio_loffset - db->db_offset; in dmu_read_uio_dnode() [all …]
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_diskq.c | 1687 nsc_off_t bufoff; in rdc_diskq_buf2queue() local 1706 bufoff = buf->sb_pos; in rdc_diskq_buf2queue() 1707 endobuf = bufoff + buf->sb_len; in rdc_diskq_buf2queue() 1710 cmn_err(CE_WARN, "!BUFFOFFENTER %d", bufoff); in rdc_diskq_buf2queue() 1720 cmn_err(CE_WARN, "!BUFFOFF_0 %d", bufoff); in rdc_diskq_buf2queue() 1752 bufoff, buf->sb_pos, buf->sb_len); in rdc_diskq_buf2queue() 1767 bufoff += FBA_NUM(sizeof (*hdr)); in rdc_diskq_buf2queue() 1770 if (!nullbuf && ((bufoff + hdr->dat.len) > endobuf)) { in rdc_diskq_buf2queue() 1785 bufoff += hdr->dat.len; in rdc_diskq_buf2queue() 1810 if ((bufoff + FBA_NUM(sizeof (*hdr))) >= endobuf) { in rdc_diskq_buf2queue() [all …]
|
/titanic_41/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 2290 uint32_t bufoff; in bge_ape_scratchpad_read() local 2309 bufoff = (bge_ape_get32(bgep, BGE_APE_SEG_MSG_BUF_OFF) + in bge_ape_scratchpad_read() 2311 msgoff = bufoff + 2 * sizeof(uint32_t); in bge_ape_scratchpad_read() 2335 bge_ape_put32(bgep, bufoff, base_off); in bge_ape_scratchpad_read() 2336 bge_ape_put32(bgep, bufoff + sizeof(uint32_t), transferLen); in bge_ape_scratchpad_read() 2362 uint32_t bufoff; in bge_ape_scratchpad_write() local 2381 bufoff = (bge_ape_get32(bgep, BGE_APE_SEG_MSG_BUF_OFF) + in bge_ape_scratchpad_write() 2383 msgoff = bufoff + 2 * sizeof(uint32_t); in bge_ape_scratchpad_write() 2400 bge_ape_put32(bgep, bufoff, dstoff); in bge_ape_scratchpad_write() 2401 bge_ape_put32(bgep, bufoff + sizeof(uint32_t), transferLen); in bge_ape_scratchpad_write()
|