/Linux-v6.6/net/ceph/ |
D | messenger.c | 784 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local 790 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init() 797 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next() 808 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local 809 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance() 812 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance() 814 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() 823 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
|
D | osd_client.c | 249 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_extent_osd_data_bvecs() argument 254 .bvecs = bvecs, in osd_req_op_extent_osd_data_bvecs() 329 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_cls_request_data_bvecs() argument 334 .bvecs = bvecs, in osd_req_op_cls_request_data_bvecs()
|
/Linux-v6.6/fs/ceph/ |
D | file.c | 84 struct bio_vec *bvecs) in __iter_get_bvecs() argument 108 bvec_set_page(&bvecs[bvec_idx], pages[idx], len, start); 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() 1287 iov_iter_bvec(&i, ITER_DEST, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req() [all …]
|
/Linux-v6.6/include/linux/ceph/ |
D | messenger.h | 176 struct bio_vec *bvecs; member 183 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \ 202 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \
|
D | osd_client.h | 505 struct bio_vec *bvecs, u32 num_bvecs, 523 struct bio_vec *bvecs, u32 num_bvecs,
|
/Linux-v6.6/drivers/target/ |
D | target_core_file.c | 248 struct bio_vec bvecs[]; member 279 aio_cmd = kmalloc(struct_size(aio_cmd, bvecs, sgl_nents), GFP_KERNEL); in fd_execute_rw_aio() 284 bvec_set_page(&aio_cmd->bvecs[i], sg_page(sg), sg->length, in fd_execute_rw_aio() 289 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio()
|
/Linux-v6.6/block/ |
D | blk-map.c | 560 struct bio_vec *bvecs, *bvprvp = NULL; in blk_rq_map_user_bvec() local 580 bvecs = (struct bio_vec *)iter->bvec; in blk_rq_map_user_bvec() 582 struct bio_vec *bv = &bvecs[i]; in blk_rq_map_user_bvec()
|
/Linux-v6.6/drivers/block/ |
D | rbd.c | 1509 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy() 2575 obj_req->bvec_pos.bvecs = kmalloc_array(obj_req->bvec_count, in rbd_img_fill_request() 2576 sizeof(*obj_req->bvec_pos.bvecs), in rbd_img_fill_request() 2578 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request() 2645 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs() 2705 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs() 2730 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument 2733 .bvecs = bvecs, in rbd_img_fill_from_bvecs() 2998 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument 3001 .bvecs = bvecs, in is_zero_bvecs()
|
/Linux-v6.6/fs/smb/client/ |
D | file.c | 3336 const struct bio_vec *bvecs = iter->bvec; in cifs_limit_bvec_subset() local 3345 len = bvecs[ix].bv_len; in cifs_limit_bvec_subset() 3354 len = min3(n, bvecs[ix].bv_len - skip, max_size); in cifs_limit_bvec_subset()
|
/Linux-v6.6/Documentation/filesystems/ |
D | porting.rst | 883 For bvec based itererators bio_iov_iter_get_pages() now doesn't copy bvecs but
|