Home
last modified time | relevance | path

Searched refs:bio_vec (Results 1 – 25 of 163) sorted by relevance

1234567

/linux-6.15/include/linux/
H A Dbvec.h31 struct bio_vec { struct
89 struct bio_vec bv;
115 ((struct bio_vec) { \
134 ((struct bio_vec) { \
181 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
184 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
187 #define for_each_mp_bvec(bvl, bio_vec, iter, start) \ argument
190 ((bvl = mp_bvec_iter_bvec((bio_vec), (iter))), 1); \
213 struct bio_vec *bv = &iter_all->bv; in bvec_advance()
272 static inline void memzero_bvec(struct bio_vec *bvec) in memzero_bvec()
[all …]
H A Dblk-integrity.h89 static inline struct bio_vec rq_integrity_vec(struct request *rq) in rq_integrity_vec()
146 static inline struct bio_vec rq_integrity_vec(struct request *rq) in rq_integrity_vec()
149 return (struct bio_vec){ }; in rq_integrity_vec()
H A Dbio-integrity.h26 struct bio_vec *bip_vec;
71 struct bio_vec *bvecs, unsigned int nr_vecs);
H A Dbio.h175 struct bio_vec bv; in bio_segments()
243 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all()
259 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
285 struct bio_vec *bvec = bio_first_bvec_all(bio) + i; in bio_first_folio()
407 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
/linux-6.15/block/
H A Dbio-integrity.c14 struct bio_vec bvecs[];
31 struct bio_vec *bvecs, unsigned int nr_vecs) in bio_integrity_init()
69 static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs) in bio_integrity_unpin_bvec()
80 struct bio_vec *orig_bvecs = &bip->bip_vec[1]; in bio_integrity_uncopy_user()
81 struct bio_vec *bounce_bvec = &bip->bip_vec[0]; in bio_integrity_uncopy_user()
129 struct bio_vec *bv = &bip->bip_vec[bip->bip_vcnt - 1]; in bio_integrity_add_page()
158 static int bio_integrity_copy_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_copy_user()
217 static int bio_integrity_init_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_init_user()
232 static unsigned int bvec_from_pages(struct bio_vec *bvec, struct page **pages, in bvec_from_pages()
267 struct bio_vec stack_vec[UIO_FASTIOV], *bvec = stack_vec; in bio_integrity_map_user()
H A Dbounce.c76 struct bio_vec tovec, fromvec; in copy_to_high_bio_irq()
103 struct bio_vec *bvec, orig_vec; in bounce_end_io()
142 struct bio_vec bv; in bounce_clone_bio()
205 struct bio_vec *to, from; in __blk_queue_bounce()
H A Dbio.c202 struct bio_vec *bvl; in bvec_alloc()
567 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
622 struct bio_vec bv; in zero_fill_bio_iter()
642 struct bio_vec bv; in bio_truncate()
1085 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_bvec_set()
1159 struct bio_vec *bv = bio->bi_io_vec + bio->bi_vcnt; in __bio_iov_iter_get_pages()
1338 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1339 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1374 struct bio_vec *bvec; in bio_free_pages()
1697 bs->back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); in bioset_init()
[all …]
H A Dt10-pi.c136 struct bio_vec iv; in t10_pi_type1_prepare()
188 struct bio_vec iv; in t10_pi_type1_complete()
310 struct bio_vec iv; in ext_pi_type1_prepare()
351 struct bio_vec iv; in ext_pi_type1_complete()
381 struct bio_vec bv; in blk_integrity_generate()
413 struct bio_vec bv; in blk_integrity_verify_iter()
H A Dblk.h101 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs,
103 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs);
105 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv,
110 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
133 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
144 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
H A Dblk-merge.c21 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
26 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
55 struct bio_vec pb, nb; in bio_will_gap()
270 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, in bvec_split_segs()
318 struct bio_vec bv, bvprv, *bvprvp = NULL; in bio_split_rw_at()
448 struct bio_vec bv; in blk_recalc_rq_segments()
485 struct bio_vec bv; in blk_map_iter_next()
511 struct bio_vec next; in blk_map_iter_next()
H A Dblk-crypto-fallback.c164 struct bio_vec bv; in blk_crypto_fallback_clone_bio()
216 struct bio_vec bv; in blk_crypto_fallback_split_bio_if_needed()
318 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
389 struct bio_vec bv; in blk_crypto_fallback_decrypt_bio()
H A Dblk-integrity.c29 struct bio_vec iv, ivprv = { NULL }; in blk_rq_count_integrity_sg()
69 struct bio_vec iv, ivprv = { NULL }; in blk_rq_map_integrity_sg()
/linux-6.15/include/xen/
H A Dxen.h54 struct bio_vec;
57 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/linux-6.15/drivers/md/bcache/
H A Djournal.h153 struct bio_vec discard_bv;
157 struct bio_vec bv[8];
H A Dutil.c234 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map()
271 struct bio_vec *bv; in bch_bio_alloc_pages()
/linux-6.15/include/linux/ceph/
H A Dmessenger.h164 struct bio_vec bv; \
176 struct bio_vec *bvecs;
197 struct bio_vec bv; \
397 struct bio_vec in_bvec; /* recvmsg (in_cursor) */
403 struct bio_vec out_bvec; /* sendpage (out_cursor, out_zero),
/linux-6.15/drivers/block/
H A Dn64cart.c62 static bool n64cart_do_bvec(struct device *dev, struct bio_vec *bv, u32 pos) in n64cart_do_bvec()
89 struct bio_vec bvec; in n64cart_submit_bio()
/linux-6.15/fs/squashfs/
H A Dblock.c39 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in copy_bio_to_actor()
88 struct bio_vec *bv; in squashfs_bio_read_cached()
286 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_read_data()
/linux-6.15/drivers/xen/
H A Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/linux-6.15/io_uring/
H A Drsrc.c934 struct bio_vec bv, *bvec; in io_buffer_register_bvec()
1044 const struct bio_vec *bvec = iter->bvec; in io_import_kbuf()
1059 const struct bio_vec *bvec; in io_import_fixed()
1328 struct bio_vec *res_bvec = vec->bvec; in io_vec_fill_bvec()
1336 struct bio_vec *src_bvec; in io_vec_fill_bvec()
1387 const struct bio_vec *src_bvec = imu->bvec; in io_vec_fill_kern_bvec()
1388 struct bio_vec *res_bvec = vec->bvec; in io_vec_fill_kern_bvec()
1399 struct bio_vec bv; in io_vec_fill_kern_bvec()
1415 const struct bio_vec *bvec = imu->bvec; in iov_kern_bvec_size()
1487 if (sizeof(struct bio_vec) > sizeof(struct iovec)) { in io_import_reg_vec()
[all …]
/linux-6.15/fs/netfs/
H A Diterator.c40 struct bio_vec *bv = NULL; in netfs_extract_user_iter()
112 const struct bio_vec *bvecs = iter->bvec; in netfs_limit_bvec()
/linux-6.15/fs/bcachefs/
H A Ddata_update.h50 struct bio_vec *bvecs;
/linux-6.15/drivers/target/
H A Dtarget_core_file.c248 struct bio_vec bvecs[];
318 struct bio_vec *bvec; in fd_do_rw()
323 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
435 struct bio_vec *bvec; in fd_execute_write_same()
458 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/linux-6.15/fs/erofs/
H A Dfileio.c9 struct bio_vec bvecs[16];
97 struct bio_vec bv; in erofs_fileio_scan_folio()
/linux-6.15/drivers/md/
H A Ddm-io.c219 struct bio_vec bvec = bvec_iter_bvec((struct bio_vec *)dp->context_ptr, in bio_get_page()
234 bvec_iter_advance((struct bio_vec *)dp->context_ptr, in bio_next_page()

1234567