Lines Matching refs:bv_offset
34 unsigned int bv_offset; member
49 bv->bv_offset = offset; in bvec_set_page()
109 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)
118 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \
137 .bv_offset = bvec_iter_offset((bvec), (iter)), \
211 bv->bv_offset = 0; in bvec_advance()
213 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance()
214 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance()
216 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance()
235 return kmap_local_page(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_local()
246 memcpy_from_page(to, bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memcpy_from_bvec()
257 memcpy_to_page(bvec->bv_page, bvec->bv_offset, from, bvec->bv_len); in memcpy_to_bvec()
268 memzero_page(bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memzero_bvec()
280 return page_address(bvec->bv_page) + bvec->bv_offset; in bvec_virt()