Searched refs:dio_bio (Results 1 – 2 of 2) sorted by relevance
330 struct bio *dio_bio; member
7587 if (bio_op(dip->dio_bio) == REQ_OP_WRITE) { in btrfs_dio_private_put()7591 !dip->dio_bio->bi_status); in btrfs_dio_private_put()7598 bio_endio(dip->dio_bio); in btrfs_dio_private_put()7745 dip->dio_bio->bi_status = err; in btrfs_end_dio_bio()7803 static struct btrfs_dio_private *btrfs_create_dio_private(struct bio *dio_bio, in btrfs_create_dio_private() argument7807 const bool write = (bio_op(dio_bio) == REQ_OP_WRITE); in btrfs_create_dio_private()7818 nblocks = dio_bio->bi_iter.bi_size >> inode->i_sb->s_blocksize_bits; in btrfs_create_dio_private()7828 dip->bytes = dio_bio->bi_iter.bi_size; in btrfs_create_dio_private()7829 dip->disk_bytenr = (u64)dio_bio->bi_iter.bi_sector << 9; in btrfs_create_dio_private()7830 dip->dio_bio = dio_bio; in btrfs_create_dio_private()[all …]