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

/linux-4.4.14/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()
17 * XXX: Add support for merging bio_vec when using different page xen_biovec_phys_mergeable()
/linux-4.4.14/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,
201 struct bio_vec *bvec; end_compressed_bio_read()
918 * bvec is a bio_vec of pages from the file that we want to decompress into
930 u64 disk_start, struct bio_vec *bvec, btrfs_decompress_biovec()
984 struct bio_vec *bvec, int vcnt, btrfs_decompress_buf2page()
1074 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.c2554 struct bio_vec *bvec; end_bio_extent_writepage()
2616 struct bio_vec *bvec; end_bio_extent_readpage()
2820 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; submit_one_bio()
3820 struct bio_vec *bvec; end_bio_extent_buffer_writepage()
H A Dinode.c7837 struct bio_vec *bvec; btrfs_retry_endio_nocsum()
7854 struct bio_vec *bvec; __btrfs_correct_data_nocsum()
7893 struct bio_vec *bvec; btrfs_retry_endio()
7922 struct bio_vec *bvec; __btrfs_subio_endio_read()
8200 struct bio_vec *bvec = orig_bio->bi_io_vec; btrfs_submit_direct_hook()
H A Ddisk-io.c877 struct bio_vec *bvec; btree_csum_one_bio()
/linux-4.4.14/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()
58 struct bio_vec *bvec; writeseg_end_io()
/linux-4.4.14/block/
H A Dbounce.c53 static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom) bounce_copy_vec()
105 struct bio_vec tovec, *fromvec = from->bi_io_vec; copy_to_high_bio_irq()
129 struct bio_vec *bvec, *org_vec; bounce_end_io()
187 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()
429 struct bio_vec *bvl = NULL; bio_alloc_bioset()
438 nr_iovecs * sizeof(struct bio_vec), bio_alloc_bioset()
518 struct bio_vec bv; zero_fill_bio()
636 struct bio_vec bv; bio_clone_bioset()
704 * Attempt to add a page to the bio_vec maplist. This can fail for a
715 struct bio_vec *bvec; bio_add_pc_page()
732 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; bio_add_pc_page()
803 * Attempt to add a page to the bio_vec maplist. This will only fail
809 struct bio_vec *bv; bio_add_page()
916 struct bio_vec *bv; bio_alloc_pages()
946 struct bio_vec src_bv, dst_bv; bio_copy_data()
1018 struct bio_vec *bvec; bio_copy_from_iter()
1049 struct bio_vec *bvec; bio_copy_to_iter()
1071 struct bio_vec *bvec; bio_free_pages()
1372 struct bio_vec *bvec; __bio_unmap_user()
1469 struct bio_vec *bvec; bio_copy_kern_endio_read()
1581 struct bio_vec *bvec; bio_set_pages_dirty()
1594 struct bio_vec *bvec; bio_release_pages()
1647 struct bio_vec *bvec; bio_check_pages_dirty()
1706 struct bio_vec bvec; bio_flush_dcache_pages()
1794 * Discards need a mutable bio_vec to accommodate the payload bio_split()
1873 unsigned int back_pad = BIO_INLINE_VECS * sizeof(struct bio_vec); __bioset_create()
1932 * bioset_create_nobvec - Create a bio_set without bio_vec mempool
2032 size = bvs->nr_vecs * sizeof(struct bio_vec); biovec_init_slabs()
H A Dbio-integrity.c61 sizeof(struct bio_vec) * nr_vecs, gfp_mask); bio_integrity_alloc()
139 struct bio_vec *iv; bio_integrity_add_page()
230 struct bio_vec bv; bio_integrity_process()
473 bip_src->bip_vcnt * sizeof(struct bio_vec)); bio_integrity_clone()
524 sizeof(struct bio_vec) * BIP_INLINE_VECS, bio_integrity_init()
H A Dblk-merge.c88 struct bio_vec bv, bvprv, *bvprvp = NULL; blk_bio_segment_split()
200 struct bio_vec bv, bvprv = { NULL }; __blk_recalc_rq_segments()
303 struct bio_vec end_bv = { NULL }, nxt_bv; blk_phys_contig_segment()
336 __blk_segment_map_sg(struct request_queue *q, struct bio_vec *bvec, __blk_segment_map_sg()
337 struct scatterlist *sglist, struct bio_vec *bvprv, __blk_segment_map_sg()
382 struct bio_vec bvec, bvprv = { NULL }; __blk_bios_map_sg()
H A Dblk-integrity.c43 struct bio_vec iv, ivprv = { NULL }; blk_rq_count_integrity_sg()
89 struct bio_vec iv, ivprv = { NULL }; blk_rq_map_integrity_sg()
H A Dblk-core.c2993 struct bio_vec bvec; rq_flush_dcache_pages()
/linux-4.4.14/include/linux/
H A Dbio.h32 /* struct bio, bio_vec and BIO_* flags are defined in blk_types.h */
77 ((struct bio_vec) { \
196 static inline void bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter, bvec_iter_advance()
216 #define for_each_bvec(bvl, bio_vec, iter, start) \
219 ((bvl = bvec_iter_bvec((bio_vec), (iter))), 1); \
220 bvec_iter_advance((bio_vec), &(iter), (bvl).bv_len))
248 struct bio_vec bv; bio_segments()
313 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) bio_get_first_bvec()
318 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) bio_get_last_bvec()
375 unsigned short bip_max_vcnt; /* integrity bio_vec slots */
380 struct bio_vec *bip_vec;
381 struct bio_vec bip_inline_vecs[0];/* embedded bvec array */
522 extern struct bio_vec *bvec_alloc(gfp_t, int, unsigned long *, mempool_t *);
523 extern void bvec_free(mempool_t *, struct bio_vec *, unsigned int);
542 static inline char *bvec_kmap_irq(struct bio_vec *bvec, unsigned long *flags) bvec_kmap_irq()
567 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
88 unsigned short bi_vcnt; /* how many bio_vec's */
98 struct bio_vec *bi_io_vec; /* the actual vec list */
107 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 Dblkdev.h216 struct bio_vec;
1371 struct bio_vec *bprv, unsigned int offset) __bvec_gap_to_prev()
1378 * Check if adding a bio_vec after bprv with offset would create a gap in
1382 struct bio_vec *bprv, unsigned int offset) bvec_gap_to_prev()
1393 struct bio_vec pb, nb; bio_will_gap()
H A Ddevice-mapper.h20 struct bio_vec;
/linux-4.4.14/drivers/scsi/
H A Dsd_dif.c131 struct bio_vec iv; sd_dif_prepare()
183 struct bio_vec iv; sd_dif_complete()
/linux-4.4.14/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 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.h297 struct bio_vec sb_bv[1];
384 struct bio_vec sb_bv[1];
H A Drequest.c41 struct bio_vec bv; bio_csum()
699 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.c1516 sizeof(struct bbio) + sizeof(struct bio_vec) * bch_cache_set_alloc()
/linux-4.4.14/arch/arm64/include/asm/
H A 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/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.4.14/arch/x86/include/asm/
H A 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/block/zram/
H A Dzram_drv.c109 static inline bool is_partial_io(struct bio_vec *bvec) is_partial_io()
138 static void update_position(u32 *index, int *offset, struct bio_vec *bvec) update_position()
175 static void handle_zero_page(struct bio_vec *bvec) handle_zero_page()
598 static int zram_bvec_read(struct zram *zram, struct bio_vec *bvec, zram_bvec_read()
648 static int zram_bvec_write(struct zram *zram, struct bio_vec *bvec, u32 index, zram_bvec_write()
812 static int zram_bvec_rw(struct zram *zram, struct bio_vec *bvec, u32 index, zram_bvec_rw()
845 struct bio_vec bvec; __zram_make_request()
867 struct bio_vec bv; bio_for_each_segment()
943 struct bio_vec bv; zram_rw_page()
/linux-4.4.14/fs/ext4/
H A Dreadpage.c59 struct bio_vec *bv; completion_pages()
103 struct bio_vec *bv; mpage_end_io()
H A Dpage-io.c64 struct bio_vec *bvec; ext4_finish_bio()
/linux-4.4.14/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.4.14/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.4.14/drivers/target/
H A Dtarget_core_file.c255 struct bio_vec *bvec; fd_do_rw()
260 bvec = kcalloc(sgl_nents, sizeof(struct bio_vec), GFP_KERNEL); fd_do_rw()
364 struct bio_vec *bvec; fd_execute_write_same()
388 bvec = kcalloc(nolb, sizeof(struct bio_vec), GFP_KERNEL); fd_execute_write_same()
/linux-4.4.14/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.c514 struct bio_vec bv; dasd_diag_build_cp()
H A Ddcssblk.c823 struct bio_vec bvec; dcssblk_make_request()
H A Ddasd_eckd.c2627 struct bio_vec bv; dasd_eckd_build_cp_cmd_single()
2809 struct bio_vec bv; dasd_eckd_build_cp_cmd_track()
3113 struct bio_vec bv; dasd_eckd_build_cp_tpm_track()
3352 struct bio_vec bv; dasd_raw_build_cp()
3498 struct bio_vec bv; dasd_eckd_free_cp()
/linux-4.4.14/drivers/md/
H A Ddm-log-writes.c124 struct bio_vec vecs[0];
152 struct bio_vec *bvec; log_end_io()
552 struct bio_vec bv; log_writes_map()
582 alloc_size = sizeof(struct pending_block) + sizeof(struct bio_vec) * bio_segments(bio); log_writes_map()
H A Ddm-io.c207 struct bio_vec *bvec = dp->context_ptr; bio_get_page()
215 struct bio_vec *bvec = dp->context_ptr; bio_next_page()
H A Draid1.h153 struct bio_vec *behind_bvecs;
H A Draid1.c149 struct bio_vec *bv; r1buf_pool_alloc()
973 struct bio_vec *bvec; alloc_behind_pages()
974 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), alloc_behind_pages()
1361 struct bio_vec *bvec; make_request()
1949 struct bio_vec *bi; process_checks()
2189 struct bio_vec *vec = r1_bio->behind_bvecs; narrow_write_error()
2197 memcpy(wbio->bi_io_vec, vec, vcnt * sizeof(struct bio_vec)); narrow_write_error()
H A Ddm-bufio.c151 struct bio_vec bio_vec[DM_BUFIO_INLINE_VECS]; member in struct:dm_buffer
607 b->bio.bi_io_vec = b->bio_vec; use_inline_bio()
H A Ddm-crypt.c841 struct bio_vec bv_in = bio_iter_iovec(ctx->bio_in, ctx->iter_in); crypt_convert_block()
842 struct bio_vec bv_out = bio_iter_iovec(ctx->bio_out, ctx->iter_out); crypt_convert_block()
995 struct bio_vec *bvec; crypt_alloc_buffer()
1040 struct bio_vec *bv; crypt_free_buffer_pages()
H A Ddm-verity.c405 struct bio_vec bv = bio_iter_iovec(bio, io->iter); verity_verify_io()
H A Draid5.h245 struct bio_vec vec, rvec;
H A Draid10.c4496 struct bio_vec *bvec = r10_bio->master_bio->bi_io_vec; handle_reshape_read_error()
H A Draid5.c1112 struct bio_vec bvl; async_copy_data()
/linux-4.4.14/arch/m68k/emu/
H A Dnfblock.c65 struct bio_vec bvec; nfhd_make_request()
/linux-4.4.14/drivers/nvdimm/
H A Dblk.c82 struct bio_vec bv; nd_blk_rw_integrity()
172 struct bio_vec bvec; nd_blk_make_request()
H A Dpmem.c71 struct bio_vec bvec; pmem_make_request()
H A Dbtt.c922 struct bio_vec bv; btt_rw_integrity()
1159 struct bio_vec bvec; btt_make_request()
/linux-4.4.14/arch/arm/include/asm/
H A 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/drivers/block/
H A Dps3disk.c97 struct bio_vec bvec; ps3disk_scatter_gather()
132 struct bio_vec bv; ps3disk_submit_request_sg()
H A Dnbd.c224 static inline int sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, sock_send_bvec()
276 struct bio_vec bvec; nbd_send_req()
322 static inline int sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) sock_recv_bvec()
374 struct bio_vec bvec; nbd_read_stat()
H A Dloop.c261 static int lo_write_bvec(struct file *file, struct bio_vec *bvec, loff_t *ppos) lo_write_bvec()
286 struct bio_vec bvec; lo_write_simple()
308 struct bio_vec bvec, b; lo_write_transfer()
338 struct bio_vec bvec; lo_read_simple()
367 struct bio_vec bvec, b; lo_read_transfer()
480 struct bio_vec *bvec; lo_rw_aio()
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()
3790 struct bio_vec bio_vec; __floppy_read_block_0() local
3808 bio.bi_io_vec = &bio_vec; __floppy_read_block_0()
3809 bio_vec.bv_page = page; __floppy_read_block_0()
3810 bio_vec.bv_len = size; __floppy_read_block_0()
3811 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.c954 static void pkt_make_local_copy(struct packet_data *pkt, struct bio_vec *bvec) pkt_make_local_copy()
1301 struct bio_vec *bvec = pkt->w_bio->bi_io_vec; pkt_start_write()
H A Drbd.c1252 struct bio_vec bv; zero_bio_chain()
/linux-4.4.14/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.4.14/arch/xtensa/platforms/iss/
H A Dsimdisk.c107 struct bio_vec bvec; simdisk_make_request()
/linux-4.4.14/arch/powerpc/sysdev/
H A Daxonram.c112 struct bio_vec vec; axon_ram_make_request()
/linux-4.4.14/net/ceph/
H A Dmessenger.c849 struct bio_vec bio_vec; ceph_msg_data_bio_next() local
856 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); ceph_msg_data_bio_next()
858 *page_offset = (size_t) bio_vec.bv_offset; ceph_msg_data_bio_next()
863 *length = (size_t) bio_vec.bv_len; ceph_msg_data_bio_next()
867 return bio_vec.bv_page; ceph_msg_data_bio_next()
874 struct bio_vec bio_vec; ceph_msg_data_bio_advance() local
881 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); ceph_msg_data_bio_advance()
890 if (bytes < bio_vec.bv_len) ceph_msg_data_bio_advance()
/linux-4.4.14/fs/f2fs/
H A Dcrypto.c154 struct bio_vec *bv; completion_pages()
H A Ddata.c32 struct bio_vec *bvec; f2fs_read_end_io()
61 struct bio_vec *bvec; f2fs_write_end_io()
H A Dsegment.c1435 struct bio_vec *bvec; is_merged_page()
/linux-4.4.14/mm/
H A Dpage_io.c263 struct bio_vec bv = { __swap_writepage()
/linux-4.4.14/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.4.14/fs/
H A Dsplice.c966 struct bio_vec *array = kcalloc(nbufs, sizeof(struct bio_vec), iter_file_splice_write()
988 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.c467 struct bio_vec *bvec; dio_bio_complete()
H A Dbuffer.c2966 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; guard_bio_eod()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dlloop.c195 struct bio_vec bvec; do_bio_lustrebacked()
/linux-4.4.14/drivers/block/rsxx/
H A Ddma.c687 struct bio_vec bvec; rsxx_dma_queue_bio()
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c1923 struct bio_vec bvec; _transport_smp_handler()
/linux-4.4.14/drivers/block/drbd/
H A Ddrbd_worker.c303 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_receiver.c1399 * But the scsi layer still expects a bio_vec it can use internally, drbd_submit_peer_request()
1709 struct bio_vec bvec; recv_dless_read()

Completed in 2600 milliseconds