Lines Matching refs:value
33 static struct posix_acl *ocfs2_acl_from_xattr(const void *value, size_t size) in ocfs2_acl_from_xattr() argument
38 if (!value) in ocfs2_acl_from_xattr()
50 (struct ocfs2_acl_entry *)value; in ocfs2_acl_from_xattr()
68 value += sizeof(struct posix_acl_entry); in ocfs2_acl_from_xattr()
117 char *value = NULL; in ocfs2_get_acl_nolock() local
134 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock()
135 if (!value) in ocfs2_get_acl_nolock()
138 "", value, retval); in ocfs2_get_acl_nolock()
142 acl = ocfs2_acl_from_xattr(value, retval); in ocfs2_get_acl_nolock()
148 kfree(value); in ocfs2_get_acl_nolock()
223 void *value = NULL; in ocfs2_set_acl() local
244 value = ocfs2_acl_to_xattr(acl, &size); in ocfs2_set_acl()
245 if (IS_ERR(value)) in ocfs2_set_acl()
246 return (int)PTR_ERR(value); in ocfs2_set_acl()
251 "", value, size, 0, in ocfs2_set_acl()
254 ret = ocfs2_xattr_set(inode, name_index, "", value, size, 0); in ocfs2_set_acl()
256 kfree(value); in ocfs2_set_acl()