Home
last modified time | relevance | path

Searched refs:io_bio (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/fs/ext4/
Dpage-io.c351 struct bio *bio = io->io_bio; in ext4_io_submit()
356 io->io_bio->bi_write_hint = io->io_end->inode->i_write_hint; in ext4_io_submit()
357 bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags); in ext4_io_submit()
358 submit_bio(io->io_bio); in ext4_io_submit()
360 io->io_bio = NULL; in ext4_io_submit()
367 io->io_bio = NULL; in ext4_io_submit_init()
384 io->io_bio = bio; in io_submit_init_bio()
397 if (io->io_bio && bh->b_blocknr != io->io_next_block) { in io_submit_add_bh()
401 if (io->io_bio == NULL) { in io_submit_add_bh()
405 io->io_bio->bi_write_hint = inode->i_write_hint; in io_submit_add_bh()
[all …]
Dext4.h229 struct bio *io_bio; member
/linux-4.19.296/fs/xfs/
Dxfs_aops.c94 struct bio *last = ioend->io_bio, *next; in xfs_destroy_ioend()
256 error = blk_status_to_errno(ioend->io_bio->bi_status); in xfs_end_io()
512 ioend->io_bio->bi_private = ioend; in xfs_submit_ioend()
513 ioend->io_bio->bi_end_io = xfs_end_bio; in xfs_submit_ioend()
514 ioend->io_bio->bi_opf = REQ_OP_WRITE | wbc_to_write_flags(wbc); in xfs_submit_ioend()
523 ioend->io_bio->bi_status = errno_to_blk_status(status); in xfs_submit_ioend()
524 bio_endio(ioend->io_bio); in xfs_submit_ioend()
528 ioend->io_bio->bi_write_hint = ioend->io_inode->i_write_hint; in xfs_submit_ioend()
529 submit_bio(ioend->io_bio); in xfs_submit_ioend()
556 ioend->io_bio = bio; in xfs_alloc_ioend()
[all …]
Dxfs_aops.h42 struct bio *io_bio; /* bio being built */ member
/linux-4.19.296/fs/btrfs/
Dinode.c3268 struct btrfs_io_bio *io_bio, in __readpage_endio_check() argument
3276 csum_expected = *(((u32 *)io_bio->csum) + icsum); in __readpage_endio_check()
3288 io_bio->mirror_num); in __readpage_endio_check()
3300 static int btrfs_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btrfs_readpage_end_io_hook() argument
3324 return __readpage_endio_check(inode, io_bio, phy_offset, page, offset, in btrfs_readpage_end_io_hook()
8022 struct btrfs_io_bio *io_bio) in __btrfs_correct_data_nocsum() argument
8038 start = io_bio->logical; in __btrfs_correct_data_nocsum()
8040 io_bio->bio.bi_iter = io_bio->iter; in __btrfs_correct_data_nocsum()
8042 bio_for_each_segment(bvec, &io_bio->bio, iter) { in __btrfs_correct_data_nocsum()
8051 ret = dio_read_error(inode, &io_bio->bio, bvec.bv_page, in __btrfs_correct_data_nocsum()
[all …]
Dextent_io.h101 int (*readpage_end_io_hook)(struct btrfs_io_bio *io_bio, u64 phy_offset,
Dextent_io.c2557 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in end_bio_extent_readpage() local
2578 io_bio->mirror_num); in end_bio_extent_readpage()
2602 mirror = io_bio->mirror_num; in end_bio_extent_readpage()
2604 ret = tree->ops->readpage_end_io_hook(io_bio, offset, in end_bio_extent_readpage()
2696 if (io_bio->end_io) in end_bio_extent_readpage()
2697 io_bio->end_io(io_bio, blk_status_to_errno(bio->bi_status)); in end_bio_extent_readpage()
Ddisk-io.c580 static int btree_readpage_end_io_hook(struct btrfs_io_bio *io_bio, in btree_readpage_end_io_hook() argument