| /Linux-v5.4/include/linux/ |
| D | bvec.h | 18 struct bio_vec { struct 36 struct bio_vec bv; argument 62 ((struct bio_vec) { \ 81 ((struct bio_vec) { \ 87 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance() 97 const struct bio_vec *cur = bv + iter->bi_idx; in bvec_iter_advance() 113 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument 116 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \ 117 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len)) 128 static inline struct bio_vec *bvec_init_iter_all(struct bvec_iter_all *iter_all) in bvec_init_iter_all() [all …]
|
| D | bio.h | 177 struct bio_vec bv; in bio_segments() 247 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec() 252 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec() 279 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all() 290 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all() 321 struct bio_vec *bip_vec; 322 struct bio_vec bip_inline_vecs[0];/* embedded bvec array */ 429 extern void bio_init(struct bio *bio, struct bio_vec *table, 479 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *); 480 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int); [all …]
|
| D | blk_types.h | 192 struct bio_vec *bi_io_vec; /* the actual vec list */ 201 struct bio_vec bi_inline_vecs[0];
|
| D | uio.h | 42 const struct bio_vec *bvec; 220 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, const struct bio_vec *bvec,
|
| /Linux-v5.4/block/ |
| D | bio.c | 152 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) in bvec_free() 169 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc() 172 struct bio_vec *bvl; in bvec_alloc() 267 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init() 432 struct bio_vec *bvl = NULL; in bio_alloc_bioset() 441 nr_iovecs * sizeof(struct bio_vec), in bio_alloc_bioset() 526 struct bio_vec bv; in zero_fill_bio_iter() 630 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable() 653 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_pc_page() 685 struct bio_vec *bvec; in __bio_add_pc_page() [all …]
|
| D | bounce.c | 76 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() 291 struct bio_vec *to, from; in __blk_queue_bounce()
|
| D | blk-merge.c | 18 struct bio_vec pb, nb; in bio_will_gap() 194 const struct bio_vec *bv, unsigned *nsegs, in bvec_split_segs() 245 struct bio_vec bv, bvprv, *bvprvp = NULL; in blk_bio_segment_split() 361 struct bio_vec bv; in blk_recalc_rq_segments() 399 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg() 432 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg() 442 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge() 443 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge() 466 struct bio_vec uninitialized_var(bvec), bvprv = { NULL }; in __blk_bios_map_sg()
|
| D | blk.h | 75 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable() 91 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev() 102 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
|
| D | bio-integrity.c | 124 struct bio_vec *iv; in bio_integrity_add_page() 159 struct bio_vec bv; in bio_integrity_process() 419 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone() 465 sizeof(struct bio_vec) * BIP_INLINE_VECS, in bio_integrity_init()
|
| D | t10-pi.c | 141 struct bio_vec iv; in t10_pi_type1_prepare() 193 struct bio_vec iv; in t10_pi_type1_complete()
|
| /Linux-v5.4/include/xen/ |
| D | xen.h | 45 struct bio_vec; 48 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
|
| /Linux-v5.4/drivers/block/zram/ |
| D | zram_drv.c | 55 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, 145 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io() 150 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io() 180 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position() 589 static int read_from_bdev_async(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_async() 627 struct bio_vec bio_vec; in writeback_store() local 658 struct bio_vec bvec; in writeback_store() 711 bio_init(&bio, &bio_vec, 1); in writeback_store() 778 struct bio_vec bvec; 797 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync() [all …]
|
| /Linux-v5.4/drivers/md/bcache/ |
| D | journal.h | 152 struct bio_vec discard_bv; 156 struct bio_vec bv[8];
|
| D | util.c | 234 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map() 271 struct bio_vec *bv; in bch_bio_alloc_pages()
|
| /Linux-v5.4/include/linux/ceph/ |
| D | messenger.h | 120 struct bio_vec bv; \ 132 struct bio_vec *bvecs; 153 struct bio_vec bv; \
|
| /Linux-v5.4/drivers/xen/ |
| D | biomerge.c | 8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
|
| /Linux-v5.4/drivers/target/ |
| D | target_core_file.c | 271 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.4/fs/9p/ |
| D | vfs_addr.c | 42 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.4/drivers/nvme/target/ |
| D | io-cmd-file.c | 60 NVMET_MAX_MPOOL_BVEC * sizeof(struct bio_vec), in nvmet_file_ns_enable() 83 static void nvmet_file_init_bvec(struct bio_vec *bv, struct scatterlist *sg) in nvmet_file_init_bvec() 241 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
|
| /Linux-v5.4/drivers/block/ |
| D | loop.h | 73 struct bio_vec *bvec;
|
| /Linux-v5.4/Documentation/admin-guide/device-mapper/ |
| D | dm-io.rst | 42 int rw, struct bio_vec *bvec, 45 int rw, struct bio_vec *bvec,
|
| /Linux-v5.4/drivers/md/ |
| D | dm-io.c | 211 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-v5.4/fs/crypto/ |
| D | bio.c | 31 struct bio_vec *bv; in __fscrypt_decrypt_bio()
|
| /Linux-v5.4/drivers/nvdimm/ |
| D | blk.c | 81 struct bio_vec bv; in nd_blk_rw_integrity() 171 struct bio_vec bvec; in nd_blk_make_request()
|
| /Linux-v5.4/fs/cifs/ |
| D | misc.c | 851 struct bio_vec *bv = NULL; in setup_aio_ctx_iter() 860 if (max_pages * sizeof(struct bio_vec) <= CIFS_AIO_KMALLOC_LIMIT) in setup_aio_ctx_iter() 861 bv = kmalloc_array(max_pages, sizeof(struct bio_vec), in setup_aio_ctx_iter() 865 bv = vmalloc(array_size(max_pages, sizeof(struct bio_vec))); in setup_aio_ctx_iter()
|