Home
last modified time | relevance | path

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

123456

/linux/block/
H A Dbio-integrity.c14 struct bio_vec bvecs[];
48 struct bio_vec *bv = &bip->bip_vec[0]; in bio_integrity_free_buf()
70 struct bio_vec *bvecs, unsigned int nr_vecs) in bio_integrity_init()
108 static void bio_integrity_unpin_bvec(struct bio_vec *bv, int nr_vecs) in bio_integrity_unpin_bvec()
119 struct bio_vec *orig_bvecs = &bip->bip_vec[1]; in bio_integrity_uncopy_user()
120 struct bio_vec *bounce_bvec = &bip->bip_vec[0]; in bio_integrity_uncopy_user()
168 struct bio_vec *bv = &bip->bip_vec[bip->bip_vcnt - 1]; in bio_integrity_add_page()
198 static int bio_integrity_copy_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_copy_user()
256 static int bio_integrity_init_user(struct bio *bio, struct bio_vec *bvec, in bio_integrity_init_user()
271 static unsigned int bvec_from_pages(struct bio_vec *bvec, struct page **pages, in bvec_from_pages()
[all …]
H A Dbio.c162 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned short nr_vecs) in bvec_free()
182 struct bio_vec *bvec_alloc(mempool_t *pool, unsigned short *nr_vecs, in bvec_alloc()
202 struct bio_vec *bvl; in bvec_alloc()
245 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
304 struct bio_vec *bv = bio->bi_io_vec; in bio_reset()
611 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
660 return kmalloc(sizeof(*bio) + nr_vecs * sizeof(struct bio_vec), in bio_kmalloc()
667 struct bio_vec bv; in zero_fill_bio_iter()
687 struct bio_vec bv; in bio_truncate()
966 static bool bvec_try_merge_page(struct bio_vec *bv, struct page *page, in bvec_try_merge_page()
[all …]
H A Dt10-pi.c136 struct bio_vec iv; in t10_pi_type1_prepare()
188 struct bio_vec iv; in t10_pi_type1_complete()
310 struct bio_vec iv; in ext_pi_type1_prepare()
351 struct bio_vec iv; in ext_pi_type1_complete()
381 struct bio_vec bv; in blk_integrity_generate()
413 struct bio_vec bv; in blk_integrity_verify_iter()
H A Dblk-crypto-fallback.c148 struct bio_vec *bv; in blk_crypto_fallback_encrypt_endio()
170 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
277 struct bio_vec src_bv = in __blk_crypto_fallback_encrypt_bio()
381 struct bio_vec bv; in __blk_crypto_fallback_decrypt_bio()
H A Dblk-map.c69 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()
/linux/Documentation/translations/zh_CN/block/
H A Ddata-integrity.rst104 中包含一个 bio_vec,用于保存完整性元数据以及所需的维护信息(bvec 池、向量计
170 integrity bio_vec list 中存储多少页保护数据(类似 bio_alloc)。
183 只要 bip bio_vec array(nr_pages)有空间,就可以继续通过
/linux/include/xen/
H A Dxen.h61 struct bio_vec;
64 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
/linux/include/linux/ceph/
H A Dmessenger.h165 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 Drw.c205 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()
651 u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, in rdma_rw_ctx_init_bvec()
[all …]
/linux/drivers/block/
H A Dn64cart.c62 static bool n64cart_do_bvec(struct device *dev, struct bio_vec *bv, u32 pos) in n64cart_do_bvec()
89 struct bio_vec bvec; in n64cart_submit_bio()
/linux/io_uring/
H A Drsrc.c936 struct bio_vec bv; in io_buffer_register_bvec()
1053 const struct bio_vec *bvec; in io_import_fixed()
1329 struct bio_vec *res_bvec = vec->bvec; in io_vec_fill_bvec()
1337 struct bio_vec *src_bvec; in io_vec_fill_bvec()
1396 const struct bio_vec *src_bvec = imu->bvec; in io_vec_fill_kern_bvec()
1397 struct bio_vec *res_bvec = vec->bvec; in io_vec_fill_kern_bvec()
1408 struct bio_vec bv; in io_vec_fill_kern_bvec()
1424 const struct bio_vec *bvec = imu->bvec; in iov_kern_bvec_size()
1500 if (sizeof(struct bio_vec) > sizeof(struct iovec)) { in io_import_reg_vec()
1503 bvec_bytes = nr_segs * sizeof(struct bio_vec); in io_import_reg_vec()
/linux/drivers/xen/
H A Dbiomerge.c8 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
/linux/drivers/md/bcache/
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()
/linux/fs/netfs/
H A Diterator.c40 struct bio_vec *bv = NULL; in netfs_extract_user_iter()
112 const struct bio_vec *bvecs = iter->bvec; in netfs_limit_bvec()
/linux/include/linux/
H A Dbio.h190 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()
425 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table,
/linux/include/linux/sunrpc/
H A Dsvcsock.h30 struct bio_vec *sk_bvec;
H A Dxdr.h19 struct bio_vec;
60 struct bio_vec *bvec;
141 unsigned int xdr_buf_to_bvec(struct bio_vec *bvec, unsigned int bvec_size,
/linux/drivers/target/
H A Dtarget_core_file.c248 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/drivers/md/
H A Ddm-io.c219 struct bio_vec bvec = bvec_iter_bvec((struct bio_vec *)dp->context_ptr, in bio_get_page()
234 bvec_iter_advance((struct bio_vec *)dp->context_ptr, in bio_next_page()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-io.rst42 int rw, struct bio_vec *bvec,
45 int rw, struct bio_vec *bvec,
/linux/lib/
H A Diov_iter.c504 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()
1633 struct bio_vec bv = bvec_iter_bvec(i->bvec, bi); in iov_iter_extract_bvec_pages()
1880 #define PAGE_PTRS_PER_BVEC (sizeof(struct bio_vec) / sizeof(struct page *))
1898 ssize_t iov_iter_extract_bvecs(struct iov_iter *iter, struct bio_vec *bv, in iov_iter_extract_bvecs()
/linux/drivers/vhost/
H A Dvringh.c1034 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 Dblock.c39 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()
H A Dlzo_wrapper.c70 struct bio_vec *bvec = bvec_init_iter_all(&iter_all); in lzo_uncompress()
/linux/fs/iomap/
H A Dbio.c81 struct bio_vec bvec; in iomap_bio_read_folio_range_sync()

123456