auth_ops
struct auth_ops * rq_authop; /* authentication flavour */
extern int svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops);
struct auth_ops *flavour;
static struct auth_ops svcauthops_gss = {
static struct auth_ops svcauthops_gss;
struct auth_ops *aops = rqstp->rq_authop;
svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops)
struct auth_ops *old;
old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops);
struct auth_ops *aops = rqstp->rq_authop;
extern struct auth_ops svcauth_null;
extern struct auth_ops svcauth_unix;
extern struct auth_ops svcauth_tls;
static struct auth_ops __rcu *authtab[RPC_AUTH_MAXFLAVOR] = {
[RPC_AUTH_NULL] = (struct auth_ops __force __rcu *)&svcauth_null,
[RPC_AUTH_UNIX] = (struct auth_ops __force __rcu *)&svcauth_unix,
[RPC_AUTH_TLS] = (struct auth_ops __force __rcu *)&svcauth_tls,
static struct auth_ops *
struct auth_ops *aops;
svc_put_auth_ops(struct auth_ops *aops)
struct auth_ops *aops;
struct auth_ops svcauth_unix = {
extern struct auth_ops svcauth_null;
extern struct auth_ops svcauth_unix;
extern struct auth_ops svcauth_tls;
struct auth_ops svcauth_null = {
struct auth_ops svcauth_tls = {