Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dbio.h77 ((struct bio_vec) { \
193 static inline bool bvec_gap_to_prev(struct bio_vec *bprv, unsigned int offset) in bvec_gap_to_prev()
207 static inline void bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter, in bvec_iter_advance()
227 #define for_each_bvec(bvl, bio_vec, iter, start) \ argument
230 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
231 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
259 struct bio_vec bv; in bio_segments()
330 struct bio_vec *bip_vec;
331 struct bio_vec bip_inline_vecs[0];/* embedded bvec array */
467 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
[all …]
Dblk_types.h23 struct bio_vec { struct
97 struct bio_vec *bi_io_vec; /* the actual vec list */
106 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,
Ddevice-mapper.h20 struct bio_vec;
86 struct bio_vec *biovec, int max_size);
Dblkdev.h241 struct bio_vec;
249 struct bio_vec *);
/linux-4.1.27/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,
204 struct bio_vec *bvec; in end_compressed_bio_read()
925 u64 disk_start, struct bio_vec *bvec, in btrfs_decompress_biovec()
979 struct bio_vec *bvec, int vcnt, in btrfs_decompress_buf2page()
1069 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.c2486 struct bio_vec *bvec; in end_bio_extent_writepage()
2548 struct bio_vec *bvec; in end_bio_extent_readpage()
2753 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in submit_one_bio()
3749 struct bio_vec *bvec; in end_bio_extent_buffer_writepage()
Dinode.c7742 struct bio_vec *bvec; in btrfs_retry_endio_nocsum()
7759 struct bio_vec *bvec; in __btrfs_correct_data_nocsum()
7798 struct bio_vec *bvec; in btrfs_retry_endio()
7827 struct bio_vec *bvec; in __btrfs_subio_endio_read()
8106 struct bio_vec *bvec = orig_bio->bi_io_vec; in btrfs_submit_direct_hook()
Dvolumes.c5723 struct bio_vec *prev; in bio_size_ok()
5785 struct bio_vec *bvec = first_bio->bi_io_vec; in breakup_stripe_bio()
Ddisk-io.c874 struct bio_vec *bvec; in btree_csum_one_bio()
/linux-4.1.27/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.1.27/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()
59 struct bio_vec *bvec; in writeseg_end_io()
/linux-4.1.27/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()
416 struct bio_vec *bvl = NULL; in bio_alloc_bioset()
425 nr_iovecs * sizeof(struct bio_vec), in bio_alloc_bioset()
505 struct bio_vec bv; in zero_fill_bio()
619 struct bio_vec bv; in bio_clone_bioset()
707 struct bio_vec *bvec; in __bio_add_page()
724 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_add_page()
948 struct bio_vec *bv; in bio_alloc_pages()
[all …]
Dbounce.c52 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) in bounce_copy_vec()
104 struct bio_vec tovec, *fromvec = from->bi_io_vec; in copy_to_high_bio_irq()
128 struct bio_vec *bvec, *org_vec; in bounce_end_io()
204 struct bio_vec *to, from; in __blk_queue_bounce()
Dbio-integrity.c56 sizeof(struct bio_vec) * nr_vecs, gfp_mask); in bio_integrity_alloc()
134 struct bio_vec *iv; in bio_integrity_add_page()
220 struct bio_vec bv; in bio_integrity_process()
464 bip_src->bip_vcnt * sizeof(struct bio_vec)); in bio_integrity_clone()
515 sizeof(struct bio_vec) * BIP_INLINE_VECS, in bio_integrity_init()
Dblk-merge.c16 struct bio_vec bv, bvprv = { NULL }; in __blk_recalc_rq_segments()
126 struct bio_vec end_bv = { NULL }, nxt_bv; in blk_phys_contig_segment()
159 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg()
160 struct scatterlist *sglist, struct bio_vec *bvprv, in __blk_segment_map_sg()
205 struct bio_vec bvec, bvprv = { NULL }; in __blk_bios_map_sg()
593 struct bio_vec *bprev; in blk_rq_merge_ok()
Dblk-integrity.c46 struct bio_vec iv, ivprv = { NULL }; in blk_rq_count_integrity_sg()
92 struct bio_vec iv, ivprv = { NULL }; in blk_rq_map_integrity_sg()
Dblk-core.c2871 struct bio_vec bvec; in rq_flush_dcache_pages()
/linux-4.1.27/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.h312 struct bio_vec sb_bv[1];
399 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()
Dio.c17 struct bio_vec bv; in bch_bio_max_sectors()
Ddebug.c109 struct bio_vec bv, *bv2; in bch_data_verify()
Drequest.c40 struct bio_vec bv; in bio_csum()
690 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.c1547 sizeof(struct bbio) + sizeof(struct bio_vec) * in bch_cache_set_alloc()
/linux-4.1.27/arch/x86/include/asm/
Dio.h328 struct bio_vec;
330 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
331 const struct bio_vec *vec2);
/linux-4.1.27/arch/arm64/include/asm/
Dio.h207 struct bio_vec;
208 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
209 const struct bio_vec *vec2);
/linux-4.1.27/drivers/scsi/
Dsd_dif.c126 struct bio_vec iv; in sd_dif_prepare()
178 struct bio_vec iv; in sd_dif_complete()
/linux-4.1.27/drivers/block/zram/
Dzram_drv.c317 static inline int is_partial_io(struct bio_vec *bvec) in is_partial_io()
409 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) in update_position()
431 static void handle_zero_page(struct bio_vec *bvec) in handle_zero_page()
514 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, in zram_bvec_read()
579 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_write()
706 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, in zram_bvec_rw()
926 struct bio_vec bvec; in __zram_make_request()
948 struct bio_vec bv; in __zram_make_request()
1022 struct bio_vec bv; in zram_rw_page()
/linux-4.1.27/drivers/md/
Draid1.h141 struct bio_vec *behind_bvecs;
Ddm-log-writes.c124 struct bio_vec vecs[0];
152 struct bio_vec *bvec; in log_end_io()
550 struct bio_vec bv; in log_writes_map()
580 alloc_size = sizeof(struct pending_block) + sizeof(struct bio_vec) * bio_segments(bio); in log_writes_map()
732 struct bio_vec *biovec, int max_size) in log_writes_merge()
Ddm-linear.c134 struct bio_vec *biovec, int max_size) in linear_merge()
Ddm-io.c206 struct bio_vec *bvec = dp->context_ptr; in bio_get_page()
214 struct bio_vec *bvec = dp->context_ptr; in bio_next_page()
Draid5.h242 struct bio_vec vec, rvec;
Ddm-verity.c409 struct bio_vec bv = bio_iter_iovec(bio, io->iter); in verity_verify_io()
652 struct bio_vec *biovec, int max_size) in verity_merge()
966 BIO_MAX_PAGES * sizeof(struct bio_vec)); in verity_ctr()
Draid1.c147 struct bio_vec *bv; in r1buf_pool_alloc()
713 struct bio_vec *biovec) in raid1_mergeable_bvec()
1005 struct bio_vec *bvec; in alloc_behind_pages()
1006 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), in alloc_behind_pages()
1393 struct bio_vec *bvec; in make_request()
1989 struct bio_vec *bi; in process_checks()
2229 struct bio_vec *vec = r1_bio->behind_bvecs; in narrow_write_error()
2237 memcpy(wbio->bi_io_vec, vec, vcnt * sizeof(struct bio_vec)); in narrow_write_error()
Ddm-crypt.c840 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); in crypt_convert_block()
841 struct bio_vec bv_out = bio_iter_iovec(ctx->bio_out, ctx->iter_out); in crypt_convert_block()
981 struct bio_vec *bvec; in crypt_alloc_buffer()
1026 struct bio_vec *bv; in crypt_free_buffer_pages()
2022 struct bio_vec *biovec, int max_size) in crypt_merge()
Dlinear.c65 struct bio_vec *biovec) in linear_mergeable_bvec()
Ddm-flakey.c391 struct bio_vec *biovec, int max_size) in flakey_merge()
Ddm-bufio.c151 struct bio_vec bio_vec[DM_BUFIO_INLINE_VECS]; member
602 b->bio.bi_io_vec = b->bio_vec; in use_inline_bio()
Ddm-stripe.c416 struct bio_vec *biovec, int max_size) in stripe_merge()
Dmd.h537 struct bio_vec *biovec);
Draid0.c350 struct bio_vec *biovec) in raid0_mergeable_bvec()
Ddm-era-target.c1677 struct bio_vec *biovec, int max_size) in era_merge()
Ddm-thin.c3577 struct bio_vec *biovec, int max_size) in pool_merge()
4007 struct bio_vec *biovec, int max_size) in thin_merge()
Ddm-snap.c2325 struct bio_vec *biovec, int max_size) in origin_merge()
Draid10.c687 struct bio_vec *biovec) in raid10_mergeable_bvec()
4568 struct bio_vec *bvec = r10_bio->master_bio->bi_io_vec; in handle_reshape_read_error()
Ddm.c1718 struct bio_vec *biovec) in dm_merge_bvec()
Ddm-cache-target.c3318 struct bio_vec *biovec, int max_size) in cache_bvec_merge()
Draid5.c1108 struct bio_vec bvl; in async_copy_data()
4678 struct bio_vec *biovec) in raid5_mergeable_bvec()
Dmd.c357 struct bio_vec *biovec) in md_mergeable_bvec()
/linux-4.1.27/arch/arm/include/asm/
Dio.h384 struct bio_vec;
385 extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
386 const struct bio_vec *vec2);
/linux-4.1.27/fs/ext4/
Dreadpage.c59 struct bio_vec *bv; in completion_pages()
103 struct bio_vec *bv; in mpage_end_io()
Dpage-io.c65 struct bio_vec *bvec; in ext4_finish_bio()
/linux-4.1.27/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.1.27/Documentation/device-mapper/
Ddm-io.txt41 int rw, struct bio_vec *bvec,
44 int rw, struct bio_vec *bvec,
/linux-4.1.27/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.1.27/drivers/target/
Dtarget_core_file.c327 struct bio_vec *bvec; in fd_do_rw()
332 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); in fd_do_rw()
436 struct bio_vec *bvec; in fd_execute_write_same()
460 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); in fd_execute_write_same()
/linux-4.1.27/drivers/block/
Dnbd.c216 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, in sock_send_bvec()
257 struct bio_vec bvec; in nbd_send_req()
303 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) in sock_recv_bvec()
357 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()
Dpmem.c65 struct bio_vec bvec; in pmem_make_request()
Dloop.c205 static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos) in lo_write_bvec()
230 struct bio_vec bvec; in lo_write_simple()
252 struct bio_vec bvec, b; in lo_write_transfer()
282 struct bio_vec bvec; in lo_read_simple()
311 struct bio_vec bvec, b; in lo_read_transfer()
Dfloppy.c2368 struct bio_vec bv; in buffer_chain_size()
2406 struct bio_vec bv; in copy_buffer()
3789 struct bio_vec bio_vec; in __floppy_read_block_0() local
3807 bio.bi_io_vec = &bio_vec; in __floppy_read_block_0()
3808 bio_vec.bv_page = page; in __floppy_read_block_0()
3809 bio_vec.bv_len = size; in __floppy_read_block_0()
3810 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()
Dpktcdvd.c953 static void pkt_make_local_copy(struct packet_data *pkt, struct bio_vec *bvec) in pkt_make_local_copy()
1300 struct bio_vec *bvec = pkt->w_bio->bi_io_vec; in pkt_start_write()
2507 struct bio_vec *bvec) in pkt_merge_bvec()
Dps3vram.c558 struct bio_vec bvec; in ps3vram_do_bio()
Drbd.c1250 struct bio_vec bv; in zero_bio_chain()
3464 struct bio_vec *bvec) in rbd_merge_bvec()
/linux-4.1.27/arch/m68k/emu/
Dnfblock.c65 struct bio_vec bvec; in nfhd_make_request()
/linux-4.1.27/net/ceph/
Dmessenger.c852 struct bio_vec bio_vec; in ceph_msg_data_bio_next() local
859 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_next()
861 *page_offset = (size_t) bio_vec.bv_offset; in ceph_msg_data_bio_next()
866 *length = (size_t) bio_vec.bv_len; in ceph_msg_data_bio_next()
870 return bio_vec.bv_page; in ceph_msg_data_bio_next()
877 struct bio_vec bio_vec; in ceph_msg_data_bio_advance() local
884 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_advance()
893 if (bytes < bio_vec.bv_len) in ceph_msg_data_bio_advance()
/linux-4.1.27/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()
Ddasd_diag.c507 struct bio_vec bv; in dasd_diag_build_cp()
Dscm_blk.c190 struct bio_vec bv; in scm_request_prepare()
Ddasd_eckd.c2589 struct bio_vec bv; in dasd_eckd_build_cp_cmd_single()
2771 struct bio_vec bv; in dasd_eckd_build_cp_cmd_track()
3075 struct bio_vec bv; in dasd_eckd_build_cp_tpm_track()
3314 struct bio_vec bv; in dasd_raw_build_cp()
3460 struct bio_vec bv; in dasd_eckd_free_cp()
Ddcssblk.c822 struct bio_vec bvec; in dcssblk_make_request()
/linux-4.1.27/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.1.27/arch/powerpc/sysdev/
Daxonram.c112 struct bio_vec vec; in axon_ram_make_request()
/linux-4.1.27/mm/
Dpage_io.c267 struct bio_vec bv = { in __swap_writepage()
/linux-4.1.27/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.1.27/arch/xtensa/platforms/iss/
Dsimdisk.c106 struct bio_vec bvec; in simdisk_xfer_bio()
/linux-4.1.27/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.1.27/fs/
Dsplice.c957 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
979 array = kcalloc(nbufs, sizeof(struct bio_vec), in iter_file_splice_write()
Dmpage.c47 struct bio_vec *bv; in mpage_end_io()
Ddirect-io.c461 struct bio_vec *bvec; in dio_bio_complete()
Dbuffer.c2967 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/llite/
Dlloop.c195 struct bio_vec bvec; in do_bio_lustrebacked()
/linux-4.1.27/fs/f2fs/
Ddata.c33 struct bio_vec *bvec; in f2fs_read_end_io()
53 struct bio_vec *bvec; in f2fs_write_end_io()
Dsegment.c1309 struct bio_vec *bvec; in is_merged_page()
/linux-4.1.27/drivers/block/rsxx/
Ddma.c687 struct bio_vec bvec; in rsxx_dma_queue_bio()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_req.c1523 int drbd_merge_bvec(struct request_queue *q, struct bvec_merge_data *bvm, struct bio_vec *bvec) in drbd_merge_bvec()
Ddrbd_int.h1452 extern int drbd_merge_bvec(struct request_queue *q, struct bvec_merge_data *bvm, struct bio_vec *bv…
Ddrbd_main.c1550 struct bio_vec bvec; in _drbd_send_bio()
1569 struct bio_vec bvec; in _drbd_send_zc_bio()
Ddrbd_worker.c325 struct bio_vec bvec; in drbd_csum_bio()
Ddrbd_receiver.c1708 struct bio_vec bvec; in recv_dless_read()
/linux-4.1.27/drivers/scsi/mpt3sas/
Dmpt3sas_transport.c1899 struct bio_vec bvec; in _transport_smp_handler()
/linux-4.1.27/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c1917 struct bio_vec bvec; in _transport_smp_handler()