Lines Matching refs:size
34 int size; in jfs_get_acl() local
52 size = __jfs_getxattr(inode, ea_name, NULL, 0); in jfs_get_acl()
54 if (size > 0) { in jfs_get_acl()
55 value = kmalloc(size, GFP_KERNEL); in jfs_get_acl()
58 size = __jfs_getxattr(inode, ea_name, value, size); in jfs_get_acl()
61 if (size < 0) { in jfs_get_acl()
62 if (size == -ENODATA) in jfs_get_acl()
65 acl = ERR_PTR(size); in jfs_get_acl()
67 acl = posix_acl_from_xattr(&init_user_ns, value, size); in jfs_get_acl()
80 int size = 0; in __jfs_set_acl() local
102 size = posix_acl_xattr_size(acl->a_count); in __jfs_set_acl()
103 value = kmalloc(size, GFP_KERNEL); in __jfs_set_acl()
106 rc = posix_acl_to_xattr(&init_user_ns, acl, value, size); in __jfs_set_acl()
110 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0); in __jfs_set_acl()