Searched refs:ordered_extent (Results 1 – 3 of 3) sorted by relevance
3200 int btrfs_finish_ordered_io(struct btrfs_ordered_extent *ordered_extent) in btrfs_finish_ordered_io() argument3202 struct btrfs_inode *inode = BTRFS_I(ordered_extent->inode); in btrfs_finish_ordered_io()3211 u64 logical_len = ordered_extent->num_bytes; in btrfs_finish_ordered_io()3217 start = ordered_extent->file_offset; in btrfs_finish_ordered_io()3218 end = start + ordered_extent->num_bytes - 1; in btrfs_finish_ordered_io()3220 if (!test_bit(BTRFS_ORDERED_NOCOW, &ordered_extent->flags) && in btrfs_finish_ordered_io()3221 !test_bit(BTRFS_ORDERED_PREALLOC, &ordered_extent->flags) && in btrfs_finish_ordered_io()3222 !test_bit(BTRFS_ORDERED_DIRECT, &ordered_extent->flags) && in btrfs_finish_ordered_io()3223 !test_bit(BTRFS_ORDERED_ENCODED, &ordered_extent->flags)) in btrfs_finish_ordered_io()3230 if (test_bit(BTRFS_ORDERED_IOERR, &ordered_extent->flags)) { in btrfs_finish_ordered_io()[all …]
171 int btrfs_finish_ordered_io(struct btrfs_ordered_extent *ordered_extent);
277 struct btrfs_ordered_extent *ordered_extent; in finish_ordered_fn() local279 ordered_extent = container_of(work, struct btrfs_ordered_extent, work); in finish_ordered_fn()280 btrfs_finish_ordered_io(ordered_extent); in finish_ordered_fn()