Searched refs:gm (Results 1 – 4 of 4) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_mech_switch.c | 57 gss_mech_free(struct gss_api_mech *gm) in gss_mech_free() argument 62 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_free() 63 pf = &gm->gm_pfs[i]; in gss_mech_free() 84 gss_mech_svc_setup(struct gss_api_mech *gm) in gss_mech_svc_setup() argument 89 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_svc_setup() 90 pf = &gm->gm_pfs[i]; in gss_mech_svc_setup() 102 gss_mech_free(gm); in gss_mech_svc_setup() 112 int gss_mech_register(struct gss_api_mech *gm) in gss_mech_register() argument 116 status = gss_mech_svc_setup(gm); in gss_mech_register() 120 list_add(&gm->gm_list, ®istered_mechs); in gss_mech_register() [all …]
|
D | svcauth_gss.c | 420 struct gss_api_mech *gm = NULL; in rsc_parse() local 490 gm = gss_mech_get_by_name(buf); in rsc_parse() 492 if (!gm) in rsc_parse() 500 status = gss_import_sec_context(buf, len, gm, &rsci.mechctx, in rsc_parse() 520 gss_mech_put(gm); in rsc_parse() 1149 struct gss_api_mech *gm = NULL; in gss_proxy_save_rsc() local 1184 gm = gss_mech_get_by_OID(&ud->mech_oid); in gss_proxy_save_rsc() 1185 if (!gm) in gss_proxy_save_rsc() 1192 gm, &rsci.mechctx, in gss_proxy_save_rsc() 1202 gss_mech_put(gm); in gss_proxy_save_rsc()
|
D | auth_gss.c | 190 gss_fill_context(const void *p, const void *end, struct gss_cl_ctx *ctx, struct gss_api_mech *gm) in gss_fill_context() argument 241 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_NOFS); in gss_fill_context()
|
/net/802/ |
D | garp.c | 267 struct garp_msg_hdr *gm; in garp_pdu_append_msg() local 269 if (skb_tailroom(app->pdu) < sizeof(*gm)) in garp_pdu_append_msg() 271 gm = (struct garp_msg_hdr *)__skb_put(app->pdu, sizeof(*gm)); in garp_pdu_append_msg() 272 gm->attrtype = attrtype; in garp_pdu_append_msg() 483 const struct garp_msg_hdr *gm; in garp_pdu_parse_msg() local 485 if (!pskb_may_pull(skb, sizeof(*gm))) in garp_pdu_parse_msg() 487 gm = (struct garp_msg_hdr *)skb->data; in garp_pdu_parse_msg() 488 if (gm->attrtype == 0) in garp_pdu_parse_msg() 490 skb_pull(skb, sizeof(*gm)); in garp_pdu_parse_msg() 493 if (garp_pdu_parse_attr(app, skb, gm->attrtype) < 0) in garp_pdu_parse_msg()
|