Lines Matching refs:flavor

102 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
144 if (flavor >= RPC_AUTH_MAXFLAVOR) in rpcauth_get_authops()
148 ops = rcu_dereference(auth_flavors[flavor]); in rpcauth_get_authops()
151 request_module("rpc-auth-%u", flavor); in rpcauth_get_authops()
153 ops = rcu_dereference(auth_flavors[flavor]); in rpcauth_get_authops()
180 rpcauth_get_pseudoflavor(rpc_authflavor_t flavor, struct rpcsec_gss_info *info) in rpcauth_get_pseudoflavor() argument
182 const struct rpc_authops *ops = rpcauth_get_authops(flavor); in rpcauth_get_pseudoflavor()
187 pseudoflavor = flavor; in rpcauth_get_pseudoflavor()
207 rpc_authflavor_t flavor = pseudoflavor_to_flavor(pseudoflavor); in rpcauth_get_gssinfo() local
211 ops = rpcauth_get_authops(flavor); in rpcauth_get_gssinfo()
238 rpc_authflavor_t flavor, pseudos[4]; in rpcauth_list_flavors() local
242 for (flavor = 0; flavor < RPC_AUTH_MAXFLAVOR; flavor++) { in rpcauth_list_flavors()
243 ops = rcu_dereference(auth_flavors[flavor]); in rpcauth_list_flavors()
278 u32 flavor = pseudoflavor_to_flavor(args->pseudoflavor); in rpcauth_create() local
280 ops = rpcauth_get_authops(flavor); in rpcauth_create()