Lines Matching refs:failed_bbio
803 int btrfs_repair_one_sector(struct inode *inode, struct btrfs_bio *failed_bbio, in btrfs_repair_one_sector() argument
807 u64 start = failed_bbio->file_offset + bio_offset; in btrfs_repair_one_sector()
810 struct bio *failed_bio = &failed_bbio->bio; in btrfs_repair_one_sector()
820 failrec = btrfs_get_io_failure_record(inode, failed_bbio, bio_offset); in btrfs_repair_one_sector()
842 repair_bio = btrfs_bio_alloc(1, REQ_OP_READ, failed_bbio->end_io, in btrfs_repair_one_sector()
843 failed_bbio->private); in btrfs_repair_one_sector()
848 if (failed_bbio->csum) { in btrfs_repair_one_sector()
853 failed_bbio->csum + csum_size * icsum, csum_size); in btrfs_repair_one_sector()
915 struct btrfs_bio *failed_bbio, in submit_data_read_repair() argument
928 BUG_ON(bio_op(&failed_bbio->bio) == REQ_OP_WRITE); in submit_data_read_repair()
940 ASSERT(page->mapping && !bio_flagged(&failed_bbio->bio, BIO_CLONED)); in submit_data_read_repair()
957 ret = btrfs_repair_one_sector(inode, failed_bbio, in submit_data_read_repair()