Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/target/
Dtarget_core_file.c249 struct bio_vec bvecs[]; member
280 aio_cmd = kmalloc(struct_size(aio_cmd, bvecs, sgl_nents), GFP_KERNEL); in fd_execute_rw_aio()
285 aio_cmd->bvecs[i].bv_page = sg_page(sg); in fd_execute_rw_aio()
286 aio_cmd->bvecs[i].bv_len = sg->length; in fd_execute_rw_aio()
287 aio_cmd->bvecs[i].bv_offset = sg->offset; in fd_execute_rw_aio()
292 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio()
/linux-6.1.9/net/ceph/
Dmessenger.c779 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local
785 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init()
792 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next()
803 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local
804 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance()
807 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
809 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance()
815 page == bvec_iter_page(bvecs, cursor->bvec_iter))) in ceph_msg_data_bvecs_advance()
818 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
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-6.1.9/fs/ceph/
Dfile.c84 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()
[all …]
/linux-6.1.9/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.h448 struct bio_vec *bvecs, u32 num_bvecs,
464 struct bio_vec *bvecs, u32 num_bvecs,
/linux-6.1.9/block/
Dblk-map.c557 struct bio_vec *bvecs, *bvprvp = NULL; in blk_rq_map_user_bvec() local
577 bvecs = (struct bio_vec *)iter->bvec; in blk_rq_map_user_bvec()
579 struct bio_vec *bv = &bvecs[i]; in blk_rq_map_user_bvec()
/linux-6.1.9/drivers/block/
Drbd.c1489 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy()
2557 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request()
2558 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request()
2560 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request()
2627 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs()
2687 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs()
2712 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument
2715 .bvecs = bvecs, in rbd_img_fill_from_bvecs()
2980 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument
2983 .bvecs = bvecs, in is_zero_bvecs()
/linux-6.1.9/Documentation/filesystems/
Dporting.rst888 For bvec based itererators bio_iov_iter_get_pages() now doesn't copy bvecs but