g_waitfor_event
g_waitfor_event(fd_detach_geom, fd, M_WAITOK, NULL);
int g_waitfor_event(g_event_t *func, void *arg, int flag, ...);
g_waitfor_event(g_ctl_req, req, M_WAITOK, NULL);
g_waitfor_event(g_kern_disks, sb, M_WAITOK, NULL);
g_waitfor_event(func, sb, M_WAITOK, NULL);
g_waitfor_event(func, sb, M_WAITOK, NULL);
error = g_waitfor_event(g_load_class, hh, M_WAITOK,
error = g_waitfor_event(g_retaste_event, hh, M_WAITOK, NULL);
error = g_waitfor_event(g_part_unload_event, &arg, M_WAITOK,
g_waitfor_event(swapgeom_close_ev, cp, M_WAITOK, NULL);