Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/include/linux/
Dbvec.h31 struct bio_vec { struct
44 static inline void bvec_set_page(struct bio_vec *bv, struct page *page, in bvec_set_page() argument
59 static inline void bvec_set_folio(struct bio_vec *bv, struct folio *folio, in bvec_set_folio()
71 static inline void bvec_set_virt(struct bio_vec *bv, void *vaddr, in bvec_set_virt()
89 struct bio_vec bv;
115 ((struct bio_vec) { \
134 ((struct bio_vec) { \
140 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance()
168 static inline void bvec_iter_advance_single(const struct bio_vec *bv, in bvec_iter_advance_single()
181 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
[all …]
Dblk-integrity.h89 static inline struct bio_vec rq_integrity_vec(struct request *rq) in rq_integrity_vec()
147 static inline struct bio_vec rq_integrity_vec(struct request *rq) in rq_integrity_vec()
150 return (struct bio_vec){ }; in rq_integrity_vec()
Dbio-integrity.h29 struct bio_vec *bip_vec;
30 struct bio_vec bip_inline_vecs[];/* embedded bvec array */
Dbio.h177 struct bio_vec bv; in bio_segments()
245 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all()
261 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
287 struct bio_vec *bvec = bio_first_bvec_all(bio) + i; in bio_first_folio()
409 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
Dblk_types.h268 struct bio_vec *bi_io_vec; /* the actual vec list */
277 struct bio_vec bi_inline_vecs[];
/linux-6.12.1/block/
Dbio.c162 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
182 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
202 struct bio_vec *bvl; in bvec_alloc()
245 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
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()
920 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page()
952 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, in bvec_try_merge_hw_page()
994 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
[all …]
Dbio-integrity.c107 static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs, in bio_integrity_unpin_bvec()
122 struct bio_vec *copy = &bip->bip_vec[1]; in bio_integrity_uncopy_user()
171 struct bio_vec *bv = &bip->bip_vec[bip->bip_vcnt - 1]; in bio_integrity_add_page()
200 static int bio_integrity_copy_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_copy_user()
260 static int bio_integrity_init_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_init_user()
276 static unsigned int bvec_from_pages(struct bio_vec *bvec, struct page **pages, in bvec_from_pages()
312 struct bio_vec stack_vec[UIO_FASTIOV], *bvec = stack_vec; in bio_integrity_map_user()
607 sizeof(struct bio_vec) * BIO_INLINE_VECS, in bio_integrity_init()
Dbounce.c78 struct bio_vec tovec, fromvec; in copy_to_high_bio_irq()
105 struct bio_vec *bvec, orig_vec; in bounce_end_io()
144 struct bio_vec bv; in bounce_clone_bio()
207 struct bio_vec *to, from; in __blk_queue_bounce()
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()
274 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, in bvec_split_segs()
314 struct bio_vec bv, bvprv, *bvprvp = NULL; in bio_split_rw_at()
426 struct bio_vec bv; in blk_recalc_rq_segments()
472 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg()
506 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg()
516 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge()
517 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge()
[all …]
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()
Dblk.h90 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs,
92 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs);
94 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv,
99 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
122 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
133 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
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()
Dblk-map.c50 struct bio_vec *bvec; in bio_copy_from_iter()
81 struct bio_vec *bvec; in bio_copy_to_iter()
452 struct bio_vec *bvec; in bio_copy_kern_endio_read()
540 struct bio_vec bv; in blk_rq_append_bio()
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.12.1/include/xen/
Dxen.h54 struct bio_vec;
57 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/linux-6.12.1/drivers/md/bcache/
Djournal.h153 struct bio_vec discard_bv;
157 struct bio_vec bv[8];
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.12.1/include/linux/ceph/
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.12.1/drivers/block/
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.12.1/fs/squashfs/
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.12.1/drivers/xen/
Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/linux-6.12.1/fs/netfs/
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.12.1/fs/erofs/
Dfileio.c9 struct bio_vec bvecs[BIO_MAX_VECS];
92 struct bio_vec bv; in erofs_fileio_scan_folio()
/linux-6.12.1/drivers/target/
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.12.1/drivers/md/
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