Lines Matching refs:value
46 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() argument
50 struct f2fs_acl_header *hdr = (struct f2fs_acl_header *)value; in f2fs_acl_from_disk()
52 const char *end = value + size; in f2fs_acl_from_disk()
172 void *value = NULL; in __f2fs_get_acl() local
181 value = f2fs_kmalloc(F2FS_I_SB(inode), retval, GFP_F2FS_ZERO); in __f2fs_get_acl()
182 if (!value) in __f2fs_get_acl()
184 retval = f2fs_getxattr(inode, name_index, "", value, in __f2fs_get_acl()
189 acl = f2fs_acl_from_disk(value, retval); in __f2fs_get_acl()
194 kfree(value); in __f2fs_get_acl()
234 void *value = NULL; in __f2fs_set_acl() local
262 value = f2fs_acl_to_disk(F2FS_I_SB(inode), acl, &size); in __f2fs_set_acl()
263 if (IS_ERR(value)) { in __f2fs_set_acl()
265 return PTR_ERR(value); in __f2fs_set_acl()
269 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
271 kfree(value); in __f2fs_set_acl()