| /linux/include/linux/ |
| H A D | bvec.h | 28 struct bio_vec { struct 41 static inline void bvec_set_page(struct bio_vec *bv, struct page *page, in bvec_set_page() argument 56 static inline void bvec_set_folio(struct bio_vec *bv, struct folio *folio, in bvec_set_folio() 71 static inline void bvec_set_virt(struct bio_vec *bv, void *vaddr, in bvec_set_virt() 87 static inline struct folio *bvec_folio(const struct bio_vec *bv) in bvec_folio() 117 struct bio_vec bv; 122 static __always_inline const struct bio_vec * 123 __bvec_iter_bvec(const struct bio_vec *bvecs, const struct bvec_iter iter) in __bvec_iter_bvec() 130 mp_bvec_iter_page(const struct bio_vec *bvecs, const struct bvec_iter iter) in mp_bvec_iter_page() 136 mp_bvec_iter_len(const struct bio_vec *bvecs, const struct bvec_iter iter) in mp_bvec_iter_len() [all …]
|
| H A D | blk_types.h | 236 struct bio_vec *bi_io_vec; 293 static inline struct bio_vec *bio_inline_vecs(struct bio *bio) in bio_inline_vecs() 295 return (struct bio_vec *)(bio + 1); in bio_inline_vecs()
|
| H A D | bio-integrity.h | 31 struct bio_vec *bip_vec; 76 struct bio_vec *bvecs, unsigned int nr_vecs);
|
| H A D | swap_ops.h | 12 struct bio_vec bvecs[SWAP_CLUSTER_MAX];
|
| H A D | uio.h | 70 const struct bio_vec *bvec; 295 void iov_iter_bvec(struct iov_iter *i, unsigned int direction, const struct bio_vec *bvec, 399 ssize_t iov_iter_extract_bvecs(struct iov_iter *iter, struct bio_vec *bv,
|
| H A D | bio.h | 190 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() 279 struct bio_vec *bvec = bio_first_bvec_all(bio) + i; in bio_first_folio() 472 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
|
| /linux/block/ |
| H A D | bio-integrity.c | 15 struct bio_vec bvecs[]; 95 struct bio_vec *bv = &bip->bip_vec[0]; in bio_integrity_free_buf() 133 struct bio_vec *bvecs, unsigned int nr_vecs) in bio_integrity_init() 171 static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs) in bio_integrity_unpin_bvec() 182 struct bio_vec *orig_bvecs = &bip->bip_vec[1]; in bio_integrity_uncopy_user() 183 struct bio_vec *bounce_bvec = &bip->bip_vec[0]; in bio_integrity_uncopy_user() 231 struct bio_vec *bv = &bip->bip_vec[bip->bip_vcnt - 1]; in bio_integrity_add_page() 261 static int bio_integrity_copy_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_copy_user() 318 static int bio_integrity_init_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_init_user() 333 static unsigned int bvec_from_pages(struct bio_vec *bvec, struct page **pages, in bvec_from_pages() [all …]
|
| H A D | bio.c | 217 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init() 276 struct bio_vec *bv = bio->bi_io_vec; in bio_reset() 538 struct bio_vec *bvecs = NULL; in bio_alloc_bioset() 641 return kmalloc(sizeof(*bio) + nr_vecs * sizeof(struct bio_vec), in bio_kmalloc() 648 struct bio_vec bv; in zero_fill_bio() 668 struct bio_vec bv; in bio_truncate() 951 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page() 982 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, in bvec_try_merge_hw_page() 1058 struct bio_vec *bv = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_page() 1192 bio->bi_io_vec = (struct bio_vec *)iter->bvec; in bio_iov_iter_set() [all …]
|
| H A D | blk-merge.c | 20 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec() 25 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec() 54 struct bio_vec pb, nb; in bio_will_gap() 283 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, in bvec_split_segs() 316 static inline unsigned int bvec_seg_gap(struct bio_vec *bvprv, in bvec_seg_gap() 317 struct bio_vec *bv) in bvec_seg_gap() 339 struct bio_vec bv, bvprv, *bvprvp = NULL; in bio_split_io_at() 492 struct bio_vec bv; in blk_recalc_rq_segments() 755 struct bio_vec pb, nb; in bio_seg_gap()
|
| H A D | blk.h | 117 bool bvec_try_merge_hw_page(struct request_queue *q, struct bio_vec *bv, 121 struct bio_vec *vec1, struct bio_vec *vec2) in biovec_phys_mergeable() 165 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev() 176 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev() 400 const struct bio_vec *bv; in bio_may_need_split()
|
| H A D | bio-integrity-fs.c | 11 struct bio_vec bvec;
|
| H A D | blk-map.c | 69 struct bio_vec *bvec; in bio_copy_from_iter() 100 struct bio_vec *bvec; in bio_copy_to_iter() 343 struct bio_vec *bvec; in bio_copy_kern_endio_read()
|
| H A D | bio-integrity-auto.c | 21 struct bio_vec bvec;
|
| /linux/Documentation/translations/zh_CN/block/ |
| H A D | data-integrity.rst | 104 中包含一个 bio_vec,用于保存完整性元数据以及所需的维护信息(bvec 池、向量计 170 integrity bio_vec list 中存储多少页保护数据(类似 bio_alloc)。 183 只要 bip bio_vec array(nr_pages)有空间,就可以继续通过
|
| /linux/include/linux/ceph/ |
| H A D | messenger.h | 165 struct bio_vec bv; \ 177 struct bio_vec *bvecs; 198 struct bio_vec bv; \ 398 struct bio_vec in_bvec; /* recvmsg (in_cursor) */ 404 struct bio_vec out_bvec; /* sendpage (out_cursor, out_zero),
|
| /linux/drivers/infiniband/core/ |
| H A D | rw.c | 205 u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, in rdma_rw_init_mr_wrs_bvec() 232 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_mr_wrs_bvec() 370 struct ib_qp *qp, const struct bio_vec *bvecs, in rdma_rw_init_single_wr_bvec() 376 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_single_wr_bvec() 404 const struct bio_vec *bvecs, u32 nr_bvec, struct bvec_iter *iter, in rdma_rw_init_map_wrs_bvec() 444 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_map_wrs_bvec() 488 struct ib_qp *qp, const struct bio_vec *bvec, in rdma_rw_init_iova_wrs_bvec() 495 struct bio_vec first_bv; in rdma_rw_init_iova_wrs_bvec() 511 struct bio_vec bv = mp_bvec_iter_bvec(bvec, *iter); in rdma_rw_init_iova_wrs_bvec() 666 u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, in rdma_rw_ctx_init_bvec() [all …]
|
| /linux/fs/btrfs/ |
| H A D | misc.h | 34 struct bio_vec bv = bio_iter_iovec(bio, *iter); in bio_iter_phys() 59 struct bio_vec *bvec; in bio_get_size()
|
| /linux/drivers/xen/ |
| H A D | biomerge.c | 8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
|
| /linux/drivers/md/bcache/ |
| H A 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/drivers/target/ |
| H A D | target_core_file.c | 248 struct bio_vec bvecs[]; 318 struct bio_vec *bvec; in fd_do_rw() 323 bvec = kzalloc_objs(struct bio_vec, sgl_nents); in fd_do_rw() 435 struct bio_vec *bvec; in fd_execute_write_same() 458 bvec = kzalloc_objs(struct bio_vec, nolb); in fd_execute_write_same()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-io.rst | 42 int rw, struct bio_vec *bvec, 45 int rw, struct bio_vec *bvec,
|
| /linux/lib/ |
| H A D | iov_iter.c | 504 const struct bio_vec *bvec, *end; in iov_iter_bvec_advance() 640 const struct bio_vec *bvec = i->bvec; in iov_iter_revert() 705 const struct bio_vec *bvec, unsigned long nr_segs, in iov_iter_bvec() 823 const struct bio_vec *bvec = i->bvec; in iov_iter_alignment_bvec() 1180 const struct bio_vec *p; in bvec_npages() 1228 new->nr_segs, sizeof(struct bio_vec), in dup_iter() 1645 struct bio_vec bv = bvec_iter_bvec(i->bvec, bi); in iov_iter_extract_bvec_pages() 1899 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *)) 1919 ssize_t iov_iter_extract_bvecs(struct iov_iter *iter, struct bio_vec *bv, in iov_iter_extract_bvecs()
|
| /linux/fs/netfs/ |
| H A D | iterator.c | 40 struct bio_vec *bv = NULL; in netfs_extract_user_iter() 127 const struct bio_vec *bvecs = iter->bvec; in netfs_limit_bvec()
|
| /linux/drivers/vhost/ |
| H A D | vringh.c | 1034 struct bio_vec *bvec; 1080 struct bio_vec *bvec = ivec->iov.bvec; in iotlb_translate() 1107 struct bio_vec bvec[IOTLB_IOV_STRIDE]; in copy_from_iotlb() 1154 struct bio_vec bvec[IOTLB_IOV_STRIDE]; in copy_to_iotlb() 1201 struct bio_vec bvec[1]; in getu16_iotlb() 1237 struct bio_vec bvec; in putu16_iotlb()
|
| /linux/fs/squashfs/ |
| H A D | block.c | 39 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in copy_bio_to_actor() 313 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in squashfs_read_data()
|