/linux/fs/erofs/ |
H A D | fileio.c | 9 struct bio_vec bvecs[16]; member 62 iov_iter_bvec(&iter, ITER_DEST, rq->bvecs, rq->bio.bi_vcnt, in erofs_fileio_rq_submit() 76 bio_init(&rq->bio, NULL, rq->bvecs, ARRAY_SIZE(rq->bvecs), REQ_OP_READ); in erofs_fileio_rq_alloc()
|
H A D | fscache.c | 179 struct bio_vec bvecs[BIO_MAX_VECS]; member 198 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ); in erofs_fscache_bio_alloc() 211 iov_iter_bvec(&io->io.iter, ITER_DEST, io->bvecs, bio->bi_vcnt, in erofs_fscache_submit_bio()
|
/linux/fs/netfs/ |
H A D | iterator.c | 112 const struct bio_vec *bvecs = iter->bvec; in netfs_limit_bvec() local 123 len = bvecs[ix].bv_len; in netfs_limit_bvec() 132 len = min3(n, bvecs[ix].bv_len - skip, max_size); in netfs_limit_bvec()
|
/linux/fs/bcachefs/ |
H A D | data_update.c | 526 kfree(update->bvecs); in bch2_data_update_exit() 527 update->bvecs = NULL; in bch2_data_update_exit() 736 m->bvecs = kmalloc_array(nr_vecs, sizeof*(m->bvecs), GFP_KERNEL); in __bch2_data_update_bios_init() 737 if (!m->bvecs) in __bch2_data_update_bios_init() 740 bio_init(&m->rbio.bio, NULL, m->bvecs, nr_vecs, REQ_OP_READ); in __bch2_data_update_bios_init() 741 bio_init(&m->op.wbio.bio, NULL, m->bvecs, nr_vecs, 0); in __bch2_data_update_bios_init() 744 kfree(m->bvecs); in __bch2_data_update_bios_init() 745 m->bvecs = NULL; in __bch2_data_update_bios_init()
|
H A D | data_update.h | 50 struct bio_vec *bvecs; member
|
H A D | move.c | 140 kfree(io->write.bvecs); in move_free()
|
/linux/include/linux/ceph/ |
H A 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) \
|
H A D | osd_client.h | 501 struct bio_vec *bvecs, u32 num_bvecs, 516 struct bio_vec *bvecs, u32 num_bvecs,
|
/linux/fs/ceph/ |
H A D | file.c | 86 struct bio_vec *bvecs) in __iter_get_bvecs() argument 110 bvec_set_page(&bvecs[bvec_idx], pages[idx], len, start); in __iter_get_bvecs() 128 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument 156 *bvecs = bv; in iter_get_bvecs_alloc() 161 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument 166 if (bvecs[i].bv_page) { in put_bvecs() 168 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs() 169 put_page(bvecs[i].bv_page); in put_bvecs() 172 kvfree(bvecs); in put_bvecs() 1385 iov_iter_bvec(&i, ITER_DEST, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req() 1492 struct bio_vec *bvecs; ceph_direct_read_write() local [all...] |
/linux/include/linux/ |
H A D | bio-integrity.h | 71 struct bio_vec *bvecs, unsigned int nr_vecs);
|
/linux/drivers/target/ |
H A 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/drivers/block/ |
H A 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, u3 argument [all...] |