Lines Matching refs:hh
125 struct g_hh00 *hh; in g_load_class() local
136 hh = arg; in g_load_class()
137 mp = hh->mp; in g_load_class()
138 hh->error = 0; in g_load_class()
139 if (hh->post) { in g_load_class()
140 g_free(hh); in g_load_class()
141 hh = NULL; in g_load_class()
150 if (hh != NULL) in g_load_class()
151 hh->error = EEXIST; in g_load_class()
156 if (hh != NULL) in g_load_class()
157 hh->error = EEXIST; in g_load_class()
251 struct g_hh00 *hh; in g_modevent() local
270 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_modevent()
271 hh->mp = mp; in g_modevent()
278 hh->post = 1; in g_modevent()
279 error = g_post_event(g_load_class, hh, M_WAITOK, NULL); in g_modevent()
281 error = g_waitfor_event(g_load_class, hh, M_WAITOK, in g_modevent()
284 error = hh->error; in g_modevent()
285 g_free(hh); in g_modevent()
305 struct g_hh00 *hh; in g_retaste_event() local
315 hh = arg; in g_retaste_event()
316 mp = hh->mp; in g_retaste_event()
317 hh->error = 0; in g_retaste_event()
318 if (hh->post) { in g_retaste_event()
319 g_free(hh); in g_retaste_event()
320 hh = NULL; in g_retaste_event()
348 struct g_hh00 *hh; in g_retaste() local
354 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_retaste()
355 hh->mp = mp; in g_retaste()
358 hh->post = 1; in g_retaste()
359 error = g_post_event(g_retaste_event, hh, M_WAITOK, NULL); in g_retaste()
361 error = g_waitfor_event(g_retaste_event, hh, M_WAITOK, NULL); in g_retaste()
363 error = hh->error; in g_retaste()
364 g_free(hh); in g_retaste()
676 struct g_hh00 *hh; in g_resize_provider_event() local
687 hh = arg; in g_resize_provider_event()
688 pp = hh->pp; in g_resize_provider_event()
689 size = hh->size; in g_resize_provider_event()
690 g_free(hh); in g_resize_provider_event()
742 struct g_hh00 *hh; in g_resize_provider() local
751 hh = g_malloc(sizeof *hh, M_WAITOK | M_ZERO); in g_resize_provider()
752 hh->pp = pp; in g_resize_provider()
753 hh->size = size; in g_resize_provider()
754 g_post_event(g_resize_provider_event, hh, M_WAITOK, NULL); in g_resize_provider()