Lines Matching refs:flavor
43 svc_get_auth_ops(rpc_authflavor_t flavor)
47 if (flavor >= RPC_AUTH_MAXFLAVOR)
50 aops = rcu_dereference(authtab[flavor]);
78 u32 flavor;
83 * Decode the Call credential's flavor field. The credential's
86 if (xdr_stream_decode_u32(&rqstp->rq_arg_stream, &flavor) < 0)
89 aops = svc_get_auth_ops(flavor);
141 svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops)
146 if (flavor < RPC_AUTH_MAXFLAVOR) {
147 old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops);
156 svc_auth_unregister(rpc_authflavor_t flavor)
158 if (flavor < RPC_AUTH_MAXFLAVOR)
159 rcu_assign_pointer(authtab[flavor], NULL);
164 * svc_auth_flavor - return RPC transaction's RPC_AUTH flavor
167 * Returns an RPC flavor or GSS pseudoflavor.