Lines Matching refs:root
73 struct btrfs_root *root; member
246 return inode->root->fs_info->sectorsize; in btrfs_inode_sectorsize()
255 const struct btrfs_root *root) in btrfs_inode_hash() argument
257 u64 h = objectid ^ (root->root_key.objectid * GOLDEN_RATIO_PRIME); in btrfs_inode_hash()
268 unsigned long h = btrfs_inode_hash(inode->i_ino, BTRFS_I(inode)->root); in btrfs_insert_inode_hash()
294 struct btrfs_root *root = inode->root; in btrfs_is_free_space_inode() local
296 if (root == root->fs_info->tree_root && in btrfs_is_free_space_inode()
316 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
331 inode->last_sub_trans = inode->root->log_transid; in btrfs_set_inode_last_sub_trans()
342 inode->last_sub_trans <= inode->root->last_log_commit) in btrfs_inode_in_log()
391 struct btrfs_root *root = inode->root; in btrfs_print_data_csum_error() local
392 const u32 csum_size = root->fs_info->csum_size; in btrfs_print_data_csum_error()
395 if (root->root_key.objectid >= BTRFS_LAST_FREE_OBJECTID) in btrfs_print_data_csum_error()
396 btrfs_warn_rl(root->fs_info, in btrfs_print_data_csum_error()
398 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
404 btrfs_warn_rl(root->fs_info, in btrfs_print_data_csum_error()
406 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()