• Home
  • Raw
  • Download

Lines Matching refs:value

67 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size)  in reiserfs_posix_acl_from_disk()  argument
69 const char *end = (char *)value + size; in reiserfs_posix_acl_from_disk()
73 if (!value) in reiserfs_posix_acl_from_disk()
77 if (((reiserfs_acl_header *) value)->a_version != in reiserfs_posix_acl_from_disk()
80 value = (char *)value + sizeof(reiserfs_acl_header); in reiserfs_posix_acl_from_disk()
90 reiserfs_acl_entry *entry = (reiserfs_acl_entry *) value; in reiserfs_posix_acl_from_disk()
91 if ((char *)value + sizeof(reiserfs_acl_entry_short) > end) in reiserfs_posix_acl_from_disk()
100 value = (char *)value + in reiserfs_posix_acl_from_disk()
105 value = (char *)value + sizeof(reiserfs_acl_entry); in reiserfs_posix_acl_from_disk()
106 if ((char *)value > end) in reiserfs_posix_acl_from_disk()
113 value = (char *)value + sizeof(reiserfs_acl_entry); in reiserfs_posix_acl_from_disk()
114 if ((char *)value > end) in reiserfs_posix_acl_from_disk()
125 if (value != end) in reiserfs_posix_acl_from_disk()
195 char *name, *value; in reiserfs_get_acl() local
221 value = kmalloc(size, GFP_NOFS); in reiserfs_get_acl()
222 if (!value) in reiserfs_get_acl()
225 retval = reiserfs_xattr_get(inode, name, value, size); in reiserfs_get_acl()
235 acl = reiserfs_posix_acl_from_disk(value, retval); in reiserfs_get_acl()
238 kfree(value); in reiserfs_get_acl()
253 void *value = NULL; in __reiserfs_set_acl() local
271 value = reiserfs_posix_acl_to_disk(acl, &size); in __reiserfs_set_acl()
272 if (IS_ERR(value)) in __reiserfs_set_acl()
273 return (int)PTR_ERR(value); in __reiserfs_set_acl()
276 error = reiserfs_xattr_set_handle(th, inode, name, value, size, 0); in __reiserfs_set_acl()
292 kfree(value); in __reiserfs_set_acl()