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