Lines Matching refs:bufoff
799 int bufoff;
804 bufoff = offset - db->db_offset;
805 tocpy = (int)MIN(db->db_size - bufoff, size);
807 bcopy((char *)db->db_data + bufoff, buf, tocpy);
834 int bufoff;
839 bufoff = offset - db->db_offset;
840 tocpy = (int)MIN(db->db_size - bufoff, size);
849 bcopy(buf, (char *)db->db_data + bufoff, tocpy);
1048 int bufoff;
1053 bufoff = uio->uio_loffset - db->db_offset;
1054 tocpy = (int)MIN(db->db_size - bufoff, size);
1060 err = dmu_xuio_add(xuio, abuf, bufoff, tocpy);
1071 err = uiomove((char *)db->db_data + bufoff, tocpy,
1151 int bufoff;
1156 bufoff = uio->uio_loffset - db->db_offset;
1157 tocpy = (int)MIN(db->db_size - bufoff, size);
1172 err = uiomove((char *)db->db_data + bufoff, tocpy,
1261 int bufoff;
1268 bufoff = offset - db->db_offset;
1269 tocpy = (int)MIN(db->db_size - bufoff, size);
1279 ASSERT3U(pp->p_offset, ==, db->db_offset + bufoff);
1282 bcopy(va, (char *)db->db_data + bufoff, thiscpy);
1285 bufoff += PAGESIZE;
1319 int bufoff;
1326 bufoff = offset - db->db_offset;
1327 tocpy = (int)MIN(db->db_size - bufoff, size);
1337 ASSERT3U(ptoa((*ma)->pindex), ==, db->db_offset + bufoff);
1340 bcopy(va, (char *)db->db_data + bufoff, thiscpy);
1343 bufoff += PAGESIZE;