Home
last modified time | relevance | path

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

/fs/btrfs/tests/
Dinode-tests.c969 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
976 if (BTRFS_I(inode)->outstanding_extents != 1) { in test_extent_accounting()
979 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
984 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
992 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
995 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1010 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
1013 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1018 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
1027 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
[all …]
/fs/btrfs/
Dbtrfs_inode.h171 unsigned outstanding_extents; member
Dinode.c71 u64 outstanding_extents; member
1630 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()
7677 if (dio_data->outstanding_extents >= num_extents) { in adjust_dio_outstanding_extents()
7678 dio_data->outstanding_extents -= num_extents; in adjust_dio_outstanding_extents()
7685 u64 num_needed = num_extents - dio_data->outstanding_extents; in adjust_dio_outstanding_extents()
7688 BTRFS_I(inode)->outstanding_extents += num_needed; in adjust_dio_outstanding_extents()
[all …]
Dextent-tree.c5854 ASSERT(BTRFS_I(inode)->outstanding_extents >= num_extents); in drop_outstanding_extent()
5855 BTRFS_I(inode)->outstanding_extents -= num_extents; in drop_outstanding_extent()
5857 if (BTRFS_I(inode)->outstanding_extents == 0 && in drop_outstanding_extent()
5866 if (BTRFS_I(inode)->outstanding_extents >= in drop_outstanding_extent()
5871 BTRFS_I(inode)->outstanding_extents; in drop_outstanding_extent()
5964 BTRFS_I(inode)->outstanding_extents += nr_extents; in btrfs_delalloc_reserve_metadata()
5967 if (BTRFS_I(inode)->outstanding_extents > in btrfs_delalloc_reserve_metadata()
5969 nr_extents += BTRFS_I(inode)->outstanding_extents - in btrfs_delalloc_reserve_metadata()
Dfile.c1664 BTRFS_I(inode)->outstanding_extents++; in __btrfs_buffered_write()
Dioctl.c1231 BTRFS_I(inode)->outstanding_extents++; in cluster_pages_for_defrag()