Home
last modified time | relevance | path

Searched refs:pseudoflavor (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.15/net/sunrpc/auth_gss/
Dgss_mech_switch.c75 pf->pseudoflavor, pf->auth_domain_name); in gss_mech_svc_setup()
187 mech_supports_pseudoflavor(struct gss_api_mech *gm, u32 pseudoflavor) in mech_supports_pseudoflavor() argument
192 if (gm->gm_pfs[i].pseudoflavor == pseudoflavor) in mech_supports_pseudoflavor()
198 static struct gss_api_mech *_gss_mech_get_by_pseudoflavor(u32 pseudoflavor) in _gss_mech_get_by_pseudoflavor() argument
204 if (!mech_supports_pseudoflavor(pos, pseudoflavor)) in _gss_mech_get_by_pseudoflavor()
215 gss_mech_get_by_pseudoflavor(u32 pseudoflavor) in gss_mech_get_by_pseudoflavor() argument
219 gm = _gss_mech_get_by_pseudoflavor(pseudoflavor); in gss_mech_get_by_pseudoflavor()
222 request_module("rpc-auth-gss-%u", pseudoflavor); in gss_mech_get_by_pseudoflavor()
223 gm = _gss_mech_get_by_pseudoflavor(pseudoflavor); in gss_mech_get_by_pseudoflavor()
244 return gm->gm_pfs[i].pseudoflavor; in gss_svc_to_pseudoflavor()
[all …]
Dgss_krb5_mech.c598 .pseudoflavor = RPC_AUTH_GSS_KRB5,
604 .pseudoflavor = RPC_AUTH_GSS_KRB5I,
611 .pseudoflavor = RPC_AUTH_GSS_KRB5P,
Dsvcauth_gss.c808 u32 pseudoflavor; member
828 return gd->pseudoflavor; in svcauth_gss_flavor()
834 svcauth_gss_register_pseudoflavor(u32 pseudoflavor, char * name) in svcauth_gss_register_pseudoflavor() argument
848 new->pseudoflavor = pseudoflavor; in svcauth_gss_register_pseudoflavor()
Dauth_gss.c998 rpc_authflavor_t flavor = args->pseudoflavor; in gss_create_new()
1153 if (gss_auth->rpc_auth.au_flavor != args->pseudoflavor) in gss_auth_find_or_add_hashed()
/Linux-v5.15/include/linux/sunrpc/
Dgss_api.h77 u32 gss_pseudoflavor_to_service(struct gss_api_mech *, u32 pseudoflavor);
78 bool gss_pseudoflavor_to_datatouch(struct gss_api_mech *, u32 pseudoflavor);
82 u32 pseudoflavor; member
Dsvcauth_gss.h23 struct auth_domain *svcauth_gss_register_pseudoflavor(u32 pseudoflavor,
Dauth.h96 rpc_authflavor_t pseudoflavor; member
/Linux-v5.15/fs/nfs/
Dfs_context.c374 rpc_authflavor_t pseudoflavor; in nfs_parse_security_flavors() local
385 pseudoflavor = RPC_AUTH_NULL; in nfs_parse_security_flavors()
388 pseudoflavor = RPC_AUTH_UNIX; in nfs_parse_security_flavors()
391 pseudoflavor = RPC_AUTH_GSS_KRB5; in nfs_parse_security_flavors()
394 pseudoflavor = RPC_AUTH_GSS_KRB5I; in nfs_parse_security_flavors()
397 pseudoflavor = RPC_AUTH_GSS_KRB5P; in nfs_parse_security_flavors()
400 pseudoflavor = RPC_AUTH_GSS_LKEY; in nfs_parse_security_flavors()
403 pseudoflavor = RPC_AUTH_GSS_LKEYI; in nfs_parse_security_flavors()
406 pseudoflavor = RPC_AUTH_GSS_LKEYP; in nfs_parse_security_flavors()
409 pseudoflavor = RPC_AUTH_GSS_SPKM; in nfs_parse_security_flavors()
[all …]
Dnfs4proc.c4007 .pseudoflavor = flavor, in nfs4_lookup_root_sec()
/Linux-v5.15/net/sunrpc/
Dauth.c183 rpc_authflavor_t pseudoflavor; in rpcauth_get_pseudoflavor() local
187 pseudoflavor = flavor; in rpcauth_get_pseudoflavor()
189 pseudoflavor = ops->info2flavor(info); in rpcauth_get_pseudoflavor()
192 return pseudoflavor; in rpcauth_get_pseudoflavor()
205 rpcauth_get_gssinfo(rpc_authflavor_t pseudoflavor, struct rpcsec_gss_info *info) in rpcauth_get_gssinfo() argument
207 rpc_authflavor_t flavor = pseudoflavor_to_flavor(pseudoflavor); in rpcauth_get_gssinfo()
217 result = ops->flavor2info(pseudoflavor, info); in rpcauth_get_gssinfo()
229 u32 flavor = pseudoflavor_to_flavor(args->pseudoflavor); in rpcauth_create()
Dclnt.c291 rpc_authflavor_t pseudoflavor, in rpc_client_register() argument
295 .pseudoflavor = pseudoflavor, in rpc_client_register()
319 pseudoflavor); in rpc_client_register()
716 rpc_authflavor_t pseudoflavor; in rpc_switch_client_transport() local
732 pseudoflavor = clnt->cl_auth->au_flavor; in rpc_switch_client_transport()
756 err = rpc_client_register(clnt, pseudoflavor, NULL); in rpc_switch_client_transport()
772 rpc_client_register(clnt, pseudoflavor, NULL); in rpc_switch_client_transport()
/Linux-v5.15/include/uapi/linux/
Dnfs_mount.h45 int pseudoflavor; /* 5 */ member
/Linux-v5.15/fs/nfsd/
Dexport.h46 u32 pseudoflavor; member
Dauth.c14 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in nfsexp_flags()
Dexport.c522 err = get_uint(mesg, &f->pseudoflavor); in secinfo_parse()
1046 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
1239 seq_printf(m, ",sec=%d", (*fp)->pseudoflavor); in show_secinfo_run()
1242 seq_printf(m, ":%d", (*fp)->pseudoflavor); in show_secinfo_run()
Dnfs4xdr.c4205 flavs[0].pseudoflavor = RPC_AUTH_UNIX; in nfsd4_do_encode_secinfo()
4206 flavs[1].pseudoflavor = RPC_AUTH_NULL; in nfsd4_do_encode_secinfo()
4209 flavs[0].pseudoflavor in nfsd4_do_encode_secinfo()
4213 flavs[0].pseudoflavor in nfsd4_do_encode_secinfo()
4225 rpc_authflavor_t pf = flavs[i].pseudoflavor; in nfsd4_do_encode_secinfo()