Home
last modified time | relevance | path

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

123456

/Linux-v6.6/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 …]
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()
345 struct bio_vec *bip_vec;
346 struct bio_vec bip_inline_vecs[];/* embedded bvec array */
467 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
Dblk-integrity.h111 static inline struct bio_vec *rq_integrity_vec(struct request *rq) in rq_integrity_vec()
179 static inline struct bio_vec *rq_integrity_vec(struct request *rq) in rq_integrity_vec()
Dblk_types.h314 struct bio_vec *bi_io_vec; /* the actual vec list */
323 struct bio_vec bi_inline_vecs[];
/Linux-v6.6/block/
Dbio.c163 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
183 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
203 struct bio_vec *bvl; in bvec_alloc()
246 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
556 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
611 struct bio_vec bv; in zero_fill_bio_iter()
631 struct bio_vec bv; in bio_truncate()
906 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page()
937 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, in bvec_try_merge_hw_page()
976 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_hw_page()
[all …]
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()
206 struct bio_vec *to, from; in __blk_queue_bounce()
Dblk.h74 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs,
76 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs);
78 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv,
83 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
106 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
117 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
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()
232 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, in bvec_split_segs()
282 struct bio_vec bv, bvprv, *bvprvp = NULL; in bio_split_rw()
417 struct bio_vec bv; in blk_recalc_rq_segments()
463 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg()
497 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg()
507 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge()
508 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge()
[all …]
Dblk-map.c50 struct bio_vec *bvec; in bio_copy_from_iter()
81 struct bio_vec *bvec; in bio_copy_to_iter()
445 struct bio_vec *bvec; in bio_copy_kern_endio_read()
533 struct bio_vec bv; in blk_rq_append_bio()
560 struct bio_vec *bvecs, *bvprvp = NULL; in blk_rq_map_user_bvec()
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()
Dbio-integrity.c134 struct bio_vec *bv = &bip->bip_vec[bip->bip_vcnt - 1]; in bio_integrity_add_page()
175 struct bio_vec bv; in bio_integrity_process()
413 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
459 sizeof(struct bio_vec) * BIO_INLINE_VECS, in bio_integrity_init()
Dt10-pi.c144 struct bio_vec iv; in t10_pi_type1_prepare()
194 struct bio_vec iv; in t10_pi_type1_complete()
383 struct bio_vec iv; in ext_pi_type1_prepare()
422 struct bio_vec iv; in ext_pi_type1_complete()
Dblk-crypto-fallback.c164 struct bio_vec bv; in blk_crypto_fallback_clone_bio()
215 struct bio_vec bv; in blk_crypto_fallback_split_bio_if_needed()
317 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
388 struct bio_vec bv; in blk_crypto_fallback_decrypt_bio()
/Linux-v6.6/include/xen/
Dxen.h54 struct bio_vec;
57 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/xen/
Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/Linux-v6.6/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-v6.6/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()
/Linux-v6.6/drivers/block/zram/
Dzram_drv.c146 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
152 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
605 struct bio_vec bio_vec; in writeback_store() local
700 bio_init(&bio, zram->bdev, &bio_vec, 1, in writeback_store()
779 struct bio_vec bv; in zram_sync_read()
1389 static int zram_bvec_read_partial(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read_partial()
1404 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read()
1540 static int zram_bvec_write_partial(struct zram *zram, struct bio_vec *bvec, in zram_bvec_write_partial()
1558 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, in zram_bvec_write()
1880 struct bio_vec bv = bio_iter_iovec(bio, iter); in zram_bio_read()
[all …]
/Linux-v6.6/fs/netfs/
Diterator.c40 struct bio_vec *bv = NULL; in netfs_extract_user_iter()
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Ddm-io.rst42 int rw, struct bio_vec *bvec,
45 int rw, struct bio_vec *bvec,
/Linux-v6.6/mm/
Dpage_io.c238 struct bio_vec bvec[SWAP_CLUSTER_MAX];
332 struct bio_vec bv; in swap_writepage_bdev_sync()
463 struct bio_vec bv; in swap_readpage_bdev_sync()

123456