Searched refs:gm (Results 1 – 4 of 4) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_mech_switch.c | 33 gss_mech_free(struct gss_api_mech *gm) in gss_mech_free() argument 38 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_free() 39 pf = &gm->gm_pfs[i]; in gss_mech_free() 62 gss_mech_svc_setup(struct gss_api_mech *gm) in gss_mech_svc_setup() argument 68 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_svc_setup() 69 pf = &gm->gm_pfs[i]; in gss_mech_svc_setup() 84 gss_mech_free(gm); in gss_mech_svc_setup() 94 int gss_mech_register(struct gss_api_mech *gm) in gss_mech_register() argument 98 status = gss_mech_svc_setup(gm); in gss_mech_register() 102 list_add_rcu(&gm->gm_list, ®istered_mechs); in gss_mech_register() [all …]
|
D | svcauth_gss.c | 474 struct gss_api_mech *gm = NULL; in rsc_parse() local 547 gm = rsci.cred.cr_gss_mech = gss_mech_get_by_name(buf); in rsc_parse() 549 if (!gm) in rsc_parse() 557 status = gss_import_sec_context(buf, len, gm, &rsci.mechctx, in rsc_parse() 1235 struct gss_api_mech *gm = NULL; in gss_proxy_save_rsc() local 1270 gm = gss_mech_get_by_OID(&ud->mech_oid); in gss_proxy_save_rsc() 1271 if (!gm) in gss_proxy_save_rsc() 1273 rsci.cred.cr_gss_mech = gm; in gss_proxy_save_rsc() 1279 gm, &rsci.mechctx, in gss_proxy_save_rsc()
|
D | auth_gss.c | 177 gss_fill_context(const void *p, const void *end, struct gss_cl_ctx *ctx, struct gss_api_mech *gm) in gss_fill_context() argument 228 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_KERNEL); in gss_fill_context()
|
/net/802/ |
D | garp.c | 277 struct garp_msg_hdr *gm; in garp_pdu_append_msg() local 279 if (skb_tailroom(app->pdu) < sizeof(*gm)) in garp_pdu_append_msg() 281 gm = __skb_put(app->pdu, sizeof(*gm)); in garp_pdu_append_msg() 282 gm->attrtype = attrtype; in garp_pdu_append_msg() 493 const struct garp_msg_hdr *gm; in garp_pdu_parse_msg() local 495 if (!pskb_may_pull(skb, sizeof(*gm))) in garp_pdu_parse_msg() 497 gm = (struct garp_msg_hdr *)skb->data; in garp_pdu_parse_msg() 498 if (gm->attrtype == 0) in garp_pdu_parse_msg() 500 skb_pull(skb, sizeof(*gm)); in garp_pdu_parse_msg() 503 if (garp_pdu_parse_attr(app, skb, gm->attrtype) < 0) in garp_pdu_parse_msg()
|