Home
last modified time | relevance | path

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

/fs/btrfs/
Dvolumes.h315 struct btrfs_io_bio { struct
329 static inline struct btrfs_io_bio *btrfs_io_bio(struct bio *bio) in btrfs_io_bio() argument
331 return container_of(bio, struct btrfs_io_bio, bio); in btrfs_io_bio()
334 static inline void btrfs_io_bio_free_csum(struct btrfs_io_bio *io_bio) in btrfs_io_bio_free_csum()
Ddisk-io.h88 int btrfs_validate_metadata_buffer(struct btrfs_io_bio *io_bio,
Dextent_io.c244 offsetof(struct btrfs_io_bio, bio), in extent_io_init()
2623 struct btrfs_io_bio *failed_io_bio = btrfs_io_bio(failed_bio); in btrfs_repair_one_sector()
2626 struct btrfs_io_bio *repair_io_bio; in btrfs_repair_one_sector()
2645 repair_io_bio = btrfs_io_bio(repair_bio); in btrfs_repair_one_sector()
2981 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in end_bio_extent_readpage()
3120 static inline void btrfs_io_bio_init(struct btrfs_io_bio *btrfs_bio) in btrfs_io_bio_init()
3122 memset(btrfs_bio, 0, offsetof(struct btrfs_io_bio, bio)); in btrfs_io_bio_init()
3136 btrfs_io_bio_init(btrfs_io_bio(bio)); in btrfs_bio_alloc()
3142 struct btrfs_io_bio *btrfs_bio; in btrfs_bio_clone()
3147 btrfs_bio = btrfs_io_bio(new); in btrfs_bio_clone()
[all …]
Dcompression.c183 if (btrfs_io_bio(bio)->device) in check_compressed_csum()
185 btrfs_io_bio(bio)->device, in check_compressed_csum()
212 unsigned int mirror = btrfs_io_bio(bio)->mirror_num; in end_compressed_bio_read()
228 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
Dextent_io.h68 struct btrfs_io_bio;
Dfile-item.c401 struct btrfs_io_bio *btrfs_bio = btrfs_io_bio(bio); in btrfs_lookup_bio_sums()
Draid56.c1117 btrfs_io_bio(bio)->device = stripe->dev; in rbio_add_io_page()
1170 bio->bi_iter = btrfs_io_bio(bio)->iter; in index_rbio_pages()
2168 btrfs_io_bio(bio)->mirror_num = mirror_num; in raid56_parity_recover()
Dinode.c3281 static int check_data_csum(struct inode *inode, struct btrfs_io_bio *io_bio, in check_data_csum()
3333 unsigned int btrfs_verify_data_csum(struct btrfs_io_bio *io_bio, u32 bio_offset, in btrfs_verify_data_csum()
8249 struct btrfs_io_bio *io_bio, in btrfs_check_read_dio_bio()
8328 err = btrfs_check_read_dio_bio(dip->inode, btrfs_io_bio(bio), in btrfs_end_dio_bio()
8380 btrfs_io_bio(bio)->csum = dip->csums + csum_offset; in btrfs_submit_dio_bio()
8496 btrfs_io_bio(bio)->logical = file_offset; in btrfs_submit_direct()
Dvolumes.c6693 struct btrfs_device *dev = btrfs_io_bio(bio)->device; in btrfs_end_bio()
6719 btrfs_io_bio(bio)->mirror_num = bioc->mirror_num; in btrfs_end_bio()
6745 btrfs_io_bio(bio)->device = dev; in submit_stripe_bio()
6781 btrfs_io_bio(bio)->mirror_num = bioc->mirror_num; in bioc_error()
Dctree.h3177 unsigned int btrfs_verify_data_csum(struct btrfs_io_bio *io_bio, u32 bio_offset,
Ddisk-io.c623 int btrfs_validate_metadata_buffer(struct btrfs_io_bio *io_bio, in btrfs_validate_metadata_buffer()