Lines Matching refs:value
45 static struct posix_acl *f2fs_acl_from_disk(const char *value, size_t size) in f2fs_acl_from_disk() argument
49 struct f2fs_acl_header *hdr = (struct f2fs_acl_header *)value; in f2fs_acl_from_disk()
51 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 kvfree(value); in __f2fs_get_acl()
207 void *value = NULL; in __f2fs_set_acl() local
234 value = f2fs_acl_to_disk(F2FS_I_SB(inode), acl, &size); in __f2fs_set_acl()
235 if (IS_ERR(value)) { in __f2fs_set_acl()
237 return PTR_ERR(value); in __f2fs_set_acl()
241 error = f2fs_setxattr(inode, name_index, "", value, size, ipage, 0); in __f2fs_set_acl()
243 kvfree(value); in __f2fs_set_acl()