Home
last modified time | relevance | path

Searched refs:outstanding_extents (Results 1 – 6 of 6) sorted by relevance

/fs/btrfs/tests/
Dinode-tests.c943 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
950 if (BTRFS_I(inode)->outstanding_extents != 1) { in test_extent_accounting()
953 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
958 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
965 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
968 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
983 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
986 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
991 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
999 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
[all …]
/fs/btrfs/
Dbtrfs_inode.h182 unsigned outstanding_extents; member
Dinode.c1630 BTRFS_I(inode)->outstanding_extents++; in btrfs_split_extent_hook()
1659 BTRFS_I(inode)->outstanding_extents--; in btrfs_merge_extent_hook()
1694 BTRFS_I(inode)->outstanding_extents--; in btrfs_merge_extent_hook()
1763 BTRFS_I(inode)->outstanding_extents++; in btrfs_set_bit_hook()
1813 BTRFS_I(inode)->outstanding_extents -= num_extents; in btrfs_clear_bit_hook()
7593 u64 outstanding_extents; member
7610 if (dio_data->outstanding_extents >= num_extents) { in adjust_dio_outstanding_extents()
7611 dio_data->outstanding_extents -= num_extents; in adjust_dio_outstanding_extents()
7618 u64 num_needed = num_extents - dio_data->outstanding_extents; in adjust_dio_outstanding_extents()
7621 BTRFS_I(inode)->outstanding_extents += num_needed; in adjust_dio_outstanding_extents()
[all …]
Dextent-tree.c5540 ASSERT(BTRFS_I(inode)->outstanding_extents >= num_extents); in drop_outstanding_extent()
5541 BTRFS_I(inode)->outstanding_extents -= num_extents; in drop_outstanding_extent()
5543 if (BTRFS_I(inode)->outstanding_extents == 0 && in drop_outstanding_extent()
5552 if (BTRFS_I(inode)->outstanding_extents >= in drop_outstanding_extent()
5557 BTRFS_I(inode)->outstanding_extents; in drop_outstanding_extent()
5645 BTRFS_I(inode)->outstanding_extents += nr_extents; in btrfs_delalloc_reserve_metadata()
5648 if (BTRFS_I(inode)->outstanding_extents > in btrfs_delalloc_reserve_metadata()
5650 nr_extents = BTRFS_I(inode)->outstanding_extents - in btrfs_delalloc_reserve_metadata()
Dfile.c1620 BTRFS_I(inode)->outstanding_extents++; in __btrfs_buffered_write()
Dioctl.c1225 BTRFS_I(inode)->outstanding_extents++; in cluster_pages_for_defrag()