Lines Matching refs:bvecs
79 struct bio_vec *bvecs) in __iter_get_bvecs() argument
108 bvecs[bvec_idx] = bv; in __iter_get_bvecs()
126 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
154 *bvecs = bv; in iter_get_bvecs_alloc()
159 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
164 if (bvecs[i].bv_page) { in put_bvecs()
166 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
167 put_page(bvecs[i].bv_page); in put_bvecs()
170 kvfree(bvecs); in put_bvecs()
824 iov_iter_bvec(&i, ITER_BVEC, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
832 put_bvecs(osd_data->bvec_pos.bvecs, osd_data->num_bvecs, in ceph_aio_complete_req()
920 struct bio_vec *bvecs; in ceph_direct_read_write() local
978 len = iter_get_bvecs_alloc(iter, size, &bvecs, &num_pages); in ceph_direct_read_write()
1018 osd_req_op_extent_osd_data_bvecs(req, 0, bvecs, num_pages, len); in ceph_direct_read_write()
1047 iov_iter_bvec(&i, ITER_BVEC, bvecs, num_pages, in ceph_direct_read_write()
1057 put_bvecs(bvecs, num_pages, should_dirty); in ceph_direct_read_write()