Home
last modified time | relevance | path

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

12345

/Linux-v4.19/include/linux/
Dbvec.h30 struct bio_vec { struct
66 ((struct bio_vec) { \
72 static inline bool bvec_iter_advance(const struct bio_vec *bv, in bvec_iter_advance()
98 static inline bool bvec_iter_rewind(const struct bio_vec *bv, in bvec_iter_rewind()
122 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
125 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
126 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
Dbio.h210 struct bio_vec bv; in bio_segments()
280 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
285 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
318 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all()
329 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
358 struct bio_vec *bip_vec;
359 struct bio_vec bip_inline_vecs[0];/* embedded bvec array */
467 extern void bio_init(struct bio *bio, struct bio_vec *table,
527 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
528 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
[all …]
Dblk_types.h201 struct bio_vec *bi_io_vec; /* the actual vec list */
210 struct bio_vec bi_inline_vecs[0];
Duio.h38 const struct bio_vec *bvec;
188 void iov_iter_bvec(struct iov_iter *i, int direction, const struct bio_vec *bvec,
/Linux-v4.19/block/
Dbio.c164 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) in bvec_free()
181 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc()
184 struct bio_vec *bvl; in bvec_alloc()
279 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init()
444 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
453 nr_iovecs * sizeof(struct bio_vec), in bio_alloc_bioset()
538 struct bio_vec bv; in zero_fill_bio_iter()
668 struct bio_vec *bvec; in bio_add_pc_page()
685 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_pc_page()
769 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_try_merge_page()
[all …]
Dbounce.c65 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec()
116 struct bio_vec tovec, fromvec; in copy_to_high_bio_irq()
146 struct bio_vec *bvec, orig_vec; in bounce_end_io()
202 struct bio_vec bv; in bounce_clone_bio()
270 struct bio_vec *to, from; in __blk_queue_bounce()
Dbio-integrity.c61 sizeof(struct bio_vec) * nr_vecs, gfp_mask); in bio_integrity_alloc()
139 struct bio_vec *iv; in bio_integrity_add_page()
174 struct bio_vec bv; in bio_integrity_process()
435 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
482 sizeof(struct bio_vec) * BIP_INLINE_VECS, in bio_integrity_init()
Dblk-merge.c105 struct bio_vec bv, bvprv, *bvprvp = NULL; in blk_bio_segment_split()
235 struct bio_vec bv, bvprv = { NULL }; in __blk_recalc_rq_segments()
337 struct bio_vec end_bv = { NULL }, nxt_bv; in blk_phys_contig_segment()
366 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg()
367 struct scatterlist *sglist, struct bio_vec *bvprv, in __blk_segment_map_sg()
408 static inline int __blk_bvec_map_sg(struct request_queue *q, struct bio_vec bv, in __blk_bvec_map_sg()
420 struct bio_vec bvec, bvprv = { NULL }; in __blk_bios_map_sg()
Dt10-pi.c213 struct bio_vec iv; in t10_pi_prepare()
272 struct bio_vec iv; in t10_pi_complete()
/Linux-v4.19/drivers/xen/
Dbiomerge.c7 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
8 const struct bio_vec *vec2) in xen_biovec_phys_mergeable()
/Linux-v4.19/drivers/md/bcache/
Djournal.h150 struct bio_vec discard_bv;
154 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-v4.19/drivers/block/zram/
Dzram_drv.c137 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
142 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
172 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position()
484 static int read_from_bdev_async(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_async()
522 struct bio_vec bvec; in zram_sync_read()
536 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync()
553 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync()
561 static int read_from_bdev(struct zram *zram, struct bio_vec *bvec, in read_from_bdev()
570 static int write_to_bdev(struct zram *zram, struct bio_vec *bvec, in write_to_bdev()
623 static int write_to_bdev(struct zram *zram, struct bio_vec *bvec, in write_to_bdev()
[all …]
/Linux-v4.19/arch/arm64/include/asm/
Dio.h208 struct bio_vec;
209 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
210 const struct bio_vec *vec2);
/Linux-v4.19/arch/x86/include/asm/
Dio.h374 struct bio_vec;
376 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
377 const struct bio_vec *vec2);
/Linux-v4.19/include/linux/ceph/
Dmessenger.h136 struct bio_vec bv; \
148 struct bio_vec *bvecs;
169 struct bio_vec bv; \
/Linux-v4.19/drivers/target/
Dtarget_core_file.c284 struct bio_vec *bvec; in fd_execute_rw_aio()
292 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_rw_aio()
337 struct bio_vec *bvec; in fd_do_rw()
342 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
457 struct bio_vec *bvec; in fd_execute_write_same()
481 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/Linux-v4.19/drivers/nvme/target/
Dio-cmd-file.c55 NVMET_MAX_MPOOL_BVEC * sizeof(struct bio_vec), in nvmet_file_ns_enable()
78 static void nvmet_file_init_bvec(struct bio_vec *bv, struct sg_page_iter *iter) in nvmet_file_init_bvec()
155 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
/Linux-v4.19/fs/9p/
Dvfs_addr.c56 struct bio_vec bvec = {.bv_page = page, .bv_len = PAGE_SIZE}; in v9fs_fid_readpage()
167 struct bio_vec bvec; in v9fs_vfs_writepage_locked()
/Linux-v4.19/arch/arm/include/asm/
Dio.h469 struct bio_vec;
470 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
471 const struct bio_vec *vec2);
/Linux-v4.19/drivers/block/
Dloop.h74 struct bio_vec *bvec;
/Linux-v4.19/Documentation/device-mapper/
Ddm-io.txt41 int rw, struct bio_vec *bvec,
44 int rw, struct bio_vec *bvec,
/Linux-v4.19/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-v4.19/drivers/nvdimm/
Dblk.c89 struct bio_vec bv; in nd_blk_rw_integrity()
179 struct bio_vec bvec; in nd_blk_make_request()
/Linux-v4.19/fs/cifs/
Dmisc.c787 struct bio_vec *bv = NULL; in setup_aio_ctx_iter()
796 if (max_pages * sizeof(struct bio_vec) <= CIFS_AIO_KMALLOC_LIMIT) in setup_aio_ctx_iter()
797 bv = kmalloc_array(max_pages, sizeof(struct bio_vec), in setup_aio_ctx_iter()
801 bv = vmalloc(array_size(max_pages, sizeof(struct bio_vec))); in setup_aio_ctx_iter()

12345