Home
last modified time | relevance | path

Searched refs:btrfs_io_bio (Results 1 – 10 of 10) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dvolumes.h278 typedef void (btrfs_io_bio_end_io_t) (struct btrfs_io_bio *bio, int err);
279 struct btrfs_io_bio { struct
295 static inline struct btrfs_io_bio *btrfs_io_bio(struct bio *bio) in btrfs_io_bio() argument
297 return container_of(bio, struct btrfs_io_bio, bio); in btrfs_io_bio()
Dbtrfs_inode.h322 blk_status_t (*subio_endio)(struct inode *, struct btrfs_io_bio *,
Dextent_io.h85 struct btrfs_io_bio;
101 int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset,
Dextent_io.c212 offsetof(struct btrfs_io_bio, bio), in extent_io_init()
2374 struct btrfs_io_bio *btrfs_failed_bio; in btrfs_create_repair_bio()
2375 struct btrfs_io_bio *btrfs_bio; in btrfs_create_repair_bio()
2384 btrfs_failed_bio = btrfs_io_bio(failed_bio); in btrfs_create_repair_bio()
2388 btrfs_bio = btrfs_io_bio(bio); in btrfs_create_repair_bio()
2557 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in end_bio_extent_readpage()
2706 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init()
2708 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init()
2723 btrfs_io_bio_init(btrfs_io_bio(bio)); in btrfs_bio_alloc()
2729 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone()
[all …]
Dfile-item.c145 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()
Dcompression.c125 unsigned int mirror = btrfs_io_bio(bio)->mirror_num; in end_compressed_bio_read()
141 ASSERT(btrfs_io_bio(cb->orig_bio)); in end_compressed_bio_read()
142 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
Dinode.c3268 struct btrfs_io_bio *io_bio, in __readpage_endio_check()
3300 static int btrfs_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btrfs_readpage_end_io_hook()
7968 isector = start - btrfs_io_bio(failed_bio)->logical; in dio_read_error()
8022 struct btrfs_io_bio *io_bio) in __btrfs_correct_data_nocsum()
8084 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_retry_endio()
8125 struct btrfs_io_bio *io_bio, blk_status_t err) in __btrfs_subio_endio_read()
8199 struct btrfs_io_bio *io_bio, blk_status_t err) in btrfs_subio_endio_read()
8218 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_endio_direct_read()
8325 err = dip->subio_endio(dip->inode, btrfs_io_bio(bio), err); in btrfs_end_dio_bio()
8356 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_lookup_and_bind_dio_csum()
[all …]
Draid56.c1169 bio->bi_iter = btrfs_io_bio(bio)->iter; in index_rbio_pages()
2188 btrfs_io_bio(bio)->mirror_num = mirror_num; in raid56_parity_recover()
Dvolumes.c6046 btrfs_io_bio(bio)->stripe_index; in btrfs_end_bio()
6076 btrfs_io_bio(bio)->mirror_num = bbio->mirror_num; in btrfs_end_bio()
6147 btrfs_io_bio(bio)->stripe_index = dev_nr; in submit_stripe_bio()
6172 btrfs_io_bio(bio)->mirror_num = bbio->mirror_num; in bbio_error()
Ddisk-io.c580 static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btree_readpage_end_io_hook()