Home
last modified time | relevance | path

Searched refs:btrfs_bio (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Dbio.h14 struct btrfs_bio;
26 typedef void (*btrfs_bio_end_io_t)(struct btrfs_bio *bbio);
32 struct btrfs_bio { struct
87 static inline struct btrfs_bio *btrfs_bio(struct bio *bio) in btrfs_bio() function
89 return container_of(bio, struct btrfs_bio, bio); in btrfs_bio()
95 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info,
97 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf,
100 void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status);
105 void btrfs_submit_bio(struct btrfs_bio *bbio, int mirror_num);
106 void btrfs_submit_repair_write(struct btrfs_bio *bbio, int mirror_num, bool dev_replace);
H A Dbio.c25 struct btrfs_bio *bbio;
31 static inline bool is_data_bbio(struct btrfs_bio *bbio) in is_data_bbio()
36 static bool bbio_has_ordered_extent(struct btrfs_bio *bbio) in bbio_has_ordered_extent()
45 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, in btrfs_bio_init()
48 memset(bbio, 0, offsetof(struct btrfs_bio, bio)); in btrfs_bio_init()
62 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf, in btrfs_bio_alloc()
66 struct btrfs_bio *bbio; in btrfs_bio_alloc()
70 bbio = btrfs_bio(bio); in btrfs_bio_alloc()
75 static struct btrfs_bio *btrfs_split_bio(struct btrfs_fs_info *fs_info, in btrfs_split_bio()
76 struct btrfs_bio *orig_bbio, in btrfs_split_bio()
[all …]
H A Dfile-item.h41 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio);
52 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio);
53 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio);
H A Dcompression.h59 struct btrfs_bio *orig_bbio;
64 struct btrfs_bio bbio;
95 void btrfs_submit_compressed_read(struct btrfs_bio *bbio);
H A Dzoned.h64 bool btrfs_use_zone_append(struct btrfs_bio *bbio);
65 void btrfs_record_physical_zoned(struct btrfs_bio *bbio);
186 static inline bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append()
191 static inline void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
H A Dcompression.c59 static inline struct compressed_bio *to_compressed_bio(struct btrfs_bio *bbio) in to_compressed_bio()
68 struct btrfs_bio *bbio; in alloc_compressed_bio()
70 bbio = btrfs_bio(bio_alloc_bioset(NULL, BTRFS_MAX_COMPRESSED_PAGES, op, in alloc_compressed_bio()
172 static void end_compressed_bio_read(struct btrfs_bio *bbio) in end_compressed_bio_read()
245 static void end_compressed_bio_write(struct btrfs_bio *bbio) in end_compressed_bio_write()
467 void btrfs_submit_compressed_read(struct btrfs_bio *bbio) in btrfs_submit_compressed_read()
H A Ddisk-io.h114 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio);
H A Dextent_io.c100 struct btrfs_bio *bbio;
110 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_one_bio()
133 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_write_bio()
460 static void end_bio_extent_writepage(struct btrfs_bio *bbio) in end_bio_extent_writepage()
585 static void end_bio_extent_readpage(struct btrfs_bio *bbio) in end_bio_extent_readpage()
738 struct btrfs_bio *bbio; in alloc_new_bio()
1601 static void extent_buffer_write_end_io(struct btrfs_bio *bbio) in extent_buffer_write_end_io()
1661 struct btrfs_bio *bbio; in write_one_eb()
4068 static void extent_buffer_read_end_io(struct btrfs_bio *bbio) in extent_buffer_read_end_io()
4115 struct btrfs_bio *bbio; in read_extent_buffer_pages()
H A Dscrub.c784 static void scrub_repair_read_endio(struct btrfs_bio *bbio) in scrub_repair_read_endio()
822 struct btrfs_bio *bbio = NULL; in scrub_stripe_submit_repair_read()
1099 static void scrub_read_endio(struct btrfs_bio *bbio) in scrub_read_endio()
1127 static void scrub_write_endio(struct btrfs_bio *bbio) in scrub_write_endio()
1155 struct btrfs_bio *bbio, bool dev_replace) in scrub_submit_write_bio()
1199 struct btrfs_bio *bbio = NULL; in scrub_write_sectors()
1656 struct btrfs_bio *bbio; in scrub_submit_initial_read()
H A Dfile-item.c344 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio) in btrfs_lookup_bio_sums()
732 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio) in btrfs_csum_one_bio()
791 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio) in btrfs_alloc_dummy_sum()
H A Dbtrfs_inode.h418 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
H A Dctree.h49 struct btrfs_bio;
H A Dzoned.c1625 bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append()
1664 void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
H A Dinode.c94 struct btrfs_bio bbio;
2549 static int btrfs_extract_ordered_extent(struct btrfs_bio *bbio, in btrfs_extract_ordered_extent()
3285 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok()
7735 static void btrfs_dio_end_io(struct btrfs_bio *bbio) in btrfs_dio_iomap_end()
7765 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_dio_submit_io()
9958 static void btrfs_encoded_read_endio(struct btrfs_bio *bbio)
9987 struct btrfs_bio *bbio; in btrfs_encoded_read_regular_fill_pages()
H A Ddisk-io.c243 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio) in btree_csum_one_bio()