Home
last modified time | relevance | path

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

123456

/Linux-v5.10/include/linux/
Dbvec.h31 struct bio_vec { struct
49 struct bio_vec bv; argument
75 ((struct bio_vec) { \
94 ((struct bio_vec) { \
100 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance()
130 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
133 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
134 (bvl).bv_len ? (void)bvec_iter_advance((bio_vec), &(iter), \
146 static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all) in bvec_init_iter_all()
154 static inline void bvec_advance(const struct bio_vec *bvec, in bvec_advance()
[all …]
Dbio.h183 struct bio_vec bv; in bio_segments()
253 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
258 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
285 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all()
296 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
327 struct bio_vec *bip_vec;
328 struct bio_vec bip_inline_vecs[];/* embedded bvec array */
436 extern void bio_init(struct bio *bio, struct bio_vec *table,
468 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
469 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
[all …]
Dblk_types.h256 struct bio_vec *bi_io_vec; /* the actual vec list */
265 struct bio_vec bi_inline_vecs[];
Duio.h41 const struct bio_vec *bvec;
219 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, const struct bio_vec *bvec,
/Linux-v5.10/block/
Dbio.c154 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) in bvec_free()
171 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc()
174 struct bio_vec *bvl; in bvec_alloc()
278 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init()
443 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
535 struct bio_vec bv; in zero_fill_bio_iter()
559 struct bio_vec bv; in bio_truncate()
737 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
765 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
794 struct bio_vec *bvec; in bio_add_hw_page()
[all …]
Dbounce.c76 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec()
135 struct bio_vec tovec, fromvec; in copy_to_high_bio_irq()
165 struct bio_vec *bvec, orig_vec; in bounce_end_io()
221 struct bio_vec bv; in bounce_clone_bio()
292 struct bio_vec *to, from; in __blk_queue_bounce()
Dblk-merge.c19 struct bio_vec pb, nb; in bio_will_gap()
198 const struct bio_vec *bv, unsigned *nsegs, in bvec_split_segs()
250 struct bio_vec bv, bvprv, *bvprvp = NULL; in blk_bio_segment_split()
370 struct bio_vec bv; in blk_recalc_rq_segments()
408 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg()
442 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg()
452 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge()
453 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge()
476 struct bio_vec bvec, bvprv = { NULL }; in __blk_bios_map_sg()
Dbio-integrity.c133 struct bio_vec *iv; in bio_integrity_add_page()
168 struct bio_vec bv; in bio_integrity_process()
427 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
473 sizeof(struct bio_vec) * BIP_INLINE_VECS, in bio_integrity_init()
Dblk.h60 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
76 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
87 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
Dblk-crypto-fallback.c164 struct bio_vec bv; in blk_crypto_clone_bio()
214 struct bio_vec bv; in blk_crypto_split_bio_if_needed()
314 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
385 struct bio_vec bv; in blk_crypto_fallback_decrypt_bio()
Dblk-map.c48 struct bio_vec *bvec; in bio_copy_from_iter()
79 struct bio_vec *bvec; in bio_copy_to_iter()
441 struct bio_vec *bvec; in bio_copy_kern_endio_read()
528 struct bio_vec bv; in blk_rq_append_bio()
Dt10-pi.c142 struct bio_vec iv; in t10_pi_type1_prepare()
194 struct bio_vec iv; in t10_pi_type1_complete()
/Linux-v5.10/include/xen/
Dxen.h45 struct bio_vec;
48 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/Linux-v5.10/drivers/block/zram/
Dzram_drv.c59 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec,
149 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
154 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
184 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position()
595 static int read_from_bdev_async(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_async()
633 struct bio_vec bio_vec; in writeback_store() local
664 struct bio_vec bvec; in writeback_store()
717 bio_init(&bio, &bio_vec, 1); in writeback_store()
783 struct bio_vec bvec;
802 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync()
[all …]
/Linux-v5.10/drivers/md/bcache/
Djournal.h152 struct bio_vec discard_bv;
156 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-v5.10/include/linux/ceph/
Dmessenger.h120 struct bio_vec bv; \
132 struct bio_vec *bvecs;
153 struct bio_vec bv; \
/Linux-v5.10/drivers/xen/
Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/Linux-v5.10/drivers/target/
Dtarget_core_file.c271 struct bio_vec *bvec; in fd_execute_rw_aio()
279 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_rw_aio()
324 struct bio_vec *bvec; in fd_do_rw()
329 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
444 struct bio_vec *bvec; in fd_execute_write_same()
468 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/Linux-v5.10/fs/squashfs/
Dblock.c39 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in copy_bio_to_actor()
165 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_read_data()
/Linux-v5.10/fs/9p/
Dvfs_addr.c42 struct bio_vec bvec = {.bv_page = page, .bv_len = PAGE_SIZE}; in v9fs_fid_readpage()
154 struct bio_vec bvec; in v9fs_vfs_writepage_locked()
/Linux-v5.10/drivers/nvme/target/
Dio-cmd-file.c69 NVMET_MAX_MPOOL_BVEC * sizeof(struct bio_vec), in nvmet_file_ns_enable()
92 static void nvmet_file_init_bvec(struct bio_vec *bv, struct scatterlist *sg) in nvmet_file_init_bvec()
253 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
/Linux-v5.10/drivers/block/
Dloop.h73 struct bio_vec *bvec;
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Ddm-io.rst42 int rw, struct bio_vec *bvec,
45 int rw, struct bio_vec *bvec,
/Linux-v5.10/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()

123456