Lines Matching refs:kcp

73 dladm_kstat_lookup(kstat_ctl_t *kcp, const char *module, int instance,  in dladm_kstat_lookup()  argument
78 for (ksp = kcp->kc_chain; ksp != NULL; ksp = ksp->ks_next) { in dladm_kstat_lookup()
96 dladm_get_stats(kstat_ctl_t *kcp, kstat_t *ksp, pktsum_t *stats) in dladm_get_stats() argument
99 if (kstat_read(kcp, ksp, NULL) == -1) in dladm_get_stats()
663 i_dlstat_get_stats(kstat_ctl_t *kcp, kstat_t *ksp, void *stats, in i_dlstat_get_stats() argument
668 if (kstat_read(kcp, ksp, NULL) == -1) in i_dlstat_get_stats()
902 kstat_ctl_t *kcp = dladm_dld_kcp(handle); in i_dlstat_get_idlist() local
910 if (kcp == NULL) { in i_dlstat_get_idlist()
918 for (ksp = kcp->kc_chain; ksp != NULL; ksp = ksp->ks_next) { in i_dlstat_get_idlist()
1036 i_dlstat_rx_hwlane_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i) in i_dlstat_rx_hwlane_retrieve_stat() argument
1047 i_dlstat_get_stats(kcp, ksp, &rx_lane_stat_entry->rle_stats, in i_dlstat_rx_hwlane_retrieve_stat()
1055 i_dlstat_rx_swlane_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i __unused) in i_dlstat_rx_swlane_retrieve_stat() argument
1066 i_dlstat_get_stats(kcp, ksp, &rx_lane_stat_entry->rle_stats, in i_dlstat_rx_swlane_retrieve_stat()
1078 i_dlstat_rx_local_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i __unused) in i_dlstat_rx_local_retrieve_stat() argument
1094 i_dlstat_get_stats(kcp, ksp, &rx_lane_stat_entry->rle_stats, in i_dlstat_rx_local_retrieve_stat()
1312 i_dlstat_tx_hwlane_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i) in i_dlstat_tx_hwlane_retrieve_stat() argument
1323 i_dlstat_get_stats(kcp, ksp, &tx_lane_stat_entry->tle_stats, in i_dlstat_tx_hwlane_retrieve_stat()
1331 i_dlstat_tx_swlane_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i __unused) in i_dlstat_tx_swlane_retrieve_stat() argument
1342 i_dlstat_get_stats(kcp, ksp, &tx_lane_stat_entry->tle_stats, in i_dlstat_tx_swlane_retrieve_stat()
1613 i_dlstat_fanout_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i) in i_dlstat_fanout_retrieve_stat() argument
1627 i_dlstat_get_stats(kcp, ksp, &fanout_stat_entry->fe_stats, in i_dlstat_fanout_retrieve_stat()
1785 i_dlstat_rx_ring_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i) in i_dlstat_rx_ring_retrieve_stat() argument
1795 i_dlstat_get_stats(kcp, ksp, &rx_ring_stat_entry->re_stats, in i_dlstat_rx_ring_retrieve_stat()
1872 i_dlstat_tx_ring_retrieve_stat(kstat_ctl_t *kcp, kstat_t *ksp, int i) in i_dlstat_tx_ring_retrieve_stat() argument
1882 i_dlstat_get_stats(kcp, ksp, &tx_ring_stat_entry->re_stats, in i_dlstat_tx_ring_retrieve_stat()