Home
last modified time | relevance | path

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

123456

/Linux-v6.1/include/linux/
Dbvec.h32 struct bio_vec { struct
50 struct bio_vec bv; argument
76 ((struct bio_vec) { \
95 ((struct bio_vec) { \
101 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance()
129 static inline void bvec_iter_advance_single(const struct bio_vec *bv, in bvec_iter_advance_single()
142 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
145 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
146 bvec_iter_advance_single((bio_vec), &(iter), (bvl).bv_len))
157 static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all) in bvec_init_iter_all()
[all …]
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()
254 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
280 struct bio_vec *bvec = bio_first_bvec_all(bio) + i; in bio_first_folio()
338 struct bio_vec *bip_vec;
339 struct bio_vec bip_inline_vecs[];/* embedded bvec array */
458 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.h302 struct bio_vec *bi_io_vec; /* the actual vec list */
311 struct bio_vec bi_inline_vecs[];
/Linux-v6.1/block/
Dbio.c158 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
178 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
198 struct bio_vec *bvl; in bvec_alloc()
241 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
532 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
587 struct bio_vec bv; in zero_fill_bio()
607 struct bio_vec bv; in bio_truncate()
854 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
898 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
922 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
[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-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()
222 static bool bvec_split_segs(struct queue_limits *lim, const struct bio_vec *bv, in bvec_split_segs()
273 struct bio_vec bv, bvprv, *bvprvp = NULL; in bio_split_rw()
394 struct bio_vec bv; in blk_recalc_rq_segments()
440 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg()
474 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg()
484 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge()
485 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge()
[all …]
Dblk.h80 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs,
82 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs);
85 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
108 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
119 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
Dblk-map.c48 struct bio_vec *bvec; in bio_copy_from_iter()
79 struct bio_vec *bvec; in bio_copy_to_iter()
442 struct bio_vec *bvec; in bio_copy_kern_endio_read()
530 struct bio_vec bv; in blk_rq_append_bio()
557 struct bio_vec *bvecs, *bvprvp = NULL; in blk_rq_map_user_bvec()
577 bvecs = (struct bio_vec *)iter->bvec; in blk_rq_map_user_bvec()
579 struct bio_vec *bv = &bvecs[i]; in blk_rq_map_user_bvec()
Dbio-integrity.c127 struct bio_vec *iv; in bio_integrity_add_page()
162 struct bio_vec bv; in bio_integrity_process()
417 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
462 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.1/include/xen/
Dxen.h45 struct bio_vec;
48 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/Linux-v6.1/drivers/block/zram/
Dzram_drv.c57 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec,
147 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()
182 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position()
605 static int read_from_bdev_async(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_async()
644 struct bio_vec bio_vec; in writeback_store() local
686 struct bio_vec bvec; in writeback_store()
739 bio_init(&bio, zram->bdev, &bio_vec, 1, in writeback_store()
809 struct bio_vec bvec;
828 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync()
[all …]
/Linux-v6.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-v6.1/include/linux/ceph/
Dmessenger.h138 struct bio_vec bv; \
150 struct bio_vec *bvecs;
171 struct bio_vec bv; \
360 struct bio_vec in_bvec; /* recvmsg (in_cursor) */
366 struct bio_vec out_bvec; /* sendpage (out_cursor, out_zero),
/Linux-v6.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-v6.1/drivers/xen/
Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/Linux-v6.1/fs/squashfs/
Dblock.c39 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in copy_bio_to_actor()
163 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_read_data()
/Linux-v6.1/drivers/nvme/target/
Dio-cmd-file.c63 NVMET_MAX_MPOOL_BVEC * sizeof(struct bio_vec), in nvmet_file_ns_enable()
86 static void nvmet_file_init_bvec(struct bio_vec *bv, struct scatterlist *sg) in nvmet_file_init_bvec()
247 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
/Linux-v6.1/drivers/target/
Dtarget_core_file.c249 struct bio_vec bvecs[];
321 struct bio_vec *bvec; in fd_do_rw()
326 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
441 struct bio_vec *bvec; in fd_execute_write_same()
464 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/Linux-v6.1/fs/cifs/
Dfscache.c146 struct bio_vec bvec[1]; in fscache_fallback_read_page()
174 struct bio_vec bvec[1]; in fscache_fallback_write_page()
/Linux-v6.1/drivers/md/
Ddm-io.c211 struct bio_vec bvec = bvec_iter_bvec((struct bio_vec *)dp->context_ptr, in bio_get_page()
226 bvec_iter_advance((struct bio_vec *)dp->context_ptr, in bio_next_page()
/Linux-v6.1/Documentation/admin-guide/device-mapper/
Ddm-io.rst42 int rw, struct bio_vec *bvec,
45 int rw, struct bio_vec *bvec,

123456