Searched refs:HCDI_ERROR_STATS (Results 1 – 2 of 2) sorted by relevance
307 if (HCDI_ERROR_STATS(hcdi) == NULL) { in usba_hcdi_create_stats()310 HCDI_ERROR_STATS(hcdi) = kstat_create("usba", instance, in usba_hcdi_create_stats()315 if (HCDI_ERROR_STATS(hcdi) == NULL) { in usba_hcdi_create_stats()361 HCDI_ERROR_STATS(hcdi)->ks_private = hcdi; in usba_hcdi_create_stats()362 HCDI_ERROR_STATS(hcdi)->ks_update = nulldev; in usba_hcdi_create_stats()363 kstat_install(HCDI_ERROR_STATS(hcdi)); in usba_hcdi_create_stats()374 if (HCDI_ERROR_STATS(hcdi) == NULL) { in usba_hcdi_update_error_stats()459 if (HCDI_ERROR_STATS(hcdi)) { in usba_hcdi_destroy_stats()460 kstat_delete(HCDI_ERROR_STATS(hcdi)); in usba_hcdi_destroy_stats()461 HCDI_ERROR_STATS(hcdi) = NULL; in usba_hcdi_destroy_stats()
338 #define HCDI_ERROR_STATS(hcdi) ((hcdi)->hcdi_error_stats) macro340 ((hcdi_error_stats_t *)HCDI_ERROR_STATS((hcdi))->ks_data)