Searched refs:btrfs_bio (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/btrfs/ |
D | volumes.h | 389 typedef void (*btrfs_bio_end_io_t)(struct btrfs_bio *bbio); 396 struct btrfs_bio { struct 422 static inline struct btrfs_bio *btrfs_bio(struct bio *bio) in btrfs_bio() argument 424 return container_of(bio, struct btrfs_bio, bio); in btrfs_bio() 435 static inline void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status) in btrfs_bio_end_io() 441 static inline void btrfs_bio_free_csum(struct btrfs_bio *bbio) in btrfs_bio_free_csum()
|
D | compression.c | 157 btrfs_bio_end_io(btrfs_bio(cb->orig_bio), cb->status); in finish_compressed_bio_read() 169 static void end_compressed_bio_read(struct btrfs_bio *bbio) in end_compressed_bio_read() 300 static void end_compressed_bio_write(struct btrfs_bio *bbio) in end_compressed_bio_write() 474 btrfs_bio_end_io(btrfs_bio(bio), ret); in btrfs_submit_compressed_write() 790 btrfs_bio(comp_bio)->iter = comp_bio->bi_iter; in btrfs_submit_compressed_read() 798 btrfs_bio(comp_bio)->file_offset = file_offset; in btrfs_submit_compressed_read() 802 btrfs_bio_end_io(btrfs_bio(comp_bio), ret); in btrfs_submit_compressed_read() 831 btrfs_bio_end_io(btrfs_bio(bio), ret); in btrfs_submit_compressed_read()
|
D | extent_io.h | 60 struct btrfs_bio; 275 int btrfs_repair_one_sector(struct inode *inode, struct btrfs_bio *failed_bbio,
|
D | disk-io.h | 85 int btrfs_validate_metadata_buffer(struct btrfs_bio *bbio,
|
D | extent_io.c | 130 btrfs_bio(bio)->file_offset = page_offset(bv->bv_page) + bv->bv_offset; in submit_one_bio() 156 btrfs_bio_end_io(btrfs_bio(bio), errno_to_blk_status(ret)); in submit_write_bio() 740 struct btrfs_bio *bbio, in btrfs_get_io_failure_record() 803 int btrfs_repair_one_sector(struct inode *inode, struct btrfs_bio *failed_bbio, in btrfs_repair_one_sector() 813 struct btrfs_bio *repair_bbio; in btrfs_repair_one_sector() 844 repair_bbio = btrfs_bio(repair_bio); in btrfs_repair_one_sector() 915 struct btrfs_bio *failed_bbio, in submit_data_read_repair() 1013 static void end_bio_extent_writepage(struct btrfs_bio *bbio) in end_bio_extent_writepage() 1175 static void end_bio_extent_readpage(struct btrfs_bio *bbio) in end_bio_extent_readpage() 1547 btrfs_bio_end_io(btrfs_bio(bio), errno_to_blk_status(ret)); in alloc_new_bio() [all …]
|
D | volumes.c | 6673 static inline void btrfs_bio_init(struct btrfs_bio *bbio, in btrfs_bio_init() 6676 memset(bbio, 0, offsetof(struct btrfs_bio, bio)); in btrfs_bio_init() 6694 btrfs_bio_init(btrfs_bio(bio), end_io, private); in btrfs_bio_alloc() 6702 struct btrfs_bio *bbio; in btrfs_bio_clone_partial() 6707 bbio = btrfs_bio(bio); in btrfs_bio_clone_partial() 6740 struct btrfs_bio *bbio = in btrfs_end_bio_work() 6741 container_of(work, struct btrfs_bio, end_io_work); in btrfs_end_bio_work() 6749 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_simple_end_io() 6767 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_raid56_end_io() 6780 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_orig_write_end_io() [all …]
|
D | inode.c | 2707 btrfs_bio_end_io(btrfs_bio(bio), ret); in btrfs_submit_data_write_bio() 2730 btrfs_bio_end_io(btrfs_bio(bio), ret); in btrfs_submit_data_write_bio() 2753 btrfs_bio(bio)->iter = bio->bi_iter; in btrfs_submit_data_read_bio() 2761 btrfs_bio_end_io(btrfs_bio(bio), ret); in btrfs_submit_data_read_bio() 3462 int btrfs_check_data_csum(struct inode *inode, struct btrfs_bio *bbio, in btrfs_check_data_csum() 3501 unsigned int btrfs_verify_data_csum(struct btrfs_bio *bbio, in btrfs_verify_data_csum() 7831 struct btrfs_dio_private *dip = btrfs_bio(bio)->private; in submit_dio_repair_bio() 7841 struct btrfs_bio *bbio, in btrfs_check_read_dio_bio() 7881 static void btrfs_end_dio_bio(struct btrfs_bio *bbio) in btrfs_end_dio_bio() 7910 struct btrfs_dio_private *dip = btrfs_bio(bio)->private; in btrfs_submit_dio_bio() [all …]
|
D | file-item.c | 379 struct btrfs_bio *bbio = NULL; in btrfs_lookup_bio_sums() 413 bbio = btrfs_bio(bio); in btrfs_lookup_bio_sums()
|
D | disk-io.c | 586 int btrfs_validate_metadata_buffer(struct btrfs_bio *bbio, in btrfs_validate_metadata_buffer() 657 struct btrfs_bio *bbio = btrfs_bio(async->bio); in run_one_async_done() 762 struct btrfs_bio *bbio = btrfs_bio(bio); in btrfs_submit_metadata_bio()
|
D | ctree.h | 50 struct btrfs_bio; 3359 int btrfs_check_data_csum(struct inode *inode, struct btrfs_bio *bbio, 3361 unsigned int btrfs_verify_data_csum(struct btrfs_bio *bbio, 3364 int btrfs_check_data_csum(struct inode *inode, struct btrfs_bio *bbio,
|