Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dbio.h77 ((struct bio_vec) { \
196 static inline void bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter, in bvec_iter_advance()
216 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
219 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
220 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
248 struct bio_vec bv; in bio_segments()
313 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
318 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
380 struct bio_vec *bip_vec;
381 struct bio_vec bip_inline_vecs[0];/* embedded bvec array */
[all …]
Dblk_types.h23 struct bio_vec { struct
98 struct bio_vec *bi_io_vec; /* the actual vec list */
107 struct bio_vec bi_inline_vecs[0];
Duio.h35 const struct bio_vec *bvec;
94 void iov_iter_bvec(struct iov_iter *i, int direction, const struct bio_vec *bvec,
Dblkdev.h216 struct bio_vec;
1371 struct bio_vec *bprv, unsigned int offset) in __bvec_gap_to_prev()
1382 struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
1393 struct bio_vec pb, nb; in bio_will_gap()
Ddevice-mapper.h20 struct bio_vec;
/linux-4.4.14/fs/btrfs/
Dcompression.h37 struct bio_vec *bvec, int vcnt,
48 void btrfs_clear_biovec_end(struct bio_vec *bvec, int vcnt,
69 struct bio_vec *bvec,
Dcompression.c85 u64 disk_start, struct bio_vec *bvec,
201 struct bio_vec *bvec; in end_compressed_bio_read()
930 u64 disk_start, struct bio_vec *bvec, in btrfs_decompress_biovec()
984 struct bio_vec *bvec, int vcnt, in btrfs_decompress_buf2page()
1074 void btrfs_clear_biovec_end(struct bio_vec *bvec, int vcnt, in btrfs_clear_biovec_end()
Dlzo.c260 struct bio_vec *bvec, in lzo_decompress_biovec()
Dzlib.c215 struct bio_vec *bvec, in zlib_decompress_biovec()
Dfile-item.c165 struct bio_vec *bvec = bio->bi_io_vec; in __btrfs_lookup_bio_sums()
432 struct bio_vec *bvec = bio->bi_io_vec; in btrfs_csum_one_bio()
Dextent_io.c2554 struct bio_vec *bvec; in end_bio_extent_writepage()
2616 struct bio_vec *bvec; in end_bio_extent_readpage()
2820 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in submit_one_bio()
3820 struct bio_vec *bvec; in end_bio_extent_buffer_writepage()
Dinode.c7837 struct bio_vec *bvec; in btrfs_retry_endio_nocsum()
7854 struct bio_vec *bvec; in __btrfs_correct_data_nocsum()
7893 struct bio_vec *bvec; in btrfs_retry_endio()
7922 struct bio_vec *bvec; in __btrfs_subio_endio_read()
8200 struct bio_vec *bvec = orig_bio->bi_io_vec; in btrfs_submit_direct_hook()
Ddisk-io.c877 struct bio_vec *bvec; in btree_csum_one_bio()
/linux-4.4.14/block/
Dbio.c161 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) in bvec_free()
174 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc()
177 struct bio_vec *bvl; in bvec_alloc()
429 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
438 nr_iovecs * sizeof(struct bio_vec), in bio_alloc_bioset()
518 struct bio_vec bv; in zero_fill_bio()
636 struct bio_vec bv; in bio_clone_bioset()
715 struct bio_vec *bvec; in bio_add_pc_page()
732 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_pc_page()
809 struct bio_vec *bv; in bio_add_page()
[all …]
Dbounce.c53 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec()
105 struct bio_vec tovec, *fromvec = from->bi_io_vec; in copy_to_high_bio_irq()
129 struct bio_vec *bvec, *org_vec; in bounce_end_io()
187 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()
230 struct bio_vec bv; in bio_integrity_process()
473 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
524 sizeof(struct bio_vec) * BIP_INLINE_VECS, in bio_integrity_init()
Dblk-merge.c88 struct bio_vec bv, bvprv, *bvprvp = NULL; in blk_bio_segment_split()
200 struct bio_vec bv, bvprv = { NULL }; in __blk_recalc_rq_segments()
303 struct bio_vec end_bv = { NULL }, nxt_bv; in blk_phys_contig_segment()
336 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg()
337 struct scatterlist *sglist, struct bio_vec *bvprv, in __blk_segment_map_sg()
382 struct bio_vec bvec, bvprv = { NULL }; in __blk_bios_map_sg()
Dblk-integrity.c43 struct bio_vec iv, ivprv = { NULL }; in blk_rq_count_integrity_sg()
89 struct bio_vec iv, ivprv = { NULL }; in blk_rq_map_integrity_sg()
Dblk-core.c2993 struct bio_vec bvec; in rq_flush_dcache_pages()
/linux-4.4.14/drivers/xen/
Dbiomerge.c6 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, in xen_biovec_phys_mergeable()
7 const struct bio_vec *vec2) in xen_biovec_phys_mergeable()
/linux-4.4.14/fs/logfs/
Ddev_bdev.c20 struct bio_vec bio_vec; in sync_request() local
24 bio.bi_io_vec = &bio_vec; in sync_request()
25 bio_vec.bv_page = page; in sync_request()
26 bio_vec.bv_len = PAGE_SIZE; in sync_request()
27 bio_vec.bv_offset = 0; in sync_request()
58 struct bio_vec *bvec; in writeseg_end_io()
/linux-4.4.14/drivers/md/bcache/
Djournal.h149 struct bio_vec discard_bv;
153 struct bio_vec bv[8];
Dmovinggc.c47 struct bio_vec *bv; in write_moving_finish()
151 io = kzalloc(sizeof(struct moving_io) + sizeof(struct bio_vec) in read_moving()
Dbcache.h297 struct bio_vec sb_bv[1];
384 struct bio_vec sb_bv[1];
Dwriteback.c132 struct bio_vec *bv; in write_dirty_finish()
246 io = kzalloc(sizeof(struct dirty_io) + sizeof(struct bio_vec) in read_dirty()
Dutil.c228 struct bio_vec *bv = bio->bi_io_vec; in bch_bio_map()
Ddebug.c109 struct bio_vec bv, *bv2; in bch_data_verify()
Drequest.c41 struct bio_vec bv; in bio_csum()
699 struct bio_vec *bv; in cached_dev_cache_miss_done()
Dbtree.c365 struct bio_vec *bv; in btree_node_write_done()
425 struct bio_vec *bv; in do_btree_node_write()
Dsuper.c1516 sizeof(struct bbio) + sizeof(struct bio_vec) * in bch_cache_set_alloc()
/linux-4.4.14/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-4.4.14/arch/x86/include/asm/
Dio.h332 struct bio_vec;
334 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
335 const struct bio_vec *vec2);
/linux-4.4.14/drivers/scsi/
Dsd_dif.c131 struct bio_vec iv; in sd_dif_prepare()
183 struct bio_vec iv; in sd_dif_complete()
/linux-4.4.14/drivers/block/zram/
Dzram_drv.c109 static inline bool is_partial_io(struct bio_vec *bvec) in is_partial_io()
138 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position()
175 static void handle_zero_page(struct bio_vec *bvec) in handle_zero_page()
598 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read()
648 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_write()
812 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_rw()
845 struct bio_vec bvec; in __zram_make_request()
867 struct bio_vec bv; in __zram_make_request()
943 struct bio_vec bv; in zram_rw_page()
/linux-4.4.14/drivers/md/
Draid1.h153 struct bio_vec *behind_bvecs;
Ddm-log-writes.c124 struct bio_vec vecs[0];
152 struct bio_vec *bvec; in log_end_io()
552 struct bio_vec bv; in log_writes_map()
582 alloc_size = sizeof(struct pending_block) + sizeof(struct bio_vec) * bio_segments(bio); in log_writes_map()
Ddm-io.c207 struct bio_vec *bvec = dp->context_ptr; in bio_get_page()
215 struct bio_vec *bvec = dp->context_ptr; in bio_next_page()
Draid5.h245 struct bio_vec vec, rvec;
Draid1.c149 struct bio_vec *bv; in r1buf_pool_alloc()
973 struct bio_vec *bvec; in alloc_behind_pages()
974 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), in alloc_behind_pages()
1361 struct bio_vec *bvec; in make_request()
1949 struct bio_vec *bi; in process_checks()
2189 struct bio_vec *vec = r1_bio->behind_bvecs; in narrow_write_error()
2197 memcpy(wbio->bi_io_vec, vec, vcnt * sizeof(struct bio_vec)); in narrow_write_error()
Ddm-crypt.c841 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block()
842 struct bio_vec bv_out = bio_iter_iovec(ctx->bio_out, ctx->iter_out); in crypt_convert_block()
995 struct bio_vec *bvec; in crypt_alloc_buffer()
1040 struct bio_vec *bv; in crypt_free_buffer_pages()
Ddm-bufio.c151 struct bio_vec bio_vec[DM_BUFIO_INLINE_VECS]; member
607 b->bio.bi_io_vec = b->bio_vec; in use_inline_bio()
Ddm-verity.c405 struct bio_vec bv = bio_iter_iovec(bio, io->iter); in verity_verify_io()
Draid10.c4496 struct bio_vec *bvec = r10_bio->master_bio->bi_io_vec; in handle_reshape_read_error()
Draid5.c1112 struct bio_vec bvl; in async_copy_data()
/linux-4.4.14/fs/ext4/
Dreadpage.c59 struct bio_vec *bv; in completion_pages()
103 struct bio_vec *bv; in mpage_end_io()
Dpage-io.c64 struct bio_vec *bvec; in ext4_finish_bio()
/linux-4.4.14/arch/arm/include/asm/
Dio.h448 struct bio_vec;
449 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
450 const struct bio_vec *vec2);
/linux-4.4.14/fs/9p/
Dvfs_addr.c55 struct bio_vec bvec = {.bv_page = page, .bv_len = PAGE_SIZE}; in v9fs_fid_readpage()
166 struct bio_vec bvec; in v9fs_vfs_writepage_locked()
/linux-4.4.14/Documentation/device-mapper/
Ddm-io.txt41 int rw, struct bio_vec *bvec,
44 int rw, struct bio_vec *bvec,
/linux-4.4.14/lib/
Diov_iter.c87 const struct bio_vec *bvec; \
88 struct bio_vec v; \
104 const struct bio_vec *bvec; \
105 struct bio_vec v; \
543 const struct bio_vec *bvec, unsigned long nr_segs, in iov_iter_bvec()
786 new->nr_segs * sizeof(struct bio_vec), in dup_iter()
/linux-4.4.14/drivers/target/
Dtarget_core_file.c255 struct bio_vec *bvec; in fd_do_rw()
260 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
364 struct bio_vec *bvec; in fd_execute_write_same()
388 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/linux-4.4.14/drivers/nvdimm/
Dblk.c82 struct bio_vec bv; in nd_blk_rw_integrity()
172 struct bio_vec bvec; in nd_blk_make_request()
Dpmem.c71 struct bio_vec bvec; in pmem_make_request()
Dbtt.c922 struct bio_vec bv; in btt_rw_integrity()
1159 struct bio_vec bvec; in btt_make_request()
/linux-4.4.14/drivers/block/
Dnbd.c224 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, in sock_send_bvec()
276 struct bio_vec bvec; in nbd_send_req()
322 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) in sock_recv_bvec()
374 struct bio_vec bvec; in nbd_read_stat()
Dps3disk.c97 struct bio_vec bvec; in ps3disk_scatter_gather()
132 struct bio_vec bv; in ps3disk_submit_request_sg()
Dloop.c261 static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos) in lo_write_bvec()
286 struct bio_vec bvec; in lo_write_simple()
308 struct bio_vec bvec, b; in lo_write_transfer()
338 struct bio_vec bvec; in lo_read_simple()
367 struct bio_vec bvec, b; in lo_read_transfer()
480 struct bio_vec *bvec; in lo_rw_aio()
Dfloppy.c2368 struct bio_vec bv; in buffer_chain_size()
2406 struct bio_vec bv; in copy_buffer()
3790 struct bio_vec bio_vec; in __floppy_read_block_0() local
3808 bio.bi_io_vec = &bio_vec; in __floppy_read_block_0()
3809 bio_vec.bv_page = page; in __floppy_read_block_0()
3810 bio_vec.bv_len = size; in __floppy_read_block_0()
3811 bio_vec.bv_offset = 0; in __floppy_read_block_0()
Dumem.c346 struct bio_vec vec; in add_bio()
436 struct bio_vec vec; in process_page()
Dbrd.c331 struct bio_vec bvec; in brd_make_request()
Dps3vram.c558 struct bio_vec bvec; in ps3vram_do_bio()
Dpktcdvd.c954 static void pkt_make_local_copy(struct packet_data *pkt, struct bio_vec *bvec) in pkt_make_local_copy()
1301 struct bio_vec *bvec = pkt->w_bio->bi_io_vec; in pkt_start_write()
Drbd.c1252 struct bio_vec bv; in zero_bio_chain()
/linux-4.4.14/arch/m68k/emu/
Dnfblock.c65 struct bio_vec bvec; in nfhd_make_request()
/linux-4.4.14/net/ceph/
Dmessenger.c849 struct bio_vec bio_vec; in ceph_msg_data_bio_next() local
856 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_next()
858 *page_offset = (size_t) bio_vec.bv_offset; in ceph_msg_data_bio_next()
863 *length = (size_t) bio_vec.bv_len; in ceph_msg_data_bio_next()
867 return bio_vec.bv_page; in ceph_msg_data_bio_next()
874 struct bio_vec bio_vec; in ceph_msg_data_bio_advance() local
881 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_advance()
890 if (bytes < bio_vec.bv_len) in ceph_msg_data_bio_advance()
/linux-4.4.14/drivers/s390/block/
Dscm_blk_cluster.c138 struct bio_vec bv; in scm_prepare_cluster_request()
Ddasd_fba.c263 struct bio_vec bv; in dasd_fba_build_cp()
385 struct bio_vec bv; in dasd_fba_free_cp()
Dxpram.c187 struct bio_vec bvec; in xpram_make_request()
Dscm_blk.c190 struct bio_vec bv; in scm_request_prepare()
Ddasd_diag.c514 struct bio_vec bv; in dasd_diag_build_cp()
Ddasd_eckd.c2627 struct bio_vec bv; in dasd_eckd_build_cp_cmd_single()
2809 struct bio_vec bv; in dasd_eckd_build_cp_cmd_track()
3113 struct bio_vec bv; in dasd_eckd_build_cp_tpm_track()
3352 struct bio_vec bv; in dasd_raw_build_cp()
3498 struct bio_vec bv; in dasd_eckd_free_cp()
Ddcssblk.c823 struct bio_vec bvec; in dcssblk_make_request()
/linux-4.4.14/Documentation/block/
Ddata-integrity.txt134 Essentially a bip is a trimmed down struct bio which holds a bio_vec
220 stored in the integrity bio_vec list (similar to bio_alloc()).
238 there is room in the bip bio_vec array (nr_pages).
Dbiodoc.txt422 struct bio_vec {
437 unsigned int bi_vcnt; /* how may bio_vec's */
438 struct bvec_iter bi_iter; /* current index into bio_vec array */
445 struct bio_vec *bi_io_vec; /* the actual vec list */
453 - Large i/os can be sent down in one go using a bio_vec list consisting
465 field to keep track of the next bio_vec entry to process.
466 (e.g a 1MB bio_vec needs to be handled in max 128kB chunks for IDE)
650 rq_for_each_segment(bio_vec, rq, iter)
651 /* bio_vec is now current segment */
Dbiovecs.txt101 literal struct bio_vec - constructed on the fly from the raw biovec but
/linux-4.4.14/mm/
Dpage_io.c263 struct bio_vec bv = { in __swap_writepage()
/linux-4.4.14/arch/powerpc/sysdev/
Daxonram.c112 struct bio_vec vec; in axon_ram_make_request()
/linux-4.4.14/fs/f2fs/
Dcrypto.c154 struct bio_vec *bv; in completion_pages()
Ddata.c32 struct bio_vec *bvec; in f2fs_read_end_io()
61 struct bio_vec *bvec; in f2fs_write_end_io()
Dsegment.c1435 struct bio_vec *bvec; in is_merged_page()
/linux-4.4.14/fs/gfs2/
Dlops.c172 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec, in gfs2_end_log_write_bh()
208 struct bio_vec *bvec; in gfs2_end_log_write()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dsimdisk.c107 struct bio_vec bvec; in simdisk_make_request()
/linux-4.4.14/drivers/block/aoe/
Daoecmd.c300 struct bio_vec bv; in skb_fillup()
869 struct bio_vec bv; in bio_pageinc()
886 struct bio_vec bv; in bio_pagedec()
1090 struct bio_vec bv; in bvcpy()
/linux-4.4.14/fs/
Dsplice.c966 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
988 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
Dmpage.c47 struct bio_vec *bv; in mpage_end_io()
Ddirect-io.c467 struct bio_vec *bvec; in dio_bio_complete()
Dbuffer.c2966 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod()
/linux-4.4.14/fs/exofs/
Dore.c47 (PAGE_SIZE - sizeof(struct bio)) / sizeof(struct bio_vec),};
407 struct bio_vec *bv; in _clear_bio()
Dore_raid.c430 struct bio_vec *bv; in _mark_read4write_pages_uptodate()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlloop.c195 struct bio_vec bvec; in do_bio_lustrebacked()
/linux-4.4.14/drivers/block/rsxx/
Ddma.c687 struct bio_vec bvec; in rsxx_dma_queue_bio()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_main.c1550 struct bio_vec bvec; in _drbd_send_bio()
1569 struct bio_vec bvec; in _drbd_send_zc_bio()
Ddrbd_worker.c303 struct bio_vec bvec; in drbd_csum_bio()
Ddrbd_receiver.c1709 struct bio_vec bvec; in recv_dless_read()
/linux-4.4.14/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1923 struct bio_vec bvec; in _transport_smp_handler()