Home
last modified time | relevance | path

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

/Linux-v5.10/fs/ext4/
Dpage-io.c375 struct bio *bio = io->io_bio; in ext4_io_submit()
380 io->io_bio->bi_write_hint = io->io_end->inode->i_write_hint; in ext4_io_submit()
381 bio_set_op_attrs(io->io_bio, REQ_OP_WRITE, io_op_flags); in ext4_io_submit()
382 submit_bio(io->io_bio); in ext4_io_submit()
384 io->io_bio = NULL; in ext4_io_submit()
391 io->io_bio = NULL; in ext4_io_submit_init()
410 io->io_bio = bio; in io_submit_init_bio()
422 if (io->io_bio && (bh->b_blocknr != io->io_next_block || in io_submit_add_bh()
423 !fscrypt_mergeable_bio_bh(io->io_bio, bh))) { in io_submit_add_bh()
427 if (io->io_bio == NULL) { in io_submit_add_bh()
[all …]
Dext4.h235 struct bio *io_bio; member
/Linux-v5.10/fs/iomap/
Dbuffered-io.c1068 struct bio *last = ioend->io_bio, *next; in iomap_finish_ioend()
1123 if (ioend->io_bio->bi_status != next->io_bio->bi_status) in iomap_ioend_can_merge()
1196 ioend->io_bio->bi_private = ioend; in iomap_submit_ioend()
1197 ioend->io_bio->bi_end_io = iomap_writepage_end_bio; in iomap_submit_ioend()
1208 ioend->io_bio->bi_status = errno_to_blk_status(error); in iomap_submit_ioend()
1209 bio_endio(ioend->io_bio); in iomap_submit_ioend()
1213 submit_bio(ioend->io_bio); in iomap_submit_ioend()
1239 ioend->io_bio = bio; in iomap_alloc_ioend()
1278 if (sector != bio_end_sector(wpc->ioend->io_bio)) in iomap_can_add_to_ioend()
1303 merged = __bio_try_merge_page(wpc->ioend->io_bio, page, len, poff, in iomap_add_to_ioend()
[all …]
/Linux-v5.10/fs/btrfs/
Dvolumes.h308 static inline void btrfs_io_bio_free_csum(struct btrfs_io_bio *io_bio) in btrfs_io_bio_free_csum() argument
310 if (io_bio->csum != io_bio->csum_inline) { in btrfs_io_bio_free_csum()
311 kfree(io_bio->csum); in btrfs_io_bio_free_csum()
312 io_bio->csum = NULL; in btrfs_io_bio_free_csum()
Ddisk-io.h82 int btrfs_validate_metadata_buffer(struct btrfs_io_bio *io_bio, u64 phy_offset,
Dinode.c2844 static int check_data_csum(struct inode *inode, struct btrfs_io_bio *io_bio, in check_data_csum() argument
2855 csum_expected = ((u8 *)io_bio->csum) + icsum * csum_size; in check_data_csum()
2869 io_bio->mirror_num); in check_data_csum()
2870 if (io_bio->device) in check_data_csum()
2871 btrfs_dev_stat_inc_and_print(io_bio->device, in check_data_csum()
2884 int btrfs_verify_data_csum(struct btrfs_io_bio *io_bio, u64 phy_offset, in btrfs_verify_data_csum() argument
2907 return check_data_csum(inode, io_bio, phy_offset, page, offset, start, in btrfs_verify_data_csum()
7624 struct btrfs_io_bio *io_bio, in btrfs_check_read_dio_bio() argument
7634 u64 start = io_bio->logical; in btrfs_check_read_dio_bio()
7638 __bio_for_each_segment(bvec, &io_bio->bio, iter, io_bio->iter) { in btrfs_check_read_dio_bio()
[all …]
Dextent_io.c2805 struct btrfs_io_bio *io_bio = btrfs_io_bio(bio); in end_bio_extent_readpage() local
2826 io_bio->mirror_num); in end_bio_extent_readpage()
2850 mirror = io_bio->mirror_num; in end_bio_extent_readpage()
2853 ret = btrfs_verify_data_csum(io_bio, offset, page, in end_bio_extent_readpage()
2856 ret = btrfs_validate_metadata_buffer(io_bio, in end_bio_extent_readpage()
2945 btrfs_io_bio_free_csum(io_bio); in end_bio_extent_readpage()
Dctree.h2977 int btrfs_verify_data_csum(struct btrfs_io_bio *io_bio, u64 phy_offset,
Ddisk-io.c526 int btrfs_validate_metadata_buffer(struct btrfs_io_bio *io_bio, u64 phy_offset, in btrfs_validate_metadata_buffer() argument
/Linux-v5.10/fs/xfs/
Dxfs_aops.c171 error = blk_status_to_errno(ioend->io_bio->bi_status); in xfs_end_ioend()
515 ioend->io_bio->bi_end_io = xfs_end_bio; in xfs_prepare_ioend()
/Linux-v5.10/include/linux/
Diomap.h200 struct bio *io_bio; /* bio being built */ member