Lines Matching refs:sip
259 struct sysinit *sip; in mi_startup() local
288 while ((sip = STAILQ_FIRST(&sysinit_list)) != NULL) { in mi_startup()
290 STAILQ_INSERT_TAIL(&sysinit_done_list, sip, next); in mi_startup()
292 if (sip->subsystem == SI_SUB_DUMMY) in mi_startup()
295 if (sip->subsystem > last) in mi_startup()
296 BOOTTRACE_INIT("sysinit 0x%7x", sip->subsystem); in mi_startup()
299 if (sip->subsystem > last && verbose_sysinit != 0) { in mi_startup()
307 func = symbol_name((vm_offset_t)sip->func, in mi_startup()
309 data = symbol_name((vm_offset_t)sip->udata, in mi_startup()
314 printf(" %s(%p)... ", func, sip->udata); in mi_startup()
317 printf(" %p(%p)... ", sip->func, in mi_startup()
318 sip->udata); in mi_startup()
323 (*(sip->func))(sip->udata); in mi_startup()
331 last = sip->subsystem; in mi_startup()
874 db_show_print_syinit(struct sysinit *sip, bool ddb) in db_show_print_syinit() argument
886 if (sip == NULL) { in db_show_print_syinit()
891 sym = db_search_symbol((vm_offset_t)sip, DB_STGY_ANY, &offset); in db_show_print_syinit()
893 sym = db_search_symbol((vm_offset_t)sip->func, DB_STGY_PROC, &offset); in db_show_print_syinit()
895 xprint("%s(%p)\n", (sname != NULL) ? sname : "", sip); in db_show_print_syinit()
896 xprint(" %#08x %#08x\n", sip->subsystem, sip->order); in db_show_print_syinit()
898 sip->func, (funcname != NULL) ? funcname : "", sip->udata); in db_show_print_syinit()
904 struct sysinit *sip; in DB_SHOW_COMMAND_FLAGS() local
909 STAILQ_FOREACH(sip, &sysinit_done_list, next) { in DB_SHOW_COMMAND_FLAGS()
910 db_show_print_syinit(sip, true); in DB_SHOW_COMMAND_FLAGS()
914 STAILQ_FOREACH(sip, &sysinit_list, next) { in DB_SHOW_COMMAND_FLAGS()
915 db_show_print_syinit(sip, true); in DB_SHOW_COMMAND_FLAGS()