Searched refs:btrfs_bio (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.6/fs/btrfs/ |
D | bio.h | 14 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);
|
D | bio.c | 25 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 …]
|
D | file-item.h | 41 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);
|
D | compression.h | 59 struct btrfs_bio *orig_bbio; 64 struct btrfs_bio bbio; 95 void btrfs_submit_compressed_read(struct btrfs_bio *bbio);
|
D | zoned.h | 64 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()
|
D | compression.c | 59 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()
|
D | disk-io.h | 113 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio);
|
D | extent_io.c | 100 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() 743 struct btrfs_bio *bbio; in alloc_new_bio() 1606 static void extent_buffer_write_end_io(struct btrfs_bio *bbio) in extent_buffer_write_end_io() 1666 struct btrfs_bio *bbio; in write_one_eb() 3863 static void extent_buffer_read_end_io(struct btrfs_bio *bbio) in extent_buffer_read_end_io() 3910 struct btrfs_bio *bbio; in read_extent_buffer_pages()
|
D | scrub.c | 784 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() 1117 static void scrub_write_endio(struct btrfs_bio *bbio) in scrub_write_endio() 1145 struct btrfs_bio *bbio, bool dev_replace) in scrub_submit_write_bio() 1189 struct btrfs_bio *bbio = NULL; in scrub_write_sectors() 1642 struct btrfs_bio *bbio; in scrub_submit_initial_read()
|
D | file-item.c | 344 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()
|
D | btrfs_inode.h | 413 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
|
D | ctree.h | 49 struct btrfs_bio;
|
D | zoned.c | 1615 bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append() 1654 void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
|
D | inode.c | 94 struct btrfs_bio bbio; 2547 static int btrfs_extract_ordered_extent(struct btrfs_bio *bbio, in btrfs_extract_ordered_extent() 3268 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok() 7691 static void btrfs_dio_end_io(struct btrfs_bio *bbio) in btrfs_dio_end_io() 7721 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_dio_submit_io() 9894 static void btrfs_encoded_read_endio(struct btrfs_bio *bbio) in btrfs_encoded_read_endio() 9923 struct btrfs_bio *bbio; in btrfs_encoded_read_regular_fill_pages()
|
D | disk-io.c | 243 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio) in btree_csum_one_bio()
|