Searched refs:k_stats (Results 1 – 2 of 2) sorted by relevance
1385 ha->k_stats = kstat_create(QL_NAME, instance, "statistics", in ql_attach()1388 if (ha->k_stats == NULL) { in ql_attach()1396 ha->k_stats->ks_data = (void *)ha->adapter_stats; in ql_attach()1397 ha->k_stats->ks_private = ha; in ql_attach()1398 ha->k_stats->ks_update = ql_kstat_update; in ql_attach()1399 ha->k_stats->ks_ndata = 1; in ql_attach()1400 ha->k_stats->ks_data_size = sizeof (ql_adapter_stat_t); in ql_attach()1401 kstat_install(ha->k_stats); in ql_attach()1543 kstat_delete(ha->k_stats); in ql_attach()1904 if (ha->k_stats != NULL) { in ql_detach()[all …]
1508 kstat_t *k_stats; member