Lines Matching refs:size
17 int size; in fuse_get_acl() local
38 size = fuse_getxattr(inode, name, value, PAGE_SIZE); in fuse_get_acl()
39 if (size > 0) in fuse_get_acl()
40 acl = posix_acl_from_xattr(fc->user_ns, value, size); in fuse_get_acl()
41 else if ((size == 0) || (size == -ENODATA) || in fuse_get_acl()
42 (size == -EOPNOTSUPP && fc->no_getxattr)) in fuse_get_acl()
44 else if (size == -ERANGE) in fuse_get_acl()
47 acl = ERR_PTR(size); in fuse_get_acl()
80 size_t size = posix_acl_xattr_size(acl->a_count); in fuse_set_acl() local
83 if (size > PAGE_SIZE) in fuse_set_acl()
86 value = kmalloc(size, GFP_KERNEL); in fuse_set_acl()
90 ret = posix_acl_to_xattr(fc->user_ns, acl, value, size); in fuse_set_acl()
96 ret = fuse_setxattr(inode, name, value, size, 0); in fuse_set_acl()