Lines Matching defs:size
21 int size;
38 size = __jfs_getxattr(inode, ea_name, NULL, 0);
40 if (size > 0) {
41 value = kmalloc(size, GFP_KERNEL);
44 size = __jfs_getxattr(inode, ea_name, value, size);
47 if (size < 0) {
48 if (size == -ENODATA)
51 acl = ERR_PTR(size);
53 acl = posix_acl_from_xattr(&init_user_ns, value, size);
64 int size = 0;
79 size = posix_acl_xattr_size(acl->a_count);
80 value = kmalloc(size, GFP_KERNEL);
83 rc = posix_acl_to_xattr(&init_user_ns, acl, value, size);
87 rc = __jfs_setxattr(tid, inode, ea_name, value, size, 0);