Lines Matching refs:io_bio
3460 struct btrfs_io_bio *io_bio, in __readpage_endio_check() argument
3471 csum_expected = ((u8 *)io_bio->csum) + icsum * csum_size; in __readpage_endio_check()
3487 io_bio->mirror_num); in __readpage_endio_check()
3499 static int btrfs_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btrfs_readpage_end_io_hook() argument
3523 return __readpage_endio_check(inode, io_bio, phy_offset, page, offset, in btrfs_readpage_end_io_hook()
8223 struct btrfs_io_bio *io_bio) in __btrfs_correct_data_nocsum() argument
8239 start = io_bio->logical; in __btrfs_correct_data_nocsum()
8241 io_bio->bio.bi_iter = io_bio->iter; in __btrfs_correct_data_nocsum()
8243 bio_for_each_segment(bvec, &io_bio->bio, iter) { in __btrfs_correct_data_nocsum()
8252 ret = dio_read_error(inode, &io_bio->bio, bvec.bv_page, in __btrfs_correct_data_nocsum()
8254 io_bio->mirror_num, in __btrfs_correct_data_nocsum()
8285 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_retry_endio() local
8307 ret = __readpage_endio_check(inode, io_bio, i, bvec->bv_page, in btrfs_retry_endio()
8328 struct btrfs_io_bio *io_bio, blk_status_t err) in __btrfs_subio_endio_read() argument
8348 start = io_bio->logical; in __btrfs_subio_endio_read()
8350 io_bio->bio.bi_iter = io_bio->iter; in __btrfs_subio_endio_read()
8352 bio_for_each_segment(bvec, &io_bio->bio, iter) { in __btrfs_subio_endio_read()
8359 ret = __readpage_endio_check(inode, io_bio, csum_pos, in __btrfs_subio_endio_read()
8369 status = dio_read_error(inode, &io_bio->bio, bvec.bv_page, in __btrfs_subio_endio_read()
8371 io_bio->mirror_num, btrfs_retry_endio, in __btrfs_subio_endio_read()
8402 struct btrfs_io_bio *io_bio, blk_status_t err) in btrfs_subio_endio_read() argument
8408 return __btrfs_correct_data_nocsum(inode, io_bio); in btrfs_subio_endio_read()
8412 return __btrfs_subio_endio_read(inode, io_bio, err); in btrfs_subio_endio_read()
8421 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_endio_direct_read() local
8425 err = btrfs_subio_endio_read(inode, io_bio, err); in btrfs_endio_direct_read()
8435 btrfs_io_bio_free_csum(io_bio); in btrfs_endio_direct_read()
8552 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in btrfs_lookup_and_bind_dio_csum() local
8575 io_bio->csum = orig_io_bio->csum + csum_size * file_offset; in btrfs_lookup_and_bind_dio_csum()