Lines Matching refs:value
35 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr() argument
40 if (!value) in ocfs2_acl_from_xattr()
52 (struct ocfs2_acl_entry *)value; in ocfs2_acl_from_xattr()
70 value += sizeof(struct posix_acl_entry); in ocfs2_acl_from_xattr()
119 char *value = NULL; in ocfs2_get_acl_nolock() local
136 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock()
137 if (!value) in ocfs2_get_acl_nolock()
140 "", value, retval); in ocfs2_get_acl_nolock()
144 acl = ocfs2_acl_from_xattr(value, retval); in ocfs2_get_acl_nolock()
150 kfree(value); in ocfs2_get_acl_nolock()
225 void *value = NULL; in ocfs2_set_acl() local
246 value = ocfs2_acl_to_xattr(acl, &size); in ocfs2_set_acl()
247 if (IS_ERR(value)) in ocfs2_set_acl()
248 return (int)PTR_ERR(value); in ocfs2_set_acl()
253 "", value, size, 0, in ocfs2_set_acl()
256 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
258 kfree(value); in ocfs2_set_acl()