Searched refs:acred (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dauth_generic.c26 struct auth_cred acred; member in struct:generic_cred
46 struct auth_cred acred = { local
53 return generic_auth.au_ops->lookup_cred(&generic_auth, &acred, 0);
61 struct auth_cred *acred = &container_of(cred, struct generic_cred, gc_base)->acred; local
63 return auth->au_ops->lookup_cred(auth, acred, lookupflags);
70 generic_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
72 return rpcauth_lookup_credcache(&generic_auth, acred, flags);
76 generic_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
84 rpcauth_init_cred(&gcred->gc_base, acred,
128 generic_match(struct auth_cred *acred, struct rpc_cred *cred, int flags) argument
[all...]
H A Dauth_unix.c54 unx_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
56 return rpcauth_lookup_credcache(auth, acred, flags);
60 unx_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
67 acred->uid, acred->gid);
72 rpcauth_init_cred(&cred->uc_base, acred, auth, &unix_credops);
75 if (acred->group_info != NULL)
76 groups = acred->group_info->ngroups;
80 cred->uc_gid = acred->gid;
82 cred->uc_gids[i] = GROUP_AT(acred
115 unx_match(struct auth_cred *acred, struct rpc_cred *rcred, int flags) argument
[all...]
H A Dauth.c349 rpcauth_lookup_credcache(struct rpc_auth *auth, struct auth_cred * acred, argument
359 nr = hash_long(acred->uid, cache->hashbits);
363 if (!entry->cr_ops->crmatch(acred, entry, flags))
379 new = auth->au_ops->crcreate(auth, acred, flags);
387 if (!entry->cr_ops->crmatch(acred, entry, flags))
418 struct auth_cred acred; local
425 memset(&acred, 0, sizeof(acred));
426 acred.uid = cred->fsuid;
427 acred
436 rpcauth_init_cred(struct rpc_cred *cred, const struct auth_cred *acred, struct rpc_auth *auth, const struct rpc_credops *ops) argument
465 struct auth_cred acred = { local
[all...]
H A Dauth_null.c36 nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
53 nul_match(struct auth_cred *acred, struct rpc_cred *cred, int taskflags) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/auth_gss/
H A Dauth_gss.c989 gss_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
991 return rpcauth_lookup_credcache(auth, acred, flags);
995 gss_create_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags) argument
1002 acred->uid, auth->au_flavor);
1007 rpcauth_init_cred(&cred->gc_base, acred, auth, &gss_credops);
1014 cred->gc_machine_cred = acred->machine_cred;
1037 gss_match(struct auth_cred *acred, struct rpc_cred *rc, int flags) argument
1049 if (acred->machine_cred != gss_cred->gc_machine_cred)
1051 return (rc->cr_uid == acred->uid);
1121 struct auth_cred acred local
[all...]

Completed in 138 milliseconds