• Home
  • Raw
  • Download

Lines Matching refs:value

21 ext4_acl_from_disk(const void *value, size_t size)  in ext4_acl_from_disk()  argument
23 const char *end = (char *)value + size; in ext4_acl_from_disk()
27 if (!value) in ext4_acl_from_disk()
31 if (((ext4_acl_header *)value)->a_version != in ext4_acl_from_disk()
34 value = (char *)value + sizeof(ext4_acl_header); in ext4_acl_from_disk()
45 (ext4_acl_entry *)value; in ext4_acl_from_disk()
46 if ((char *)value + sizeof(ext4_acl_entry_short) > end) in ext4_acl_from_disk()
56 value = (char *)value + in ext4_acl_from_disk()
63 value = (char *)value + sizeof(ext4_acl_entry); in ext4_acl_from_disk()
64 if ((char *)value > end) in ext4_acl_from_disk()
74 if (value != end) in ext4_acl_from_disk()
163 char *value = NULL; in ext4_get_acl() local
190 value = kmalloc(retval, GFP_NOFS); in ext4_get_acl()
191 if (!value) in ext4_get_acl()
193 retval = ext4_xattr_get(inode, name_index, "", value, retval); in ext4_get_acl()
196 acl = ext4_acl_from_disk(value, retval); in ext4_get_acl()
201 kfree(value); in ext4_get_acl()
228 void *value = NULL; in ext4_set_acl() local
262 value = ext4_acl_to_disk(acl, &size); in ext4_set_acl()
263 if (IS_ERR(value)) in ext4_set_acl()
264 return (int)PTR_ERR(value); in ext4_set_acl()
268 value, size, 0); in ext4_set_acl()
270 kfree(value); in ext4_set_acl()
483 ext4_xattr_set_acl(struct inode *inode, int type, const void *value, in ext4_xattr_set_acl() argument
495 if (value) { in ext4_xattr_set_acl()
496 acl = posix_acl_from_xattr(value, size); in ext4_xattr_set_acl()
523 const void *value, size_t size, int flags) in ext4_xattr_set_acl_access() argument
527 return ext4_xattr_set_acl(inode, ACL_TYPE_ACCESS, value, size); in ext4_xattr_set_acl_access()
532 const void *value, size_t size, int flags) in ext4_xattr_set_acl_default() argument
536 return ext4_xattr_set_acl(inode, ACL_TYPE_DEFAULT, value, size); in ext4_xattr_set_acl_default()