Lines Matching refs:bvecs
84 struct bio_vec *bvecs) in __iter_get_bvecs() argument
112 bvecs[bvec_idx] = bv; in __iter_get_bvecs()
130 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
158 *bvecs = bv; in iter_get_bvecs_alloc()
163 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
168 if (bvecs[i].bv_page) { in put_bvecs()
170 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
171 put_page(bvecs[i].bv_page); in put_bvecs()
174 kvfree(bvecs); in put_bvecs()
1164 iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
1181 put_bvecs(osd_data->bvec_pos.bvecs, osd_data->num_bvecs, in ceph_aio_complete_req()
1270 struct bio_vec *bvecs; in ceph_direct_read_write() local
1328 len = iter_get_bvecs_alloc(iter, size, &bvecs, &num_pages); in ceph_direct_read_write()
1368 osd_req_op_extent_osd_data_bvecs(req, 0, bvecs, num_pages, len); in ceph_direct_read_write()
1403 iov_iter_bvec(&i, READ, bvecs, num_pages, len); in ceph_direct_read_write()
1412 put_bvecs(bvecs, num_pages, should_dirty); in ceph_direct_read_write()