acred 1268 fs/nfs/write.c struct auth_cred acred = { acred 1272 fs/nfs/write.c if (cred && !cred->cr_ops->crmatch(&acred, cred, 0)) { acred 1278 fs/nfs/write.c cred = auth->au_ops->lookup_cred(auth, &acred, 0); acred 566 net/sunrpc/auth.c rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, acred 575 net/sunrpc/auth.c nr = auth->au_ops->hash_cred(acred, cache->hashbits); acred 579 net/sunrpc/auth.c if (!entry->cr_ops->crmatch(acred, entry, flags)) acred 590 net/sunrpc/auth.c new = auth->au_ops->crcreate(auth, acred, flags, gfp); acred 598 net/sunrpc/auth.c if (!entry->cr_ops->crmatch(acred, entry, flags)) acred 632 net/sunrpc/auth.c struct auth_cred acred; acred 636 net/sunrpc/auth.c memset(&acred, 0, sizeof(acred)); acred 637 net/sunrpc/auth.c acred.cred = cred; acred 638 net/sunrpc/auth.c ret = auth->au_ops->lookup_cred(auth, &acred, flags); acred 644 net/sunrpc/auth.c rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, acred 654 net/sunrpc/auth.c cred->cr_cred = get_cred(acred->cred); acred 662 net/sunrpc/auth.c struct auth_cred acred = { acred 667 net/sunrpc/auth.c ret = auth->au_ops->lookup_cred(auth, &acred, lookupflags); acred 668 net/sunrpc/auth.c put_cred(acred.cred); acred 676 net/sunrpc/auth.c struct auth_cred acred = { acred 681 net/sunrpc/auth.c if (!acred.principal) acred 683 net/sunrpc/auth.c return auth->au_ops->lookup_cred(auth, &acred, lookupflags); acred 701 net/sunrpc/auth.c struct auth_cred acred = { acred 711 net/sunrpc/auth.c new = auth->au_ops->lookup_cred(auth, &acred, lookupflags); acred 1249 net/sunrpc/auth_gss/auth_gss.c struct auth_cred acred = { acred 1255 net/sunrpc/auth_gss/auth_gss.c rpcauth_init_cred(&new->gc_base, &acred, acred 1359 net/sunrpc/auth_gss/auth_gss.c gss_hash_cred(struct auth_cred *acred, unsigned int hashbits) acred 1361 net/sunrpc/auth_gss/auth_gss.c return hash_64(from_kuid(&init_user_ns, acred->cred->fsuid), hashbits); acred 1368 net/sunrpc/auth_gss/auth_gss.c gss_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) acred 1370 net/sunrpc/auth_gss/auth_gss.c return rpcauth_lookup_credcache(auth, acred, flags, GFP_NOFS); acred 1374 net/sunrpc/auth_gss/auth_gss.c gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags, gfp_t gfp) acred 1383 net/sunrpc/auth_gss/auth_gss.c rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops); acred 1390 net/sunrpc/auth_gss/auth_gss.c cred->gc_principal = acred->principal; acred 1488 net/sunrpc/auth_gss/auth_gss.c gss_match(struct auth_cred *acred, struct rpc_cred *rc, int flags) acred 1507 net/sunrpc/auth_gss/auth_gss.c if (acred->principal != NULL) { acred 1510 net/sunrpc/auth_gss/auth_gss.c ret = strcmp(acred->principal, gss_cred->gc_principal) == 0; acred 1514 net/sunrpc/auth_gss/auth_gss.c ret = uid_eq(rc->cr_cred->fsuid, acred->cred->fsuid); acred 1607 net/sunrpc/auth_gss/auth_gss.c struct auth_cred acred = { acred 1613 net/sunrpc/auth_gss/auth_gss.c new = gss_lookup_cred(auth, &acred, RPCAUTH_LOOKUP_NEW); acred 37 net/sunrpc/auth_null.c nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) acred 54 net/sunrpc/auth_null.c nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) acred 44 net/sunrpc/auth_unix.c unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) acred 48 net/sunrpc/auth_unix.c rpcauth_init_cred(ret, acred, auth, &unix_credops); acred 72 net/sunrpc/auth_unix.c unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) acred 77 net/sunrpc/auth_unix.c if (cred->cr_cred == acred->cred) acred 80 net/sunrpc/auth_unix.c if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred->fsgid)) acred 83 net/sunrpc/auth_unix.c if (acred->cred->group_info != NULL) acred 84 net/sunrpc/auth_unix.c groups = acred->cred->group_info->ngroups; acred 93 net/sunrpc/auth_unix.c if (!gid_eq(cred->cr_cred->group_info->gid[i], acred->cred->group_info->gid[i]))