Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
H A Dbio.h181 struct bio_vec bv; in bio_segments()
251 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
256 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
282 static inline struct bio_vec *bio_first_bvec_all(struct bio *bio) in bio_first_bvec_all()
293 static inline struct bio_vec *bio_last_bvec_all(struct bio *bio) in bio_last_bvec_all()
324 struct bio_vec *bip_vec;
329 struct bio_vec bip_inline_vecs[];/* embedded bvec array */
437 extern void bio_init(struct bio *bio, struct bio_vec *table,
469 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
470 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
[all …]
H A Dblk_types.h266 struct bio_vec *bi_io_vec; /* the actual vec list */
278 struct bio_vec bi_inline_vecs[];
/OK3568_Linux_fs/kernel/block/
H A 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()
738 static inline bool page_is_mergeable(const struct bio_vec *bv, in page_is_mergeable()
766 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_try_merge_hw_seg()
795 struct bio_vec *bvec; in bio_add_hw_page()
[all …]
H A 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()
H A Dblk-merge.c22 struct bio_vec pb, nb; in bio_will_gap()
201 const struct bio_vec *bv, unsigned *nsegs, in bvec_split_segs()
253 struct bio_vec bv, bvprv, *bvprvp = NULL; in blk_bio_segment_split()
375 struct bio_vec bv; in blk_recalc_rq_segments()
421 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg()
455 static inline int __blk_bvec_map_sg(struct bio_vec bv, in __blk_bvec_map_sg()
465 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge()
466 struct bio_vec *bvprv, struct scatterlist **sg) in __blk_segment_map_sg_merge()
489 struct bio_vec bvec, bvprv = { NULL }; in __blk_bios_map_sg()
H A 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()
H A Dblk.h56 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable()
72 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
83 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
H A Dblk-crypto-fallback.c164 struct bio_vec bv; in blk_crypto_clone_bio()
216 struct bio_vec bv; in blk_crypto_split_bio_if_needed()
316 struct bio_vec *enc_bvec = &enc_bio->bi_io_vec[i]; in blk_crypto_fallback_encrypt_bio()
387 struct bio_vec bv; in blk_crypto_fallback_decrypt_bio()
H A 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()
H A Dt10-pi.c142 struct bio_vec iv; in t10_pi_type1_prepare()
194 struct bio_vec iv; in t10_pi_type1_complete()
/OK3568_Linux_fs/kernel/drivers/block/zram/
H A 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()
637 struct bio_vec bio_vec; in writeback_store() local
677 struct bio_vec bvec; in writeback_store()
730 bio_init(&bio, &bio_vec, 1); in writeback_store()
801 struct bio_vec bvec;
820 static int read_from_bdev_sync(struct zram *zram, struct bio_vec *bvec, in read_from_bdev_sync()
[all …]
/OK3568_Linux_fs/kernel/include/xen/
H A Dxen.h45 struct bio_vec;
48 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Djournal.h153 struct bio_vec discard_bv;
157 struct bio_vec bv[8];
H A Dutil.c234 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map()
271 struct bio_vec *bv; in bch_bio_alloc_pages()
/OK3568_Linux_fs/kernel/include/linux/ceph/
H A Dmessenger.h120 struct bio_vec bv; \
132 struct bio_vec *bvecs;
153 struct bio_vec bv; \
/OK3568_Linux_fs/kernel/drivers/target/
H A 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()
/OK3568_Linux_fs/kernel/fs/squashfs/
H A 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()
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dio-cmd-file.c72 NVMET_MAX_MPOOL_BVEC * sizeof(struct bio_vec), in nvmet_file_ns_enable()
95 static void nvmet_file_init_bvec(struct bio_vec *bv, struct scatterlist *sg) in nvmet_file_init_bvec()
256 req->f.bvec = kmalloc_array(nr_bvec, sizeof(struct bio_vec), in nvmet_file_execute_rw()
/OK3568_Linux_fs/kernel/fs/9p/
H A 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()
/OK3568_Linux_fs/kernel/drivers/md/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Ddm-io.rst42 int rw, struct bio_vec *bvec,
45 int rw, struct bio_vec *bvec,
/OK3568_Linux_fs/kernel/drivers/block/
H A Dloop.h73 struct bio_vec *bvec;
/OK3568_Linux_fs/kernel/drivers/nvdimm/
H A Dblk.c81 struct bio_vec bv; in nd_blk_rw_integrity()
171 struct bio_vec bvec; in nd_blk_submit_bio()

123456