Home
last modified time | relevance | path

Searched refs:flavor (Results 1 – 5 of 5) sorted by relevance

/net/sunrpc/
Dsvcauth.c41 svc_get_auth_ops(rpc_authflavor_t flavor) in svc_get_auth_ops() argument
45 if (flavor >= RPC_AUTH_MAXFLAVOR) in svc_get_auth_ops()
48 aops = rcu_dereference(authtab[flavor]); in svc_get_auth_ops()
64 rpc_authflavor_t flavor; in svc_authenticate() local
69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
71 dprintk("svc: svc_authenticate (%d)\n", flavor); in svc_authenticate()
73 aops = svc_get_auth_ops(flavor); in svc_authenticate()
113 svc_auth_register(rpc_authflavor_t flavor, struct auth_ops *aops) in svc_auth_register() argument
118 if (flavor < RPC_AUTH_MAXFLAVOR) { in svc_auth_register()
119 old = cmpxchg((struct auth_ops ** __force)&authtab[flavor], NULL, aops); in svc_auth_register()
[all …]
Dauth.c102 pseudoflavor_to_flavor(u32 flavor) { in pseudoflavor_to_flavor() argument
103 if (flavor > RPC_AUTH_MAXFLAVOR) in pseudoflavor_to_flavor()
105 return flavor; in pseudoflavor_to_flavor()
112 rpc_authflavor_t flavor; in rpcauth_register() local
114 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_register()
116 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); in rpcauth_register()
127 rpc_authflavor_t flavor; in rpcauth_unregister() local
129 if ((flavor = ops->au_flavor) >= RPC_AUTH_MAXFLAVOR) in rpcauth_unregister()
132 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); in rpcauth_unregister()
140 rpcauth_get_authops(rpc_authflavor_t flavor) in rpcauth_get_authops() argument
[all …]
Dclnt.c694 rpc_clone_client_set_auth(struct rpc_clnt *clnt, rpc_authflavor_t flavor) in rpc_clone_client_set_auth() argument
700 .authflavor = flavor, in rpc_clone_client_set_auth()
/net/sunrpc/auth_gss/
Dauth_gss.c1013 rpc_authflavor_t flavor = args->pseudoflavor; in gss_create_new() local
1033 gss_auth->mech = gss_mech_get_by_pseudoflavor(flavor); in gss_create_new()
1036 gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor); in gss_create_new()
1048 auth->au_flavor = flavor; in gss_create_new()
1049 if (gss_pseudoflavor_to_datatouch(gss_auth->mech, flavor)) in gss_create_new()
1092 trace_rpcgss_createauth(flavor, err); in gss_create_new()
Dsvcauth_gss.c721 u32 flavor = 0; in gss_verify_header() local
733 flavor = svc_getnl(argv); in gss_verify_header()
734 if (flavor != RPC_AUTH_GSS) in gss_verify_header()