Home
last modified time | relevance | path

Searched refs:mech_names (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/rpc/rpcsec_gss/
H A Drpcsec_gss_conf.c92 static const char **mech_names = NULL; in rpc_gss_get_mechanisms() local
96 if (mech_names) in rpc_gss_get_mechanisms()
97 return (mech_names); in rpc_gss_get_mechanisms()
105 mech_names = malloc(count * sizeof(const char *), M_RPC, M_WAITOK); in rpc_gss_get_mechanisms()
108 mech_names[count++] = km->km_mech_name; in rpc_gss_get_mechanisms()
110 mech_names[count++] = NULL; in rpc_gss_get_mechanisms()
112 return (mech_names); in rpc_gss_get_mechanisms()
/freebsd/lib/librpcsec_gss/
H A Drpcsec_gss_conf.c59 static const char **mech_names; variable
225 mech_names = malloc((count + 1) * sizeof(char*)); in _rpc_gss_load_mech()
226 pp = mech_names; in _rpc_gss_load_mech()
368 return (mech_names); in rpc_gss_get_mechanisms()