Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/sunrpc/
Dauth.h72 struct rpc_authops;
80 const struct rpc_authops *au_ops;
107 struct rpc_authops { struct
145 extern const struct rpc_authops authunix_ops;
146 extern const struct rpc_authops authnull_ops;
153 int rpcauth_register(const struct rpc_authops *);
154 int rpcauth_unregister(const struct rpc_authops *);
/linux-5.19.10/net/sunrpc/
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,
109 rpcauth_register(const struct rpc_authops *ops) in rpcauth_register()
111 const struct rpc_authops *old; in rpcauth_register()
116 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], NULL, ops); in rpcauth_register()
124 rpcauth_unregister(const struct rpc_authops *ops) in rpcauth_unregister()
126 const struct rpc_authops *old; in rpcauth_unregister()
132 old = cmpxchg((const struct rpc_authops ** __force)&auth_flavors[flavor], ops, NULL); in rpcauth_unregister()
139 static const struct rpc_authops *
[all …]
Dauth_null.c104 const struct rpc_authops authnull_ops = {
Dauth_unix.c214 const struct rpc_authops authunix_ops = {
/linux-5.19.10/net/sunrpc/auth_gss/
Dauth_gss.c37 static const struct rpc_authops authgss_ops;
2148 static const struct rpc_authops authgss_ops = {