mg                 22 source4/heimdal/lib/gssapi/mech/context.c     struct mg_thread_ctx *mg = ptr;
mg                 25 source4/heimdal/lib/gssapi/mech/context.c     if (mg == NULL)
mg                 28 source4/heimdal/lib/gssapi/mech/context.c     gss_release_buffer(&junk, &mg->maj_error);
mg                 29 source4/heimdal/lib/gssapi/mech/context.c     gss_release_buffer(&junk, &mg->min_error);
mg                 30 source4/heimdal/lib/gssapi/mech/context.c     free(mg);
mg                 71 source4/heimdal/lib/gssapi/mech/context.c     struct mg_thread_ctx *mg;
mg                 73 source4/heimdal/lib/gssapi/mech/context.c     mg = _gss_mechglue_thread();
mg                 74 source4/heimdal/lib/gssapi/mech/context.c     if (mg == NULL)
mg                 82 source4/heimdal/lib/gssapi/mech/context.c     if (mech != NULL && gss_oid_equal(mg->mech, mech) == 0)
mg                 88 source4/heimdal/lib/gssapi/mech/context.c 	if (value != mg->maj_stat || mg->maj_error.length == 0)
mg                 90 source4/heimdal/lib/gssapi/mech/context.c 	string->value = malloc(mg->maj_error.length);
mg                 91 source4/heimdal/lib/gssapi/mech/context.c 	string->length = mg->maj_error.length;
mg                 92 source4/heimdal/lib/gssapi/mech/context.c 	memcpy(string->value, mg->maj_error.value, mg->maj_error.length);
mg                 96 source4/heimdal/lib/gssapi/mech/context.c 	if (value != mg->min_stat || mg->min_error.length == 0)
mg                 98 source4/heimdal/lib/gssapi/mech/context.c 	string->value = malloc(mg->min_error.length);
mg                 99 source4/heimdal/lib/gssapi/mech/context.c 	string->length = mg->min_error.length;
mg                100 source4/heimdal/lib/gssapi/mech/context.c 	memcpy(string->value, mg->min_error.value, mg->min_error.length);
mg                114 source4/heimdal/lib/gssapi/mech/context.c     struct mg_thread_ctx *mg;
mg                123 source4/heimdal/lib/gssapi/mech/context.c     mg = _gss_mechglue_thread();
mg                124 source4/heimdal/lib/gssapi/mech/context.c     if (mg == NULL)
mg                127 source4/heimdal/lib/gssapi/mech/context.c     gss_release_buffer(&minor_status, &mg->maj_error);
mg                128 source4/heimdal/lib/gssapi/mech/context.c     gss_release_buffer(&minor_status, &mg->min_error);
mg                130 source4/heimdal/lib/gssapi/mech/context.c     mg->mech = &m->gm_mech_oid;
mg                131 source4/heimdal/lib/gssapi/mech/context.c     mg->maj_stat = maj;
mg                132 source4/heimdal/lib/gssapi/mech/context.c     mg->min_stat = min;
mg                139 source4/heimdal/lib/gssapi/mech/context.c 					&mg->maj_error);
mg                141 source4/heimdal/lib/gssapi/mech/context.c 	mg->maj_error.value = NULL;
mg                142 source4/heimdal/lib/gssapi/mech/context.c 	mg->maj_error.length = 0;
mg                149 source4/heimdal/lib/gssapi/mech/context.c 					&mg->min_error);
mg                151 source4/heimdal/lib/gssapi/mech/context.c 	mg->min_error.value = NULL;
mg                152 source4/heimdal/lib/gssapi/mech/context.c 	mg->min_error.length = 0;