Home
last modified time | relevance | path

Searched refs:bvecs (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/fs/ceph/
Dfile.c84 struct bio_vec *bvecs) in __iter_get_bvecs() argument
113 bvecs[bvec_idx] = bv; in __iter_get_bvecs()
131 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
159 *bvecs = bv; in iter_get_bvecs_alloc()
164 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
169 if (bvecs[i].bv_page) { in put_bvecs()
171 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
172 put_page(bvecs[i].bv_page); in put_bvecs()
175 kvfree(bvecs); in put_bvecs()
1079 iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
[all …]
/Linux-v5.15/net/ceph/
Dmessenger.c780 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local
786 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init()
788 cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_cursor_init()
795 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next()
806 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local
807 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance()
810 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
812 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance()
820 page == bvec_iter_page(bvecs, cursor->bvec_iter))) in ceph_msg_data_bvecs_advance()
824 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
[all …]
Dosd_client.c242 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_extent_osd_data_bvecs() argument
247 .bvecs = bvecs, in osd_req_op_extent_osd_data_bvecs()
306 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_cls_request_data_bvecs() argument
311 .bvecs = bvecs, in osd_req_op_cls_request_data_bvecs()
/Linux-v5.15/drivers/target/
Dtarget_core_file.c244 struct bio_vec bvecs[]; member
275 aio_cmd = kmalloc(struct_size(aio_cmd, bvecs, sgl_nents), GFP_KERNEL); in fd_execute_rw_aio()
280 aio_cmd->bvecs[i].bv_page = sg_page(sg); in fd_execute_rw_aio()
281 aio_cmd->bvecs[i].bv_len = sg->length; in fd_execute_rw_aio()
282 aio_cmd->bvecs[i].bv_offset = sg->offset; in fd_execute_rw_aio()
287 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio()
/Linux-v5.15/include/linux/ceph/
Dmessenger.h150 struct bio_vec *bvecs; member
157 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \
176 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \
Dosd_client.h445 struct bio_vec *bvecs, u32 num_bvecs,
461 struct bio_vec *bvecs, u32 num_bvecs,
/Linux-v5.15/drivers/block/
Drbd.c1490 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy()
2558 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request()
2559 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request()
2561 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request()
2628 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs()
2688 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs()
2713 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument
2716 .bvecs = bvecs, in rbd_img_fill_from_bvecs()
2981 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument
2984 .bvecs = bvecs, in is_zero_bvecs()
/Linux-v5.15/Documentation/filesystems/
Dporting.rst882 For bvec based itererators bio_iov_iter_get_pages() now doesn't copy bvecs but