Lines Matching refs:BTRFS_I
272 clear_bit(BTRFS_INODE_IN_DEFRAG, &BTRFS_I(inode)->runtime_flags); in __btrfs_run_defrag_inode()
613 struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree; in defrag_lookup_extent()
614 struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree; in defrag_lookup_extent()
616 const u32 sectorsize = BTRFS_I(inode)->root->fs_info->sectorsize; in defrag_lookup_extent()
647 em = defrag_get_extent(BTRFS_I(inode), start, newer_than); in defrag_lookup_extent()
1301 btrfs_inode_lock(BTRFS_I(inode), 0); in btrfs_defrag_file()
1304 btrfs_inode_unlock(BTRFS_I(inode), 0); in btrfs_defrag_file()
1308 btrfs_inode_unlock(BTRFS_I(inode), 0); in btrfs_defrag_file()
1312 BTRFS_I(inode)->defrag_compress = compress_type; in btrfs_defrag_file()
1313 ret = defrag_one_cluster(BTRFS_I(inode), ra, cur, in btrfs_defrag_file()
1321 btrfs_inode_unlock(BTRFS_I(inode), 0); in btrfs_defrag_file()
1347 &BTRFS_I(inode)->runtime_flags)) in btrfs_defrag_file()
1357 btrfs_inode_lock(BTRFS_I(inode), 0); in btrfs_defrag_file()
1358 BTRFS_I(inode)->defrag_compress = BTRFS_COMPRESS_NONE; in btrfs_defrag_file()
1359 btrfs_inode_unlock(BTRFS_I(inode), 0); in btrfs_defrag_file()