Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ceph/
Dfile.c79 struct bio_vec *bvecs) in __iter_get_bvecs() argument
108 bvecs[bvec_idx] = bv; in __iter_get_bvecs()
126 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
154 *bvecs = bv; in iter_get_bvecs_alloc()
159 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
164 if (bvecs[i].bv_page) { in put_bvecs()
166 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
167 put_page(bvecs[i].bv_page); in put_bvecs()
170 kvfree(bvecs); in put_bvecs()
824 iov_iter_bvec(&i, ITER_BVEC, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
[all …]
/Linux-v4.19/include/linux/ceph/
Dmessenger.h148 struct bio_vec *bvecs; member
155 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \
174 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \
Dosd_client.h424 struct bio_vec *bvecs, u32 num_bvecs,
440 struct bio_vec *bvecs, u32 num_bvecs,
/Linux-v4.19/net/ceph/
Dmessenger.c899 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local
905 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init()
907 cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_cursor_init()
914 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next()
925 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local
928 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
930 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance()
941 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
943 cursor->resid == bvec_iter_len(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance()
Dosd_client.c244 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_extent_osd_data_bvecs() argument
249 .bvecs = bvecs, in osd_req_op_extent_osd_data_bvecs()
308 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_cls_request_data_bvecs() argument
313 .bvecs = bvecs, in osd_req_op_cls_request_data_bvecs()
/Linux-v4.19/drivers/block/
Drbd.c1551 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy()
2071 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request()
2072 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request()
2074 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request()
2141 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs()
2201 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs()
2226 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument
2229 .bvecs = bvecs, in rbd_img_fill_from_bvecs()
2344 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument
2347 .bvecs = bvecs, in is_zero_bvecs()