Lines Matching refs:value
43 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr() argument
48 if (!value) in ocfs2_acl_from_xattr()
60 (struct ocfs2_acl_entry *)value; in ocfs2_acl_from_xattr()
78 value += sizeof(struct posix_acl_entry); in ocfs2_acl_from_xattr()
127 char *value = NULL; in ocfs2_get_acl_nolock() local
144 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock()
145 if (!value) in ocfs2_get_acl_nolock()
148 "", value, retval); in ocfs2_get_acl_nolock()
152 acl = ocfs2_acl_from_xattr(value, retval); in ocfs2_get_acl_nolock()
158 kfree(value); in ocfs2_get_acl_nolock()
233 void *value = NULL; in ocfs2_set_acl() local
266 value = ocfs2_acl_to_xattr(acl, &size); in ocfs2_set_acl()
267 if (IS_ERR(value)) in ocfs2_set_acl()
268 return (int)PTR_ERR(value); in ocfs2_set_acl()
273 "", value, size, 0, in ocfs2_set_acl()
276 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
278 kfree(value); in ocfs2_set_acl()