Searched refs:HCDI_HOTPLUG_STATS (Results 1 – 2 of 2) sorted by relevance
292 if (HCDI_HOTPLUG_STATS(hcdi) == NULL) { in usba_hcdi_create_stats()295 HCDI_HOTPLUG_STATS(hcdi) = kstat_create("usba", instance, in usba_hcdi_create_stats()300 if (HCDI_HOTPLUG_STATS(hcdi) == NULL) { in usba_hcdi_create_stats()317 HCDI_HOTPLUG_STATS(hcdi)->ks_private = hcdi; in usba_hcdi_create_stats()318 HCDI_HOTPLUG_STATS(hcdi)->ks_update = nulldev; in usba_hcdi_create_stats()319 kstat_install(HCDI_HOTPLUG_STATS(hcdi)); in usba_hcdi_create_stats()469 if (HCDI_HOTPLUG_STATS(hcdi)) { in usba_hcdi_destroy_stats()470 kstat_delete(HCDI_HOTPLUG_STATS(hcdi)); in usba_hcdi_destroy_stats()471 HCDI_HOTPLUG_STATS(hcdi) = NULL; in usba_hcdi_destroy_stats()
361 #define HCDI_HOTPLUG_STATS(hcdi) ((hcdi)->hcdi_hotplug_stats) macro363 ((hcdi_hotplug_stats_t *)HCDI_HOTPLUG_STATS((hcdi))->ks_data)