Lines Matching refs:value
48 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() argument
52 struct f2fs_acl_header *hdr = (struct f2fs_acl_header *)value; in f2fs_acl_from_disk()
54 const char *end = value + size; in f2fs_acl_from_disk()
171 void *value = NULL; in __f2fs_get_acl() local
180 value = f2fs_kmalloc(F2FS_I_SB(inode), retval, GFP_F2FS_ZERO); in __f2fs_get_acl()
181 if (!value) in __f2fs_get_acl()
183 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl()
188 acl = f2fs_acl_from_disk(value, retval); in __f2fs_get_acl()
193 kfree(value); in __f2fs_get_acl()
210 void *value = NULL; in __f2fs_set_acl() local
237 value = f2fs_acl_to_disk(F2FS_I_SB(inode), acl, &size); in __f2fs_set_acl()
238 if (IS_ERR(value)) { in __f2fs_set_acl()
240 return PTR_ERR(value); in __f2fs_set_acl()
244 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
246 kfree(value); in __f2fs_set_acl()