Lines Matching refs:whatis_cb
329 static whatis_callback_t **whatis_cb = NULL; /* callback array */ variable
382 whatis_cb = whatis_cb_start; in whatis_init()
385 qsort(whatis_cb, whatis_cb_count, sizeof (*whatis_cb), whatis_cbcmp); in whatis_init()
420 if (whatis_cb == NULL) in mdb_whatis_register()
442 size_t obytes = sizeof (*whatis_cb) * whatis_cb_size; in mdb_whatis_register()
443 size_t nbytes = sizeof (*whatis_cb) * nsize; in mdb_whatis_register()
447 bcopy(whatis_cb, narray, obytes); in mdb_whatis_register()
449 if (whatis_cb != whatis_cb_start) in mdb_whatis_register()
450 mdb_free(whatis_cb, obytes); in mdb_whatis_register()
451 whatis_cb = narray; in mdb_whatis_register()
456 whatis_cb[whatis_cb_count++] = wcp; in mdb_whatis_register()
457 qsort(whatis_cb, whatis_cb_count, sizeof (*whatis_cb), whatis_cbcmp); in mdb_whatis_register()
470 whatis_callback_t *cur = whatis_cb[idx]; in mdb_whatis_unregister_module()
474 whatis_cb[idx] = NULL; in mdb_whatis_unregister_module()
482 qsort(whatis_cb, whatis_cb_count, sizeof (*whatis_cb), in mdb_whatis_unregister_module()
507 if (whatis_cb == NULL) in cmd_whatis()
532 whatis_callback_t *cur = whatis_cb[idx]; in cmd_whatis()
579 whatis_callback_t *cur = whatis_cb[idx]; in cmd_whatis()
653 whatis_callback_t *cur = whatis_cb[idx]; in whatis_help()