Lines Matching refs:BTRFS_I
238 BTRFS_I(inode)->location.type = BTRFS_INODE_ITEM_KEY; in test_btrfs_get_extent()
239 BTRFS_I(inode)->location.objectid = BTRFS_FIRST_FREE_OBJECTID; in test_btrfs_get_extent()
240 BTRFS_I(inode)->location.offset = 0; in test_btrfs_get_extent()
274 BTRFS_I(inode)->root = root; in test_btrfs_get_extent()
830 BTRFS_I(inode)->location.type = BTRFS_INODE_ITEM_KEY; in test_hole_first()
831 BTRFS_I(inode)->location.objectid = BTRFS_FIRST_FREE_OBJECTID; in test_hole_first()
832 BTRFS_I(inode)->location.offset = 0; in test_hole_first()
855 BTRFS_I(inode)->root = root; in test_hole_first()
938 BTRFS_I(inode)->root = root; in test_extent_accounting()
942 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
949 if (BTRFS_I(inode)->outstanding_extents != 1) { in test_extent_accounting()
952 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
957 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
964 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
967 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
972 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
982 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
985 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
990 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
998 if (BTRFS_I(inode)->outstanding_extents != 2) { in test_extent_accounting()
1001 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1012 BTRFS_I(inode)->outstanding_extents += 2; in test_extent_accounting()
1020 if (BTRFS_I(inode)->outstanding_extents != 4) { in test_extent_accounting()
1023 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1028 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
1035 if (BTRFS_I(inode)->outstanding_extents != 3) { in test_extent_accounting()
1038 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1043 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, in test_extent_accounting()
1053 if (BTRFS_I(inode)->outstanding_extents != 4) { in test_extent_accounting()
1056 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1064 BTRFS_I(inode)->outstanding_extents++; in test_extent_accounting()
1071 if (BTRFS_I(inode)->outstanding_extents != 3) { in test_extent_accounting()
1074 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1079 ret = clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()
1087 if (BTRFS_I(inode)->outstanding_extents) { in test_extent_accounting()
1090 BTRFS_I(inode)->outstanding_extents); in test_extent_accounting()
1096 clear_extent_bit(&BTRFS_I(inode)->io_tree, 0, (u64)-1, in test_extent_accounting()