Home
last modified time | relevance | path

Searched refs:rpc_authops (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/sunrpc/
H A Dauth.h72 struct rpc_authops;
80 const struct rpc_authops *au_ops;
107 struct rpc_authops { struct
146 extern const struct rpc_authops authunix_ops; argument
147 extern const struct rpc_authops authnull_ops;
148 extern const struct rpc_authops authtls_ops;
155 int rpcauth_register(const struct rpc_authops *);
156 int rpcauth_unregister(const struct rpc_authops *);
/openbmc/linux/net/sunrpc/
H A Dauth.c32 static const struct rpc_authops __rcu *auth_flavors[RPC_AUTH_MAXFLAVOR] = {
33 [RPC_AUTH_NULL] = (const struct rpc_authops __force __rcu *)&authnull_ops,
34 [RPC_AUTH_UNIX] = (const struct rpc_authops __force __rcu *)&authunix_ops,
35 [RPC_AUTH_TLS] = (const struct rpc_authops __force __rcu *)&authtls_ops,
106 rpcauth_register(const struct rpc_authops *ops) in rpcauth_register()
108 const struct rpc_authops *old; in rpcauth_register()
113 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); in rpcauth_register()
121 rpcauth_unregister(const struct rpc_authops *ops) in rpcauth_unregister()
123 const struct rpc_authops *old; in rpcauth_unregister()
129 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); in rpcauth_unregister()
[all …]
H A Dauth_null.c104 const struct rpc_authops authnull_ops = {
H A Dauth_tls.c138 const struct rpc_authops authtls_ops = {
H A Dauth_unix.c214 const struct rpc_authops authunix_ops = {
/openbmc/linux/net/sunrpc/auth_gss/
H A Dauth_gss.c37 static const struct rpc_authops authgss_ops;
2179 static const struct rpc_authops authgss_ops = {