userns 266 fs/nfs/nfs2xdr.c struct user_namespace *userns) userns 281 fs/nfs/nfs2xdr.c fattr->uid = make_kuid(userns, be32_to_cpup(p++)); userns 284 fs/nfs/nfs2xdr.c fattr->gid = make_kgid(userns, be32_to_cpup(p++)); userns 340 fs/nfs/nfs2xdr.c struct user_namespace *userns) userns 352 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); userns 356 fs/nfs/nfs2xdr.c *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); userns 471 fs/nfs/nfs2xdr.c struct user_namespace *userns) userns 483 fs/nfs/nfs2xdr.c error = decode_fattr(xdr, result, userns); userns 519 fs/nfs/nfs2xdr.c struct user_namespace *userns) userns 526 fs/nfs/nfs2xdr.c error = decode_fattr(xdr, result->fattr, userns); userns 532 fs/nfs/nfs2xdr.c struct user_namespace *userns) userns 542 fs/nfs/nfs2xdr.c error = decode_diropok(xdr, result, userns); userns 534 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 569 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(from_kuid_munged(userns, attr->ia_uid)); userns 575 fs/nfs/nfs3xdr.c *p++ = cpu_to_be32(from_kgid_munged(userns, attr->ia_gid)); userns 625 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 638 fs/nfs/nfs3xdr.c fattr->uid = make_kuid(userns, be32_to_cpup(p++)); userns 641 fs/nfs/nfs3xdr.c fattr->gid = make_kgid(userns, be32_to_cpup(p++)); userns 679 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 687 fs/nfs/nfs3xdr.c return decode_fattr3(xdr, fattr, userns); userns 749 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 756 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, fattr, userns); userns 1020 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 1026 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); userns 1079 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 1083 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); userns 1124 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 1126 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); userns 1132 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 1138 fs/nfs/nfs3xdr.c encode_devicedata3(xdr, args, userns); userns 1142 fs/nfs/nfs3xdr.c encode_sattr3(xdr, args->sattr, userns); userns 1474 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); userns 1487 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->fattr, userns); userns 1490 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->dir_attr, userns); userns 1494 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->dir_attr, userns); userns 1755 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 1762 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->fattr, userns); userns 1771 fs/nfs/nfs3xdr.c error = decode_wcc_data(xdr, result->dir_attr, userns); userns 1780 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); userns 1790 fs/nfs/nfs3xdr.c error = decode_create3resok(xdr, result, userns); userns 1794 fs/nfs/nfs3xdr.c error = decode_wcc_data(xdr, result->dir_attr, userns); userns 1864 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); userns 1872 fs/nfs/nfs3xdr.c error = decode_wcc_data(xdr, result->old_fattr, userns); userns 1875 fs/nfs/nfs3xdr.c error = decode_wcc_data(xdr, result->new_fattr, userns); userns 1909 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_rqst_userns(req); userns 1917 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->fattr, userns); userns 1920 fs/nfs/nfs3xdr.c error = decode_wcc_data(xdr, result->dir_attr, userns); userns 1969 fs/nfs/nfs3xdr.c struct user_namespace *userns = rpc_userns(entry->server->client); userns 2004 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, entry->fattr, userns); userns 2077 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 2081 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->dir_attr, userns); userns 2367 fs/nfs/nfs3xdr.c struct user_namespace *userns) userns 2374 fs/nfs/nfs3xdr.c error = decode_post_op_attr(xdr, result->fattr, userns); userns 1186 fs/nfsd/export.c struct user_namespace *userns = m->file->f_cred->user_ns; userns 1191 fs/nfsd/export.c if (!uid_eq(anonu, make_kuid(userns, (uid_t)-2)) && userns 1192 fs/nfsd/export.c !uid_eq(anonu, make_kuid(userns, 0x10000-2))) userns 1193 fs/nfsd/export.c seq_printf(m, ",anonuid=%u", from_kuid_munged(userns, anonu)); userns 1194 fs/nfsd/export.c if (!gid_eq(anong, make_kgid(userns, (gid_t)-2)) && userns 1195 fs/nfsd/export.c !gid_eq(anong, make_kgid(userns, 0x10000-2))) userns 1196 fs/nfsd/export.c seq_printf(m, ",anongid=%u", from_kgid_munged(userns, anong)); userns 100 fs/nfsd/nfs3xdr.c decode_sattr3(__be32 *p, struct iattr *iap, struct user_namespace *userns) userns 111 fs/nfsd/nfs3xdr.c iap->ia_uid = make_kuid(userns, ntohl(*p++)); userns 116 fs/nfsd/nfs3xdr.c iap->ia_gid = make_kgid(userns, ntohl(*p++)); userns 169 fs/nfsd/nfs3xdr.c struct user_namespace *userns = nfsd_user_namespace(rqstp); userns 174 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); userns 175 fs/nfsd/nfs3xdr.c *p++ = htonl((u32) from_kgid_munged(userns, stat->gid)); userns 528 fs/nfsd/nfs4xdr.c struct user_namespace *userns = nfsd_user_namespace(argp->rqstp); userns 571 fs/nfsd/nfs4xdr.c kuid_t kuid = make_kuid(userns, uid); userns 572 fs/nfsd/nfs4xdr.c kgid_t kgid = make_kgid(userns, gid); userns 74 fs/nfsd/nfsxdr.c decode_sattr(__be32 *p, struct iattr *iap, struct user_namespace *userns) userns 89 fs/nfsd/nfsxdr.c iap->ia_uid = make_kuid(userns, tmp); userns 94 fs/nfsd/nfsxdr.c iap->ia_gid = make_kgid(userns, tmp); userns 132 fs/nfsd/nfsxdr.c struct user_namespace *userns = nfsd_user_namespace(rqstp); userns 143 fs/nfsd/nfsxdr.c *p++ = htonl((u32) from_kuid_munged(userns, stat->uid)); userns 144 fs/nfsd/nfsxdr.c *p++ = htonl((u32) from_kgid_munged(userns, stat->gid)); userns 419 net/sunrpc/auth_gss/auth_gss.c struct user_namespace *userns = cred->user_ns; userns 421 net/sunrpc/auth_gss/auth_gss.c uid_t uid = from_kuid_munged(userns, gss_msg->uid); userns 446 net/sunrpc/auth_gss/auth_gss.c struct user_namespace *userns = cred->user_ns; userns 453 net/sunrpc/auth_gss/auth_gss.c from_kuid_munged(userns, gss_msg->uid)); userns 110 net/sunrpc/auth_unix.c struct user_namespace *userns = clnt->cl_cred ? userns 127 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kuid_munged(userns, cred->cr_cred->fsuid)); userns 128 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kgid_munged(userns, cred->cr_cred->fsgid)); userns 133 net/sunrpc/auth_unix.c *p++ = cpu_to_be32(from_kgid_munged(userns, gi->gid[i])); userns 800 net/sunrpc/svcauth_unix.c struct user_namespace *userns; userns 821 net/sunrpc/svcauth_unix.c userns = (rqstp->rq_xprt && rqstp->rq_xprt->xpt_cred) ? userns 823 net/sunrpc/svcauth_unix.c cred->cr_uid = make_kuid(userns, svc_getnl(argv)); /* uid */ userns 824 net/sunrpc/svcauth_unix.c cred->cr_gid = make_kgid(userns, svc_getnl(argv)); /* gid */ userns 832 net/sunrpc/svcauth_unix.c kgid_t kgid = make_kgid(userns, svc_getnl(argv));