Searched refs:bio_vec (Results 1 - 106 of 106) sorted by relevance

/linux-4.1.27/drivers/xen/
H A Dbiomerge.c6 bool xen_biovec_phys_mergeable(const struct bio_vec *vec1, xen_biovec_phys_mergeable()
7 const struct bio_vec *vec2) xen_biovec_phys_mergeable()
/linux-4.1.27/fs/btrfs/
H A 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,
H A Dcompression.c85 u64 disk_start, struct bio_vec *bvec,
204 struct bio_vec *bvec; end_compressed_bio_read()
913 * bvec is a bio_vec of pages from the file that we want to decompress into
925 u64 disk_start, struct bio_vec *bvec, btrfs_decompress_biovec()
979 struct bio_vec *bvec, int vcnt, btrfs_decompress_buf2page()
1069 void btrfs_clear_biovec_end(struct bio_vec *bvec, int vcnt, btrfs_clear_biovec_end()
H A Dlzo.c260 struct bio_vec *bvec, lzo_decompress_biovec()
H A Dzlib.c215 struct bio_vec *bvec, zlib_decompress_biovec()
H A Dfile-item.c165 struct bio_vec *bvec = bio->bi_io_vec; __btrfs_lookup_bio_sums()
432 struct bio_vec *bvec = bio->bi_io_vec; btrfs_csum_one_bio()
H A Dextent_io.c2486 struct bio_vec *bvec; end_bio_extent_writepage()
2548 struct bio_vec *bvec; end_bio_extent_readpage()
2753 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; submit_one_bio()
3749 struct bio_vec *bvec; end_bio_extent_buffer_writepage()
H A Dinode.c7742 struct bio_vec *bvec; btrfs_retry_endio_nocsum()
7759 struct bio_vec *bvec; __btrfs_correct_data_nocsum()
7798 struct bio_vec *bvec; btrfs_retry_endio()
7827 struct bio_vec *bvec; __btrfs_subio_endio_read()
8106 struct bio_vec *bvec = orig_bio->bi_io_vec; btrfs_submit_direct_hook()
H A Dvolumes.c5723 struct bio_vec *prev; bio_size_ok()
5785 struct bio_vec *bvec = first_bio->bi_io_vec; breakup_stripe_bio()
H A Ddisk-io.c874 struct bio_vec *bvec; btree_csum_one_bio()
/linux-4.1.27/fs/logfs/
H A Ddev_bdev.c20 struct bio_vec bio_vec; sync_request() local
24 bio.bi_io_vec = &bio_vec; sync_request()
25 bio_vec.bv_page = page; sync_request()
26 bio_vec.bv_len = PAGE_SIZE; sync_request()
27 bio_vec.bv_offset = 0; sync_request()
59 struct bio_vec *bvec; writeseg_end_io()
/linux-4.1.27/include/linux/
H A Dbio.h32 /* struct bio, bio_vec and BIO_* flags are defined in blk_types.h */
77 ((struct bio_vec) { \
190 * Check if adding a bio_vec after bprv with offset would create a gap in
193 static inline bool bvec_gap_to_prev(struct bio_vec *bprv, unsigned int offset) bvec_gap_to_prev()
207 static inline void bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter, bvec_iter_advance()
227 #define for_each_bvec(bvl, bio_vec, iter, start) \
230 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
231 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
259 struct bio_vec bv; bio_segments()
325 unsigned short bip_max_vcnt; /* integrity bio_vec slots */
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 *);
468 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
484 static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags) bvec_kmap_irq()
509 static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags) bvec_kmap_irq()
H A Dblk_types.h23 struct bio_vec { struct
87 unsigned short bi_vcnt; /* how many bio_vec's */
97 struct bio_vec *bi_io_vec; /* the actual vec list */
106 struct bio_vec bi_inline_vecs[0];
H A Duio.h35 const struct bio_vec *bvec;
94 void iov_iter_bvec(struct iov_iter *i, int direction, const struct bio_vec *bvec,
H A Ddevice-mapper.h20 struct bio_vec;
86 struct bio_vec *biovec, int max_size);
H A Dblkdev.h241 struct bio_vec;
249 struct bio_vec *);
/linux-4.1.27/block/
H A Dbounce.c52 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) bounce_copy_vec()
104 struct bio_vec tovec, *fromvec = from->bi_io_vec; copy_to_high_bio_irq()
128 struct bio_vec *bvec, *org_vec; bounce_end_io()
204 struct bio_vec *to, from; __blk_queue_bounce()
H A Dbio.c161 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) bvec_free()
174 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, bvec_alloc()
177 struct bio_vec *bvl; bvec_alloc()
416 struct bio_vec *bvl = NULL; bio_alloc_bioset()
425 nr_iovecs * sizeof(struct bio_vec), bio_alloc_bioset()
505 struct bio_vec bv; zero_fill_bio()
619 struct bio_vec bv; bio_clone_bioset()
707 struct bio_vec *bvec; __bio_add_page()
724 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; __bio_add_page()
838 * Attempt to add a page to the bio_vec maplist. This can fail for a
860 * Attempt to add a page to the bio_vec maplist. This can fail for a
948 struct bio_vec *bv; bio_alloc_pages()
978 struct bio_vec src_bv, dst_bv; bio_copy_data()
1050 struct bio_vec *bvec; bio_copy_from_iter()
1081 struct bio_vec *bvec; bio_copy_to_iter()
1103 struct bio_vec *bvec; bio_free_pages()
1404 struct bio_vec *bvec; __bio_unmap_user()
1501 struct bio_vec *bvec; bio_copy_kern_endio_read()
1613 struct bio_vec *bvec; bio_set_pages_dirty()
1626 struct bio_vec *bvec; bio_release_pages()
1679 struct bio_vec *bvec; bio_check_pages_dirty()
1738 struct bio_vec bvec; bio_flush_dcache_pages()
1833 * Discards need a mutable bio_vec to accommodate the payload bio_split()
1912 unsigned int back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); __bioset_create()
1971 * bioset_create_nobvec - Create a bio_set without bio_vec mempool
2056 size = bvs->nr_vecs * sizeof(struct bio_vec); biovec_init_slabs()
H A Dblk-merge.c16 struct bio_vec bv, bvprv = { NULL }; __blk_recalc_rq_segments()
126 struct bio_vec end_bv = { NULL }, nxt_bv; blk_phys_contig_segment()
159 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, __blk_segment_map_sg()
160 struct scatterlist *sglist, struct bio_vec *bvprv, __blk_segment_map_sg()
205 struct bio_vec bvec, bvprv = { NULL }; __blk_bios_map_sg()
593 struct bio_vec *bprev; blk_rq_merge_ok()
H A Dbio-integrity.c56 sizeof(struct bio_vec) * nr_vecs, gfp_mask); bio_integrity_alloc()
134 struct bio_vec *iv; bio_integrity_add_page()
220 struct bio_vec bv; bio_integrity_process()
464 bip_src->bip_vcnt * sizeof(struct bio_vec)); bio_integrity_clone()
515 sizeof(struct bio_vec) * BIP_INLINE_VECS, bio_integrity_init()
H A Dblk-integrity.c46 struct bio_vec iv, ivprv = { NULL }; blk_rq_count_integrity_sg()
92 struct bio_vec iv, ivprv = { NULL }; blk_rq_map_integrity_sg()
H A Dblk-settings.c64 * add a new bio_vec to a bio at a given offset or not. If the block device
H A Dblk-core.c2871 struct bio_vec bvec; rq_flush_dcache_pages()
/linux-4.1.27/drivers/md/bcache/
H A Dmovinggc.c47 struct bio_vec *bv; write_moving_finish()
151 io = kzalloc(sizeof(struct moving_io) + sizeof(struct bio_vec) read_moving()
H A Djournal.h149 struct bio_vec discard_bv;
153 struct bio_vec bv[8];
H A Ddebug.c109 struct bio_vec bv, *bv2; bch_data_verify()
H A Dio.c17 struct bio_vec bv; bch_bio_max_sectors()
H A Dwriteback.c132 struct bio_vec *bv; write_dirty_finish()
246 io = kzalloc(sizeof(struct dirty_io) + sizeof(struct bio_vec) read_dirty()
H A Dutil.c228 struct bio_vec *bv = bio->bi_io_vec; bch_bio_map()
H A Dbcache.h312 struct bio_vec sb_bv[1];
399 struct bio_vec sb_bv[1];
H A Drequest.c40 struct bio_vec bv; bio_csum()
690 struct bio_vec *bv; cached_dev_cache_miss_done()
H A Dbtree.c365 struct bio_vec *bv; btree_node_write_done()
425 struct bio_vec *bv; do_btree_node_write()
H A Dsuper.c1547 sizeof(struct bbio) + sizeof(struct bio_vec) * bch_cache_set_alloc()
/linux-4.1.27/drivers/scsi/
H A Dsd_dif.c126 struct bio_vec iv; sd_dif_prepare()
178 struct bio_vec iv; sd_dif_complete()
/linux-4.1.27/arch/arm64/include/asm/
H A 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/lib/
H A 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, iov_iter_bvec()
786 new->nr_segs * sizeof(struct bio_vec), dup_iter()
/linux-4.1.27/arch/x86/include/asm/
H A 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/drivers/md/
H A Ddm-linear.c134 struct bio_vec *biovec, int max_size) linear_merge()
H A Ddm-log-writes.c124 struct bio_vec vecs[0];
152 struct bio_vec *bvec; log_end_io()
550 struct bio_vec bv; log_writes_map()
580 alloc_size = sizeof(struct pending_block) + sizeof(struct bio_vec) * bio_segments(bio); log_writes_map()
732 struct bio_vec *biovec, int max_size) log_writes_merge()
H A Draid1.h141 struct bio_vec *behind_bvecs;
H A Ddm-verity.c409 struct bio_vec bv = bio_iter_iovec(bio, io->iter); verity_verify_io()
652 struct bio_vec *biovec, int max_size) verity_merge()
966 BIO_MAX_PAGES * sizeof(struct bio_vec)); verity_ctr()
H A Ddm-io.c206 struct bio_vec *bvec = dp->context_ptr; bio_get_page()
214 struct bio_vec *bvec = dp->context_ptr; bio_next_page()
H A Dlinear.c65 struct bio_vec *biovec) linear_mergeable_bvec()
H A Draid1.c147 struct bio_vec *bv; r1buf_pool_alloc()
713 struct bio_vec *biovec) raid1_mergeable_bvec()
1005 struct bio_vec *bvec; alloc_behind_pages()
1006 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), alloc_behind_pages()
1393 struct bio_vec *bvec; make_request()
1989 struct bio_vec *bi; process_checks()
2229 struct bio_vec *vec = r1_bio->behind_bvecs; narrow_write_error()
2237 memcpy(wbio->bi_io_vec, vec, vcnt * sizeof(struct bio_vec)); narrow_write_error()
H A Ddm-flakey.c391 struct bio_vec *biovec, int max_size) flakey_merge()
H A Ddm-stripe.c416 struct bio_vec *biovec, int max_size) stripe_merge()
H A Ddm-crypt.c840 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); crypt_convert_block()
841 struct bio_vec bv_out = bio_iter_iovec(ctx->bio_out, ctx->iter_out); crypt_convert_block()
981 struct bio_vec *bvec; crypt_alloc_buffer()
1026 struct bio_vec *bv; crypt_free_buffer_pages()
2022 struct bio_vec *biovec, int max_size) crypt_merge()
H A Ddm-bufio.c151 struct bio_vec bio_vec[DM_BUFIO_INLINE_VECS]; member in struct:dm_buffer
602 b->bio.bi_io_vec = b->bio_vec; use_inline_bio()
H A Draid0.c350 struct bio_vec *biovec) raid0_mergeable_bvec()
H A Ddm-era-target.c1677 struct bio_vec *biovec, int max_size) era_merge()
H A Dmd.h537 struct bio_vec *biovec);
H A Draid5.h242 struct bio_vec vec, rvec;
H A Ddm-snap.c2325 struct bio_vec *biovec, int max_size) origin_merge()
H A Ddm-thin.c3577 struct bio_vec *biovec, int max_size) pool_merge()
4007 struct bio_vec *biovec, int max_size) thin_merge()
H A Draid10.c687 struct bio_vec *biovec) raid10_mergeable_bvec()
4568 struct bio_vec *bvec = r10_bio->master_bio->bi_io_vec; handle_reshape_read_error()
H A Ddm-cache-target.c3318 struct bio_vec *biovec, int max_size) cache_bvec_merge()
H A Ddm.c1718 struct bio_vec *biovec) dm_merge_bvec()
H A Draid5.c1108 struct bio_vec bvl; async_copy_data()
4678 struct bio_vec *biovec) raid5_mergeable_bvec()
H A Dmd.c357 struct bio_vec *biovec) md_mergeable_bvec()
/linux-4.1.27/drivers/block/zram/
H A Dzram_drv.c317 static inline int is_partial_io(struct bio_vec *bvec) is_partial_io()
409 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) update_position()
431 static void handle_zero_page(struct bio_vec *bvec) handle_zero_page()
514 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, zram_bvec_read()
579 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, zram_bvec_write()
706 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, zram_bvec_rw()
926 struct bio_vec bvec; __zram_make_request()
948 struct bio_vec bv; bio_for_each_segment()
1022 struct bio_vec bv; zram_rw_page()
/linux-4.1.27/fs/ext4/
H A Dreadpage.c59 struct bio_vec *bv; completion_pages()
103 struct bio_vec *bv; mpage_end_io()
H A Dpage-io.c65 struct bio_vec *bvec; ext4_finish_bio()
/linux-4.1.27/fs/9p/
H A Dvfs_addr.c55 struct bio_vec bvec = {.bv_page = page, .bv_len = PAGE_SIZE}; v9fs_fid_readpage()
166 struct bio_vec bvec; v9fs_vfs_writepage_locked()
/linux-4.1.27/fs/gfs2/
H A Dlops.c163 * @bvec: The bio_vec
172 static void gfs2_end_log_write_bh(struct gfs2_sbd *sdp, struct bio_vec *bvec, gfs2_end_log_write_bh()
199 * Each bio_vec contains either data from the pagecache or data
200 * relating to the log itself. Here we iterate over the bio_vec
208 struct bio_vec *bvec; gfs2_end_log_write()
/linux-4.1.27/arch/arm/include/asm/
H A 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/drivers/s390/block/
H A Dscm_blk_cluster.c138 struct bio_vec bv; scm_prepare_cluster_request()
H A Ddasd_fba.c263 struct bio_vec bv; dasd_fba_build_cp()
385 struct bio_vec bv; dasd_fba_free_cp()
H A Dxpram.c187 struct bio_vec bvec; xpram_make_request()
H A Dscm_blk.c190 struct bio_vec bv; scm_request_prepare()
H A Ddasd_diag.c507 struct bio_vec bv; dasd_diag_build_cp()
H A Ddcssblk.c822 struct bio_vec bvec; dcssblk_make_request()
H A Ddasd_eckd.c2589 struct bio_vec bv; dasd_eckd_build_cp_cmd_single()
2771 struct bio_vec bv; dasd_eckd_build_cp_cmd_track()
3075 struct bio_vec bv; dasd_eckd_build_cp_tpm_track()
3314 struct bio_vec bv; dasd_raw_build_cp()
3460 struct bio_vec bv; dasd_eckd_free_cp()
/linux-4.1.27/drivers/block/
H A Dnbd.c216 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, sock_send_bvec()
257 struct bio_vec bvec; nbd_send_req()
303 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) sock_recv_bvec()
357 struct bio_vec bvec; nbd_read_stat()
H A Dps3disk.c97 struct bio_vec bvec; ps3disk_scatter_gather()
132 struct bio_vec bv; ps3disk_submit_request_sg()
H A Dpmem.c65 struct bio_vec bvec; pmem_make_request()
H A Dloop.c205 static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos) lo_write_bvec()
230 struct bio_vec bvec; lo_write_simple()
252 struct bio_vec bvec, b; lo_write_transfer()
282 struct bio_vec bvec; lo_read_simple()
311 struct bio_vec bvec, b; lo_read_transfer()
H A Dbrd.c331 struct bio_vec bvec; brd_make_request()
H A Dfloppy.c2368 struct bio_vec bv; buffer_chain_size()
2406 struct bio_vec bv; copy_buffer()
3789 struct bio_vec bio_vec; __floppy_read_block_0() local
3807 bio.bi_io_vec = &bio_vec; __floppy_read_block_0()
3808 bio_vec.bv_page = page; __floppy_read_block_0()
3809 bio_vec.bv_len = size; __floppy_read_block_0()
3810 bio_vec.bv_offset = 0; __floppy_read_block_0()
H A Dumem.c346 struct bio_vec vec; add_bio()
436 struct bio_vec vec; process_page()
H A Dps3vram.c558 struct bio_vec bvec; ps3vram_do_bio()
H A Dpktcdvd.c953 static void pkt_make_local_copy(struct packet_data *pkt, struct bio_vec *bvec) pkt_make_local_copy()
1300 struct bio_vec *bvec = pkt->w_bio->bi_io_vec; pkt_start_write()
2507 struct bio_vec *bvec) pkt_merge_bvec()
H A Drbd.c1250 struct bio_vec bv; zero_bio_chain()
3464 struct bio_vec *bvec) rbd_merge_bvec()
/linux-4.1.27/arch/m68k/emu/
H A Dnfblock.c65 struct bio_vec bvec; nfhd_make_request()
/linux-4.1.27/drivers/target/
H A Dtarget_core_file.c327 struct bio_vec *bvec; fd_do_rw()
332 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); fd_do_rw()
436 struct bio_vec *bvec; fd_execute_write_same()
460 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); fd_execute_write_same()
/linux-4.1.27/arch/xtensa/platforms/iss/
H A Dsimdisk.c106 struct bio_vec bvec; simdisk_xfer_bio()
/linux-4.1.27/drivers/block/aoe/
H A Daoecmd.c300 struct bio_vec bv; skb_fillup()
869 struct bio_vec bv; bio_pageinc()
886 struct bio_vec bv; bio_pagedec()
1090 struct bio_vec bv; bvcpy()
/linux-4.1.27/arch/powerpc/sysdev/
H A Daxonram.c112 struct bio_vec vec; axon_ram_make_request()
/linux-4.1.27/net/ceph/
H A Dmessenger.c852 struct bio_vec bio_vec; ceph_msg_data_bio_next() local
859 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); ceph_msg_data_bio_next()
861 *page_offset = (size_t) bio_vec.bv_offset; ceph_msg_data_bio_next()
866 *length = (size_t) bio_vec.bv_len; ceph_msg_data_bio_next()
870 return bio_vec.bv_page; ceph_msg_data_bio_next()
877 struct bio_vec bio_vec; ceph_msg_data_bio_advance() local
884 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); ceph_msg_data_bio_advance()
893 if (bytes < bio_vec.bv_len) ceph_msg_data_bio_advance()
/linux-4.1.27/mm/
H A Dpage_io.c267 struct bio_vec bv = { __swap_writepage()
/linux-4.1.27/fs/exofs/
H A Dore.c47 (PAGE_SIZE - sizeof(struct bio)) / sizeof(struct bio_vec),};
407 struct bio_vec *bv; _clear_bio()
H A Dore_raid.c430 struct bio_vec *bv; _mark_read4write_pages_uptodate()
/linux-4.1.27/fs/
H A Dsplice.c957 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), iter_file_splice_write()
979 array = kcalloc(nbufs, sizeof(struct bio_vec), iter_file_splice_write()
H A Dmpage.c47 struct bio_vec *bv; mpage_end_io()
H A Ddirect-io.c461 struct bio_vec *bvec; dio_bio_complete()
H A Dbuffer.c2967 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; guard_bio_eod()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dlloop.c195 struct bio_vec bvec; do_bio_lustrebacked()
/linux-4.1.27/fs/f2fs/
H A Ddata.c33 struct bio_vec *bvec; f2fs_read_end_io()
53 struct bio_vec *bvec; f2fs_write_end_io()
H A Dsegment.c1309 struct bio_vec *bvec; is_merged_page()
/linux-4.1.27/drivers/block/rsxx/
H A Ddma.c687 struct bio_vec bvec; rsxx_dma_queue_bio()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_transport.c1917 struct bio_vec bvec; _transport_smp_handler()
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1899 struct bio_vec bvec; _transport_smp_handler()
/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_req.c1523 int drbd_merge_bvec(struct request_queue *q, struct bvec_merge_data *bvm, struct bio_vec *bvec) drbd_merge_bvec()
H A Ddrbd_worker.c325 struct bio_vec bvec; drbd_csum_bio()
H A Ddrbd_main.c1550 struct bio_vec bvec; _drbd_send_bio()
1569 struct bio_vec bvec; _drbd_send_zc_bio()
H A Ddrbd_int.h1452 extern int drbd_merge_bvec(struct request_queue *q, struct bvec_merge_data *bvm, struct bio_vec *bvec);
H A Ddrbd_receiver.c1398 * But the scsi layer still expects a bio_vec it can use internally, drbd_submit_peer_request()
1708 struct bio_vec bvec; recv_dless_read()

Completed in 4668 milliseconds