Searched refs:btrfs_bio (Results 1 – 14 of 14) sorted by relevance
/linux/fs/btrfs/ |
H A D | bio.h | 15 struct btrfs_bio; 28 typedef void (*btrfs_bio_end_io_t)(struct btrfs_bio *bbio); 34 struct btrfs_bio { struct 92 static inline struct btrfs_bio *btrfs_bio(struct bio *bio) in btrfs_bio() argument 94 return container_of(bio, struct btrfs_bio, bio); in btrfs_bio() 100 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, 102 struct btrfs_bio *btrfs_bio_alloc(unsigned int nr_vecs, blk_opf_t opf, 105 void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status); 110 void btrfs_submit_bbio(struct btrfs_bio *bbio, int mirror_num); 111 void btrfs_submit_repair_write(struct btrfs_bio *bbio, int mirror_num, bool dev_replace);
|
H A D | bio.c | 24 struct btrfs_bio *bbio; 30 static inline bool is_data_bbio(struct btrfs_bio *bbio) in is_data_bbio() 35 static bool bbio_has_ordered_extent(struct btrfs_bio *bbio) in bbio_has_ordered_extent() 44 void btrfs_bio_init(struct btrfs_bio *bbio, struct btrfs_fs_info *fs_info, in btrfs_bio_init() 47 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 D | file-item.h | 14 struct btrfs_bio; 54 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio); 65 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio); 66 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio);
|
H A D | compression.h | 21 struct btrfs_bio; 67 struct btrfs_bio *orig_bbio; 72 struct btrfs_bio bbio; 108 void btrfs_submit_compressed_read(struct btrfs_bio *bbio);
|
H A D | zoned.h | 22 struct btrfs_bio; 76 bool btrfs_use_zone_append(struct btrfs_bio *bbio); 77 void btrfs_record_physical_zoned(struct btrfs_bio *bbio); 191 static inline bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append() 196 static inline void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
|
H A D | direct-io.c | 28 struct btrfs_bio bbio; 644 static void btrfs_dio_end_io(struct btrfs_bio *bbio) in btrfs_dio_end_io() 671 static int btrfs_extract_ordered_extent(struct btrfs_bio *bbio, in btrfs_extract_ordered_extent() 712 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_dio_submit_io()
|
H A D | compression.c | 57 static inline struct compressed_bio *to_compressed_bio(struct btrfs_bio *bbio) in to_compressed_bio() 66 struct btrfs_bio *bbio; in alloc_compressed_bio() 68 bbio = btrfs_bio(bio_alloc_bioset(NULL, BTRFS_MAX_COMPRESSED_PAGES, op, in alloc_compressed_bio() 264 static void end_bbio_compressed_read(struct btrfs_bio *bbio) in end_bbio_compressed_read() 337 static void end_bbio_compressed_write(struct btrfs_bio *bbio) in end_bbio_compressed_write() 566 void btrfs_submit_compressed_read(struct btrfs_bio *bbio) in btrfs_submit_compressed_read()
|
H A D | scrub.c | 783 static void scrub_repair_read_endio(struct btrfs_bio *bbio) in scrub_repair_read_endio() 821 struct btrfs_bio *bbio = NULL; in scrub_stripe_submit_repair_read() 1098 static void scrub_read_endio(struct btrfs_bio *bbio) in scrub_read_endio() 1126 static void scrub_write_endio(struct btrfs_bio *bbio) in scrub_write_endio() 1154 struct btrfs_bio *bbio, bool dev_replace) in scrub_submit_write_bio() 1198 struct btrfs_bio *bbio = NULL; in scrub_write_sectors() 1666 struct btrfs_bio *bbio = NULL; in scrub_submit_extent_sector_read() 1750 struct btrfs_bio *bbio; in scrub_submit_initial_read()
|
H A D | extent_io.c | 98 struct btrfs_bio *bbio; 115 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_one_bio() 138 struct btrfs_bio *bbio = bio_ctrl->bbio; in submit_write_bio() 454 static void end_bbio_data_write(struct btrfs_bio *bbio) in end_bbio_data_write() 513 static void end_bbio_data_read(struct btrfs_bio *bbio) in end_bbio_data_read() 708 struct btrfs_bio *bbio; in alloc_new_bio() 1670 static void end_bbio_meta_write(struct btrfs_bio *bbio) in end_bbio_meta_write() 1729 struct btrfs_bio *bbio; in write_one_eb() 3453 static void end_bbio_meta_read(struct btrfs_bio *bbio) in end_bbio_meta_read() 3503 struct btrfs_bio *bbio; in read_extent_buffer_pages()
|
H A D | file-item.c | 341 blk_status_t btrfs_lookup_bio_sums(struct btrfs_bio *bbio) in btrfs_lookup_bio_sums() 743 blk_status_t btrfs_csum_one_bio(struct btrfs_bio *bbio) in btrfs_csum_one_bio() 802 blk_status_t btrfs_alloc_dummy_sum(struct btrfs_bio *bbio) in btrfs_alloc_dummy_sum()
|
H A D | btrfs_inode.h | 525 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev,
|
H A D | zoned.c | 1728 bool btrfs_use_zone_append(struct btrfs_bio *bbio) in btrfs_use_zone_append() 1767 void btrfs_record_physical_zoned(struct btrfs_bio *bbio) in btrfs_record_physical_zoned()
|
H A D | inode.c | 3308 bool btrfs_data_csum_ok(struct btrfs_bio *bbio, struct btrfs_device *dev, in btrfs_data_csum_ok() 9087 static void btrfs_encoded_read_endio(struct btrfs_bio *bbio) in btrfs_encoded_read_endio() 9122 struct btrfs_bio *bbio; in btrfs_encoded_read_regular_fill_pages()
|
H A D | disk-io.c | 260 blk_status_t btree_csum_one_bio(struct btrfs_bio *bbio) in btree_csum_one_bio()
|