/linux-master/include/linux/ |
H A D | bio.h | 9 /* struct bio, bio_vec and BIO_* flags are defined in blk_types.h */ 22 #define bio_prio(bio) (bio)->bi_ioprio 23 #define bio_set_prio(bio, prio) ((bio)->bi_ioprio = prio) 25 #define bio_iter_iovec(bio, iter) \ 26 bvec_iter_bvec((bio)->bi_io_vec, (iter)) 28 #define bio_iter_page(bio, iter) \ 29 bvec_iter_page((bio)->bi_io_vec, (iter)) 30 #define bio_iter_len(bio, ite 54 bio_has_data(struct bio *bio) argument 66 bio_no_advance_iter(const struct bio *bio) argument 73 bio_data(struct bio *bio) argument 81 bio_next_segment(const struct bio *bio, struct bvec_iter_all *iter) argument 98 bio_advance_iter(const struct bio *bio, struct bvec_iter *iter, unsigned int bytes) argument 111 bio_advance_iter_single(const struct bio *bio, struct bvec_iter *iter, unsigned int bytes) argument 136 bio_advance(struct bio *bio, unsigned int nbytes) argument 174 bio_segments(struct bio *bio) argument 214 bio_get(struct bio *bio) argument 221 bio_cnt_set(struct bio *bio, unsigned int count) argument 230 bio_flagged(struct bio *bio, unsigned int bit) argument 235 bio_set_flag(struct bio *bio, unsigned int bit) argument 240 bio_clear_flag(struct bio *bio, unsigned int bit) argument 245 bio_first_bvec_all(struct bio *bio) argument 251 bio_first_page_all(struct bio *bio) argument 256 bio_first_folio_all(struct bio *bio) argument 261 bio_last_bvec_all(struct bio *bio) argument 284 bio_first_folio(struct folio_iter *fi, struct bio *bio, int i) argument 303 bio_next_folio(struct folio_iter *fi, struct bio *bio) argument 356 bio_integrity(struct bio *bio) argument 364 bio_integrity_flagged(struct bio *bio, enum bip_flags flag) argument 403 bio_next_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs) argument 444 bio_io_error(struct bio *bio) argument 450 bio_wouldblock_error(struct bio *bio) argument 503 zero_fill_bio(struct bio *bio) argument 508 bio_release_pages(struct bio *bio, bool mark_dirty) argument 524 bio_associate_blkg(struct bio *bio) argument 525 bio_associate_blkg_from_css(struct bio *bio, struct cgroup_subsys_state *css) argument 530 blkcg_punt_bio_submit(struct bio *bio) argument 536 bio_set_dev(struct bio *bio, struct block_device *bdev) argument 575 struct bio *bio; local 583 bio_list_add(struct bio_list *bl, struct bio *bio) argument 595 bio_list_add_head(struct bio_list *bl, struct bio *bio) argument 639 struct bio *bio = bl->head; local 654 struct bio *bio = bl->head; local 665 bio_inc_remaining(struct bio *bio) argument 739 bio_integrity(struct bio *bio) argument 754 bio_integrity_prep(struct bio *bio) argument 759 bio_integrity_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp_mask) argument 765 bio_integrity_advance(struct bio *bio, unsigned int bytes_done) argument 771 bio_integrity_trim(struct bio *bio) argument 781 bio_integrity_flagged(struct bio *bio, enum bip_flags flag) argument 786 bio_integrity_alloc(struct bio * bio, gfp_t gfp, unsigned int nr) argument 792 bio_integrity_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 798 bio_integrity_map_user(struct bio *bio, void __user *ubuf, ssize_t len, u32 seed) argument 813 bio_set_polled(struct bio *bio, struct kiocb *kiocb) argument 820 bio_clear_polled(struct bio *bio) argument [all...] |
H A D | blk-cgroup.h | 19 struct bio; 34 struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio); 42 static inline struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio) argument 49 char *blkcg_get_fc_appid(struct bio *bio);
|
H A D | blk-crypto.h | 63 * A bio_crypt_ctx specifies that the contents of the bio will be encrypted (for 77 static inline bool bio_has_crypt_ctx(struct bio *bio) argument 79 return bio->bi_crypt_context; 82 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, 108 static inline bool bio_has_crypt_ctx(struct bio *bio) argument 115 int __bio_crypt_clone(struct bio *dst, struct bio *sr [all...] |
/linux-master/block/ |
H A D | blk-ioprio.h | 9 struct bio; 14 void blkcg_set_ioprio(struct bio *bio); 23 static inline void blkcg_set_ioprio(struct bio *bio) argument
|
H A D | bio.c | 7 #include <linux/bio.h> 31 struct bio *free_list; 32 struct bio *free_list_irq; 67 * fs_bio_set is the bio_set containing bio and iovec memory pools used by 92 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", size); 114 return bs->front_pad + sizeof(struct bio) + bs->back_pad; 143 if (WARN(!bslab, KERN_ERR "bio: unable to find slab!\n")) 213 void bio_uninit(struct bio *bio) argument 216 if (bio 228 bio_free(struct bio *bio) argument 245 bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, unsigned short max_vecs, blk_opf_t opf) argument 300 bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) argument 312 __bio_chain_endio(struct bio *bio) argument 322 bio_chain_endio(struct bio *bio) argument 338 bio_chain(struct bio *bio, struct bio *parent) argument 348 blk_next_bio(struct bio *bio, struct block_device *bdev, unsigned int nr_pages, blk_opf_t opf, gfp_t gfp) argument 365 struct bio *bio; local 382 struct bio *bio; local 437 struct bio *bio; local 497 struct bio *bio; local 601 struct bio *bio; local 609 zero_fill_bio_iter(struct bio *bio, struct bvec_iter start) argument 629 bio_truncate(struct bio *bio, unsigned new_size) argument 681 guard_bio_eod(struct bio *bio) argument 707 struct bio *bio; local 760 bio_put_percpu_cache(struct bio *bio) argument 800 bio_put(struct bio *bio) argument 814 __bio_clone(struct bio *bio, struct bio *bio_src, gfp_t gfp) argument 851 struct bio *bio; local 879 bio_init_clone(struct block_device *bdev, struct bio *bio, struct bio *bio_src, gfp_t gfp) argument 900 bio_full(struct bio *bio, unsigned len) argument 968 bio_add_hw_page(struct request_queue *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset, unsigned int max_sectors, bool *same_page) argument 1023 bio_add_pc_page(struct request_queue *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 1048 bio_add_zone_append_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 1075 __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off) argument 1097 bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 1121 bio_add_folio_nofail(struct bio *bio, struct folio *folio, size_t len, size_t off) argument 1143 bio_add_folio(struct bio *bio, struct folio *folio, size_t len, size_t off) argument 1152 __bio_release_pages(struct bio *bio, bool mark_dirty) argument 1175 bio_iov_bvec_set(struct bio *bio, struct iov_iter *iter) argument 1195 bio_iov_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 1215 bio_iov_add_zone_append_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 1241 __bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter) argument 1333 bio_iov_iter_get_pages(struct bio *bio, struct iov_iter *iter) argument 1356 submit_bio_wait_endio(struct bio *bio) argument 1372 submit_bio_wait(struct bio *bio) argument 1387 __bio_advance(struct bio *bio, unsigned bytes) argument 1435 bio_free_pages(struct bio *bio) argument 1468 bio_set_pages_dirty(struct bio *bio) argument 1502 struct bio *bio, *next; local 1517 bio_check_pages_dirty(struct bio *bio) argument 1539 bio_remaining_done(struct bio *bio) argument 1571 bio_endio(struct bio *bio) argument 1621 bio_split(struct bio *bio, int sectors, gfp_t gfp, struct bio_set *bs) argument 1660 bio_trim(struct bio *bio, sector_t offset, sector_t size) argument [all...] |
H A D | blk-crypto-internal.h | 9 #include <linux/bio.h> 31 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio); 37 struct bio *bio) 40 bio->bi_crypt_context); 44 struct bio *bio) 46 return bio_crypt_ctx_mergeable(bio->bi_crypt_context, 47 bio 36 bio_crypt_ctx_back_mergeable(struct request *req, struct bio *bio) argument 43 bio_crypt_ctx_front_mergeable(struct request *req, struct bio *bio) argument 96 bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio) argument 102 bio_crypt_ctx_front_mergeable(struct request *req, struct bio *bio) argument 108 bio_crypt_ctx_back_mergeable(struct request *req, struct bio *bio) argument 135 bio_crypt_advance(struct bio *bio, unsigned int bytes) argument 142 bio_crypt_free_ctx(struct bio *bio) argument 148 bio_crypt_do_front_merge(struct request *rq, struct bio *bio) argument 200 blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, gfp_t gfp_mask) argument [all...] |
H A D | blk-map.c | 8 #include <linux/bio.h> 41 * bio_copy_from_iter - copy all pages from iov_iter to bio 42 * @bio: The &struct bio which describes the I/O as destination 45 * Copy all pages from iov_iter to bio. 48 static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter) argument 53 bio_for_each_segment_all(bvec, bio, iter_all) { 72 * bio_copy_to_iter - copy all pages from bio to iov_iter 73 * @bio 79 bio_copy_to_iter(struct bio *bio, struct iov_iter iter) argument 109 bio_uncopy_user(struct bio *bio) argument 136 struct bio *bio; local 243 blk_mq_map_bio_put(struct bio *bio) argument 256 struct bio *bio; local 278 struct bio *bio; local 359 bio_invalidate_vmalloc_pages(struct bio *bio) argument 372 bio_map_kern_endio(struct bio *bio) argument 399 struct bio *bio; local 442 bio_copy_kern_endio(struct bio *bio) argument 449 bio_copy_kern_endio_read(struct bio *bio) argument 480 struct bio *bio; local 537 blk_rq_append_bio(struct request *rq, struct bio *bio) argument 570 struct bio *bio; local 638 struct bio *bio = NULL; local 746 blk_rq_unmap_user(struct bio *bio) argument 787 struct bio *bio; local [all...] |
H A D | bounce.c | 13 #include <linux/bio.h> 76 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) 81 * The bio of @from is created by bounce, so we can iterate 102 static void bounce_end_io(struct bio *bio) argument 104 struct bio *bio_orig = bio->bi_private; 112 bio_for_each_segment_all(bvec, bio, iter_all) { 121 bio_orig->bi_status = bio 126 bounce_end_io_write(struct bio *bio) argument 131 bounce_end_io_read(struct bio *bio) argument 145 struct bio *bio; local 205 struct bio *bio; local [all...] |
H A D | blk-lib.c | 7 #include <linux/bio.h> 32 * Align the bio size to the discard granularity to make splitting the bio 39 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop) 41 struct bio *bio = *biop; local 67 bio = blk_next_bio(bio, bdev, 0, REQ_OP_DISCARD, gfp_mask); 68 bio->bi_iter.bi_sector = sector; 69 bio 100 struct bio *bio = NULL; local 122 struct bio *bio = *biop; local 169 struct bio *bio = *biop; local 254 struct bio *bio; local 305 struct bio *bio = NULL; local [all...] |
H A D | blk-merge.c | 7 #include <linux/bio.h> 21 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) argument 23 *bv = mp_bvec_iter_bvec(bio->bi_io_vec, bio->bi_iter); 26 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) argument 28 struct bvec_iter iter = bio->bi_iter; 31 bio_get_first_bvec(bio, bv); 32 if (bv->bv_len == bio 88 req_gap_back_merge(struct request *req, struct bio *bio) argument 93 req_gap_front_merge(struct request *req, struct bio *bio) argument 108 bio_split_discard(struct bio *bio, const struct queue_limits *lim, unsigned *nsegs, struct bio_set *bs) argument 145 bio_split_write_zeroes(struct bio *bio, const struct queue_limits *lim, unsigned *nsegs, struct bio_set *bs) argument 165 get_max_io_size(struct bio *bio, const struct queue_limits *lim) argument 275 bio_split_rw(struct bio *bio, const struct queue_limits *lim, unsigned *segs, struct bio_set *bs, unsigned max_bytes) argument 350 __bio_split_to_limits(struct bio *bio, const struct queue_limits *lim, unsigned int *nr_segs) argument 397 bio_split_to_limits(struct bio *bio) argument 422 struct bio *bio = rq->bio; local 523 __blk_bios_map_sg(struct request_queue *q, struct bio *bio, struct scatterlist *sglist, struct scatterlist **sg) argument 604 ll_new_hw_segment(struct request *req, struct bio *bio, unsigned int nr_phys_segs) argument 632 ll_back_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs) argument 650 ll_front_merge_fn(struct request *req, struct bio *bio, unsigned int nr_segs) argument 732 struct bio *bio; local 750 bio_failfast(const struct bio *bio) argument 763 blk_update_mixed_merge(struct request *req, struct bio *bio, bool front_merge) argument 920 blk_rq_merge_ok(struct request *rq, struct bio *bio) argument 954 blk_try_merge(struct request *rq, struct bio *bio) argument 981 bio_attempt_back_merge(struct request *req, struct bio *bio, unsigned int nr_segs) argument 1007 bio_attempt_front_merge(struct request *req, struct bio *bio, unsigned int nr_segs) argument 1035 bio_attempt_discard_merge(struct request_queue *q, struct request *req, struct bio *bio) argument 1060 blk_attempt_bio_merge(struct request_queue *q, struct request *rq, struct bio *bio, unsigned int nr_segs, bool sched_allow_merge) argument 1107 blk_attempt_plug_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs) argument 1139 blk_bio_list_merge(struct request_queue *q, struct list_head *list, struct bio *bio, unsigned int nr_segs) argument 1164 blk_mq_sched_try_merge(struct request_queue *q, struct bio *bio, unsigned int nr_segs, struct request **merged_request) argument [all...] |
H A D | blk-throttle.h | 58 THROTL_TG_CANCELING = 1 << 2, /* starts to cancel bio */ 93 * will unthrottle and is ready to dispatch more bio. It is used as 116 /* Number of bio's dispatched in current slice */ 174 static inline bool blk_throtl_bio(struct bio *bio) { return false; } argument 180 bool __blk_throtl_bio(struct bio *bio); 183 static inline bool blk_should_throtl(struct bio *bio) argument 185 struct throtl_grp *tg = blkg_to_tg(bio 207 blk_throtl_bio(struct bio *bio) argument [all...] |
H A D | blk-rq-qos.h | 38 void (*throttle)(struct rq_qos *, struct bio *); 39 void (*track)(struct rq_qos *, struct request *, struct bio *); 40 void (*merge)(struct rq_qos *, struct request *, struct bio *); 44 void (*done_bio)(struct rq_qos *, struct bio *); 45 void (*cleanup)(struct rq_qos *, struct bio *); 103 void __rq_qos_cleanup(struct rq_qos *rqos, struct bio *bio); 107 void __rq_qos_throttle(struct rq_qos *rqos, struct bio *bio); 108 void __rq_qos_track(struct rq_qos *rqos, struct request *rq, struct bio *bi 113 rq_qos_cleanup(struct request_queue *q, struct bio *bio) argument 137 rq_qos_done_bio(struct bio *bio) argument 147 rq_qos_throttle(struct request_queue *q, struct bio *bio) argument 155 rq_qos_track(struct request_queue *q, struct request *rq, struct bio *bio) argument 162 rq_qos_merge(struct request_queue *q, struct request *rq, struct bio *bio) argument [all...] |
/linux-master/fs/f2fs/ |
H A D | iostat.h | 29 unsigned int bio_cnt[MAX_IO_TYPE][NR_PAGE_TYPE]; /* bio count */ 45 static inline void iostat_update_submit_ctx(struct bio *bio, argument 48 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; 54 static inline struct bio_post_read_ctx *get_post_read_ctx(struct bio *bio) argument 56 struct bio_iostat_ctx *iostat_ctx = bio->bi_private; 61 extern void iostat_update_and_unbind_ctx(struct bio *bio); 63 struct bio *bi 71 iostat_update_and_unbind_ctx(struct bio *bio) argument 72 iostat_alloc_and_bind_ctx(struct f2fs_sb_info *sbi, struct bio *bio, struct bio_post_read_ctx *ctx) argument 74 iostat_update_submit_ctx(struct bio *bio, enum page_type type) argument 76 get_post_read_ctx(struct bio *bio) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-bio-record.h | 11 #include <linux/bio.h> 15 * There are lots of mutable fields in the bio struct that get 17 * such as multipath, may wish to resubmit a bio on error. The 19 * original bio state. 33 static inline void dm_bio_record(struct dm_bio_details *bd, struct bio *bio) argument 35 bd->bi_bdev = bio->bi_bdev; 36 bd->bi_flags = bio->bi_flags; 37 bd->bi_iter = bio->bi_iter; 38 bd->__bi_remaining = atomic_read(&bio 45 dm_bio_restore(struct dm_bio_details *bd, struct bio *bio) argument [all...] |
H A D | dm-io-rewind.c | 6 #include <linux/bio.h> 49 * @bio: bio whose integrity vector to update 56 static void dm_bio_integrity_rewind(struct bio *bio, unsigned int bytes_done) argument 58 struct bio_integrity_payload *bip = bio_integrity(bio); 59 struct blk_integrity *bi = blk_get_integrity(bio->bi_bdev->bd_disk); 68 static inline void dm_bio_integrity_rewind(struct bio *bio, argument 94 static void dm_bio_crypt_rewind(struct bio *bi argument 104 dm_bio_crypt_rewind(struct bio *bio, unsigned int bytes) argument 110 dm_bio_rewind_iter(const struct bio *bio, struct bvec_iter *iter, unsigned int bytes) argument 132 dm_bio_rewind(struct bio *bio, unsigned int bytes) argument [all...] |
H A D | dm-zero.c | 12 #include <linux/bio.h> 38 static int zero_map(struct dm_target *ti, struct bio *bio) argument 40 switch (bio_op(bio)) { 42 if (bio->bi_opf & REQ_RAHEAD) { 46 zero_fill_bio(bio); 56 bio_endio(bio); 58 /* accepted bio, don't make new request */
|
/linux-master/drivers/md/bcache/ |
H A D | io.c | 17 void bch_bbio_free(struct bio *bio, struct cache_set *c) argument 19 struct bbio *b = container_of(bio, struct bbio, bio); 24 struct bio *bch_bbio_alloc(struct cache_set *c) 27 struct bio *bio = &b->bio; local 29 bio_init(bio, NULL, bio 35 __bch_submit_bbio(struct bio *bio, struct cache_set *c) argument 46 bch_submit_bbio(struct bio *bio, struct cache_set *c, struct bkey *k, unsigned int ptr) argument 56 bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) argument 137 bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, blk_status_t error, const char *m) argument 167 bch_bbio_endio(struct cache_set *c, struct bio *bio, blk_status_t error, const char *m) argument [all...] |
H A D | request.h | 8 struct bio *bio; member in struct:data_insert_op 40 void cached_dev_submit_bio(struct bio *bio); 43 void flash_dev_submit_bio(struct bio *bio);
|
H A D | movinggc.c | 19 struct bbio bio; member in struct:moving_io 48 struct bio *bio = &io->bio.bio; local 50 bio_free_pages(bio); 62 static void read_moving_endio(struct bio *bio) argument 64 struct bbio *b = container_of(bio, struct bbio, bio); 80 struct bio *bio = &io->bio.bio; local 119 struct bio *bio = &io->bio.bio; local 130 struct bio *bio; local [all...] |
H A D | debug.h | 5 struct bio; 12 void bch_data_verify(struct cached_dev *dc, struct bio *bio); 21 static inline void bch_data_verify(struct cached_dev *dc, struct bio *bio) {} argument
|
H A D | request.c | 40 static void bio_csum(struct bio *bio, struct bkey *k) argument 46 bio_for_each_segment(bv, bio, iter) { 111 struct bio *bio = op->bio; local 114 bio_sectors(bio), (uint64_t) bio->bi_iter.bi_sector); 116 while (bio_sectors(bio)) { 117 unsigned int sectors = min(bio_sectors(bio), 169 bch_data_insert_endio(struct bio *bio) argument 190 struct bio *bio = op->bio, *n; local 363 check_should_bypass(struct cached_dev *dc, struct bio *bio) argument 467 struct bbio bio; member in struct:search 485 bch_cache_read_endio(struct bio *bio) argument 516 struct bio *n, *bio = &s->bio.bio; local 581 struct bio *bio = &s->bio.bio; local 621 request_endio(struct bio *bio) argument 637 backing_request_endio(struct bio *bio) argument 686 struct bio *bio = &s->bio.bio; local 715 search_alloc(struct bio *bio, struct bcache_device *d, struct block_device *orig_bdev, unsigned long start_time) argument 779 struct bio *bio = &s->bio.bio; local 878 cached_dev_cache_miss(struct btree *b, struct search *s, struct bio *bio, unsigned int sectors) argument 970 struct bio *bio = &s->bio.bio; local 1054 struct bio *bio = &s->bio.bio; local 1074 detached_dev_end_io(struct bio *bio) argument 1096 detached_dev_do_request(struct bcache_device *d, struct bio *bio, struct block_device *orig_bdev, unsigned long start_time) argument 1170 cached_dev_submit_bio(struct bio *bio) argument 1251 flash_dev_cache_miss(struct btree *b, struct search *s, struct bio *bio, unsigned int sectors) argument 1278 flash_dev_submit_bio(struct bio *bio) argument [all...] |
/linux-master/fs/xfs/ |
H A D | xfs_bio_io.c | 24 struct bio *bio; local 29 bio = bio_alloc(bdev, bio_max_vecs(left), op | REQ_META | REQ_SYNC, 31 bio->bi_iter.bi_sector = sector; 38 while (bio_add_page(bio, page, len, off) != len) { 39 struct bio *prev = bio; 41 bio = bio_alloc(prev->bi_bdev, bio_max_vecs(left), 43 bio->bi_iter.bi_sector = bio_end_sector(prev); 44 bio_chain(prev, bio); [all...] |
/linux-master/fs/ext4/ |
H A D | readpage.c | 36 #include <linux/bio.h> 63 struct bio *bio; member in struct:bio_post_read_ctx 69 static void __read_end_io(struct bio *bio) argument 73 bio_for_each_folio_all(fi, bio) 74 folio_end_read(fi.folio, bio->bi_status == 0); 75 if (bio->bi_private) 76 mempool_free(bio->bi_private, bio_post_read_ctx_pool); 77 bio_put(bio); 86 struct bio *bio = ctx->bio; local 98 struct bio *bio = ctx->bio; local 145 bio_post_read_required(struct bio *bio) argument 162 mpage_end_io(struct bio *bio) argument 180 ext4_set_bio_post_read_ctx(struct bio *bio, const struct inode *inode, pgoff_t first_idx) argument 214 struct bio *bio = NULL; local [all...] |
/linux-master/fs/btrfs/ |
H A D | bio.c | 7 #include <linux/bio.h> 8 #include "bio.h" 37 return is_data_bbio(bbio) && btrfs_op(&bbio->bio) == BTRFS_MAP_WRITE; 41 * Initialize a btrfs_bio structure. This skips the embedded bio itself as it 47 memset(bbio, 0, offsetof(struct btrfs_bio, bio)); 66 struct bio *bio; local 68 bio = bio_alloc_bioset(NULL, nr_vecs, opf, GFP_NOFS, &btrfs_bioset); 69 bbio = btrfs_bio(bio); 79 struct bio *bi local 332 btrfs_log_dev_io_error(struct bio *bio, struct btrfs_device *dev) argument 347 btrfs_end_io_wq(struct btrfs_fs_info *fs_info, struct bio *bio) argument 366 btrfs_simple_end_io(struct bio *bio) argument 387 btrfs_raid56_end_io(struct bio *bio) argument 402 btrfs_orig_write_end_io(struct bio *bio) argument 431 btrfs_clone_write_end_io(struct bio *bio) argument 447 btrfs_submit_dev_bio(struct btrfs_device *dev, struct bio *bio) argument 484 struct bio *orig_bio = bioc->orig_bio, *bio; local 505 __btrfs_submit_bio(struct bio *bio, struct btrfs_io_context *bioc, struct btrfs_io_stripe *smap, int mirror_num) argument 587 struct bio *bio = &async->bbio->bio; local 672 struct bio *bio = &bbio->bio; local 790 struct bio bio; local [all...] |
/linux-master/fs/squashfs/ |
H A D | block.c | 22 #include <linux/bio.h> 33 static int copy_bio_to_actor(struct bio *bio, argument 46 if (WARN_ON_ONCE(!bio_next_segment(bio, &iter_all))) 70 if (!bio_next_segment(bio, &iter_all)) 79 static int squashfs_bio_read_cached(struct bio *fullbio, 87 struct bio *bio = NULL; local 114 if (!bio || idx != end_idx) { 115 struct bio *ne 202 struct bio *bio; local 267 struct bio *bio = NULL; local [all...] |