Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/ceph/
Dmessenger.h132 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) \
Dosd_client.h440 struct bio_vec *bvecs, u32 num_bvecs,
456 struct bio_vec *bvecs, u32 num_bvecs,
/Linux-v5.4/fs/ceph/
Dfile.c82 struct bio_vec *bvecs) in __iter_get_bvecs() argument
111 bvecs[bvec_idx] = bv; in __iter_get_bvecs()
129 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
157 *bvecs = bv; in iter_get_bvecs_alloc()
162 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
167 if (bvecs[i].bv_page) { in put_bvecs()
169 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
170 put_page(bvecs[i].bv_page); in put_bvecs()
173 kvfree(bvecs); in put_bvecs()
840 iov_iter_bvec(&i, READ, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
[all …]
/Linux-v5.4/net/ceph/
Dmessenger.c879 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local
885 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init()
887 cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_cursor_init()
894 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next()
905 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local
906 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance()
909 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
911 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance()
919 page == bvec_iter_page(bvecs, cursor->bvec_iter))) in ceph_msg_data_bvecs_advance()
923 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.4/drivers/block/
Drbd.c1646 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy()
2713 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request()
2714 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request()
2716 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request()
2783 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs()
2843 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs()
2868 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument
2871 .bvecs = bvecs, in rbd_img_fill_from_bvecs()
3131 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument
3134 .bvecs = bvecs, in is_zero_bvecs()