Lines Matching defs:flavor
41 svc_get_auth_ops(rpc_authflavor_t flavor)
45 if (flavor >= RPC_AUTH_MAXFLAVOR)
48 aops = rcu_dereference(authtab[flavor]);
64 rpc_authflavor_t flavor;
69 flavor = svc_getnl(&rqstp->rq_arg.head[0]);
71 dprintk("svc: svc_authenticate (%d)\n", flavor);
73 aops = svc_get_auth_ops(flavor);
113 svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops)
118 if (flavor < RPC_AUTH_MAXFLAVOR) {
119 old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops);
128 svc_auth_unregister(rpc_authflavor_t flavor)
130 if (flavor < RPC_AUTH_MAXFLAVOR)
131 rcu_assign_pointer(authtab[flavor], NULL);