Lines Matching refs:value
35 char *value = NULL; in btrfs_get_acl() local
51 value = kzalloc(size, GFP_NOFS); in btrfs_get_acl()
52 if (!value) in btrfs_get_acl()
54 size = __btrfs_getxattr(inode, name, value, size); in btrfs_get_acl()
57 acl = posix_acl_from_xattr(&init_user_ns, value, size); in btrfs_get_acl()
64 kfree(value); in btrfs_get_acl()
80 char *value = NULL; in __btrfs_set_acl() local
105 value = kmalloc(size, GFP_NOFS); in __btrfs_set_acl()
106 if (!value) { in __btrfs_set_acl()
111 ret = posix_acl_to_xattr(&init_user_ns, acl, value, size); in __btrfs_set_acl()
116 ret = __btrfs_setxattr(trans, inode, name, value, size, 0); in __btrfs_set_acl()
118 kfree(value); in __btrfs_set_acl()