Lines Matching refs:BTRFS_I
37 fid->objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_encode_fh()
38 fid->root_objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_encode_fh()
44 fid->parent_objectid = BTRFS_I(parent)->location.objectid; in btrfs_encode_fh()
46 parent_root_id = BTRFS_I(parent)->root->root_key.objectid; in btrfs_encode_fh()
151 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_parent()
163 if (btrfs_ino(BTRFS_I(dir)) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
169 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
220 struct btrfs_root *root = BTRFS_I(dir)->root; in btrfs_get_name()
233 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_get_name()
240 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_get_name()
246 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()