34 #define BTRFS_INODE_ORDERED_DATA_CLOSE 0
35 #define BTRFS_INODE_ORPHAN_META_RESERVED 1
36 #define BTRFS_INODE_DUMMY 2
37 #define BTRFS_INODE_IN_DEFRAG 3
38 #define BTRFS_INODE_DELALLOC_META_RESERVED 4
39 #define BTRFS_INODE_HAS_ORPHAN_ITEM 5
40 #define BTRFS_INODE_HAS_ASYNC_EXTENT 6
41 #define BTRFS_INODE_NEEDS_FULL_SYNC 7
178 u64 ino = BTRFS_I(inode)->location.objectid;
189 static inline void btrfs_i_size_write(
struct inode *inode,
u64 size)
191 i_size_write(inode, size);
192 BTRFS_I(inode)->disk_i_size =
size;
195 static inline bool btrfs_is_free_space_inode(
struct inode *inode)
199 if (root == root->
fs_info->tree_root &&
207 static inline int btrfs_inode_in_log(
struct inode *inode,
u64 generation)
209 if (BTRFS_I(inode)->logged_trans == generation &&