Lines Matching refs:BTRFS_I
31 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_getxattr()
42 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr()
87 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr()
105 btrfs_ino(BTRFS_I(inode)), name, name_len, -1); in btrfs_setxattr()
125 btrfs_ino(BTRFS_I(inode)), name, name_len, 0); in btrfs_setxattr()
136 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_setxattr()
220 &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr()
221 clear_bit(BTRFS_INODE_NO_XATTRS, &BTRFS_I(inode)->runtime_flags); in btrfs_setxattr()
232 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_setxattr_trans()
268 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in btrfs_setxattr_trans()
282 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_listxattr()
293 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
378 if (btrfs_root_readonly(BTRFS_I(inode)->root)) in btrfs_xattr_handler_set()
393 struct btrfs_root *root = BTRFS_I(inode)->root; in btrfs_xattr_handler_set_prop()
396 ret = btrfs_validate_prop(BTRFS_I(inode), name, value, size); in btrfs_xattr_handler_set_prop()
400 if (btrfs_ignore_prop(BTRFS_I(inode), name)) in btrfs_xattr_handler_set_prop()
411 ret = btrfs_update_inode(trans, root, BTRFS_I(inode)); in btrfs_xattr_handler_set_prop()