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