Searched refs:bvecs (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/include/linux/ceph/ |
D | messenger.h | 132 struct bio_vec *bvecs; member 139 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \ 158 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \
|
D | osd_client.h | 445 struct bio_vec *bvecs, u32 num_bvecs, 461 struct bio_vec *bvecs, u32 num_bvecs,
|
/Linux-v5.10/fs/ceph/ |
D | file.c | 84 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() 1081 iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req() [all …]
|
/Linux-v5.10/net/ceph/ |
D | messenger.c | 872 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local 878 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init() 880 cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_cursor_init() 887 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next() 898 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local 899 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance() 902 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance() 904 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance() 912 page == bvec_iter_page(bvecs, cursor->bvec_iter))) in ceph_msg_data_bvecs_advance() 916 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance() [all …]
|
D | osd_client.c | 242 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.10/drivers/block/ |
D | rbd.c | 1552 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy() 2620 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request() 2621 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request() 2623 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request() 2690 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs() 2750 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs() 2775 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument 2778 .bvecs = bvecs, in rbd_img_fill_from_bvecs() 3043 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument 3046 .bvecs = bvecs, in is_zero_bvecs()
|