Searched refs:btrfs_io_bio (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/fs/btrfs/ |
D | volumes.h | 264 typedef void (btrfs_io_bio_end_io_t) (struct btrfs_io_bio *bio, int err); 265 struct btrfs_io_bio { struct 281 static inline struct btrfs_io_bio *btrfs_io_bio(struct bio *bio) in btrfs_io_bio() argument 283 return container_of(bio, struct btrfs_io_bio, bio); in btrfs_io_bio()
|
D | btrfs_inode.h | 315 blk_status_t (*subio_endio)(struct inode *, struct btrfs_io_bio *,
|
D | extent_io.c | 158 offsetof(struct btrfs_io_bio, bio), in extent_io_init() 2319 struct btrfs_io_bio *btrfs_failed_bio; in btrfs_create_repair_bio() 2320 struct btrfs_io_bio *btrfs_bio; in btrfs_create_repair_bio() 2329 btrfs_failed_bio = btrfs_io_bio(failed_bio); in btrfs_create_repair_bio() 2333 btrfs_bio = btrfs_io_bio(bio); in btrfs_create_repair_bio() 2502 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in end_bio_extent_readpage() 2651 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init() 2653 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init() 2668 btrfs_io_bio_init(btrfs_io_bio(bio)); in btrfs_bio_alloc() 2674 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone() [all …]
|
D | extent_io.h | 85 struct btrfs_io_bio; 101 int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset,
|
D | file-item.c | 145 static void btrfs_io_bio_endio_readpage(struct btrfs_io_bio *bio, int err) in btrfs_io_bio_endio_readpage() 156 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in __btrfs_lookup_bio_sums()
|
D | compression.c | 109 unsigned int mirror = btrfs_io_bio(bio)->mirror_num; in end_compressed_bio_read() 125 ASSERT(btrfs_io_bio(cb->orig_bio)); in end_compressed_bio_read() 126 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
|
D | inode.c | 3188 struct btrfs_io_bio *io_bio, in __readpage_endio_check() 3220 static int btrfs_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btrfs_readpage_end_io_hook() 7799 isector = start - btrfs_io_bio(failed_bio)->logical; in dio_read_error() 7853 struct btrfs_io_bio *io_bio) in __btrfs_correct_data_nocsum() 7915 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_retry_endio() 7956 struct btrfs_io_bio *io_bio, blk_status_t err) in __btrfs_subio_endio_read() 8030 struct btrfs_io_bio *io_bio, blk_status_t err) in btrfs_subio_endio_read() 8049 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_endio_direct_read() 8156 err = dip->subio_endio(dip->inode, btrfs_io_bio(bio), err); in btrfs_end_dio_bio() 8187 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_lookup_and_bind_dio_csum() [all …]
|
D | raid56.c | 1160 bio->bi_iter = btrfs_io_bio(bio)->iter; in index_rbio_pages() 2150 btrfs_io_bio(bio)->mirror_num = mirror_num; in raid56_parity_recover()
|
D | volumes.c | 6011 btrfs_io_bio(bio)->stripe_index; in btrfs_end_bio() 6041 btrfs_io_bio(bio)->mirror_num = bbio->mirror_num; in btrfs_end_bio() 6118 btrfs_io_bio(bio)->stripe_index = dev_nr; in submit_stripe_bio() 6143 btrfs_io_bio(bio)->mirror_num = bbio->mirror_num; in bbio_error()
|
D | disk-io.c | 578 static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btree_readpage_end_io_hook()
|