Lines Matching refs:value
18 ext4_acl_from_disk(const void *value, size_t size) in ext4_acl_from_disk() argument
20 const char *end = (char *)value + size; in ext4_acl_from_disk()
24 if (!value) in ext4_acl_from_disk()
28 if (((ext4_acl_header *)value)->a_version != in ext4_acl_from_disk()
31 value = (char *)value + sizeof(ext4_acl_header); in ext4_acl_from_disk()
42 (ext4_acl_entry *)value; in ext4_acl_from_disk()
43 if ((char *)value + sizeof(ext4_acl_entry_short) > end) in ext4_acl_from_disk()
53 value = (char *)value + in ext4_acl_from_disk()
58 value = (char *)value + sizeof(ext4_acl_entry); in ext4_acl_from_disk()
59 if ((char *)value > end) in ext4_acl_from_disk()
66 value = (char *)value + sizeof(ext4_acl_entry); in ext4_acl_from_disk()
67 if ((char *)value > end) in ext4_acl_from_disk()
78 if (value != end) in ext4_acl_from_disk()
148 char *value = NULL; in ext4_get_acl() local
167 value = kmalloc(retval, GFP_NOFS); in ext4_get_acl()
168 if (!value) in ext4_get_acl()
170 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl()
173 acl = ext4_acl_from_disk(value, retval); in ext4_get_acl()
178 kfree(value); in ext4_get_acl()
193 void *value = NULL; in __ext4_set_acl() local
212 value = ext4_acl_to_disk(acl, &size); in __ext4_set_acl()
213 if (IS_ERR(value)) in __ext4_set_acl()
214 return (int)PTR_ERR(value); in __ext4_set_acl()
218 value, size, xattr_flags); in __ext4_set_acl()
220 kfree(value); in __ext4_set_acl()