Lines Matching refs:rpc_authops
32 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()
136 static const struct rpc_authops *
139 const struct rpc_authops *ops; in rpcauth_get_authops()
162 rpcauth_put_authops(const struct rpc_authops *ops) in rpcauth_put_authops()
179 const struct rpc_authops *ops = rpcauth_get_authops(flavor); in rpcauth_get_pseudoflavor()
205 const struct rpc_authops *ops; in rpcauth_get_gssinfo()
225 const struct rpc_authops *ops; in rpcauth_create()