Searched refs:gm (Results 1 – 4 of 4) sorted by relevance
/net/sunrpc/auth_gss/ |
D | gss_mech_switch.c | 32 gss_mech_free(struct gss_api_mech *gm) in gss_mech_free() argument 37 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_free() 38 pf = &gm->gm_pfs[i]; in gss_mech_free() 61 gss_mech_svc_setup(struct gss_api_mech *gm) in gss_mech_svc_setup() argument 67 for (i = 0; i < gm->gm_pf_num; i++) { in gss_mech_svc_setup() 68 pf = &gm->gm_pfs[i]; in gss_mech_svc_setup() 83 gss_mech_free(gm); in gss_mech_svc_setup() 93 int gss_mech_register(struct gss_api_mech *gm) in gss_mech_register() argument 97 status = gss_mech_svc_setup(gm); in gss_mech_register() 101 list_add_rcu(&gm->gm_list, ®istered_mechs); in gss_mech_register() [all …]
|
D | svcauth_gss.c | 438 struct gss_api_mech *gm = NULL; in rsc_parse() local 511 gm = rsci.cred.cr_gss_mech = gss_mech_get_by_name(buf); in rsc_parse() 513 if (!gm) in rsc_parse() 521 status = gss_import_sec_context(buf, len, gm, &rsci.mechctx, in rsc_parse() 1229 struct gss_api_mech *gm = NULL; in gss_proxy_save_rsc() local 1265 gm = gss_mech_get_by_OID(&ud->mech_oid); in gss_proxy_save_rsc() 1266 if (!gm) in gss_proxy_save_rsc() 1268 rsci.cred.cr_gss_mech = gm; in gss_proxy_save_rsc() 1274 gm, &rsci.mechctx, in gss_proxy_save_rsc()
|
D | auth_gss.c | 160 gss_fill_context(const void *p, const void *end, struct gss_cl_ctx *ctx, struct gss_api_mech *gm) in gss_fill_context() argument 211 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_NOFS); 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()
|