Lines Matching refs:bv
25 struct bio_vec bv; in orangefs_writepage_locked() local
52 bv.bv_page = page; in orangefs_writepage_locked()
53 bv.bv_len = wlen; in orangefs_writepage_locked()
54 bv.bv_offset = off % PAGE_SIZE; in orangefs_writepage_locked()
56 iov_iter_bvec(&iter, WRITE, &bv, 1, wlen); in orangefs_writepage_locked()
87 struct bio_vec *bv; member
105 ow->bv[i].bv_page = ow->pages[i]; in orangefs_writepages_work()
106 ow->bv[i].bv_len = min(page_offset(ow->pages[i]) + PAGE_SIZE, in orangefs_writepages_work()
110 ow->bv[i].bv_offset = ow->off - in orangefs_writepages_work()
113 ow->bv[i].bv_offset = 0; in orangefs_writepages_work()
115 iov_iter_bvec(&iter, WRITE, ow->bv, ow->npages, ow->len); in orangefs_writepages_work()
229 ow->bv = kcalloc(ow->maxpages, sizeof(struct bio_vec), GFP_KERNEL); in orangefs_writepages()
230 if (!ow->bv) { in orangefs_writepages()
241 kfree(ow->bv); in orangefs_writepages()
295 struct bio_vec bv; in orangefs_readpage() local
303 bv.bv_page = page; in orangefs_readpage()
304 bv.bv_len = PAGE_SIZE; in orangefs_readpage()
305 bv.bv_offset = 0; in orangefs_readpage()
306 iov_iter_bvec(&iter, READ, &bv, 1, PAGE_SIZE); in orangefs_readpage()