Lines Matching refs:linkname

51 	char		linkname[MAXLINKNAMELEN];  member
727 i_query_legacy_stats(dladm_handle_t dh, const char *linkname, pktsum_t *stats) in i_query_legacy_stats() argument
736 ksp = dladm_kstat_lookup(dladm_dld_kcp(dh), "link", 0, linkname, NULL); in i_query_legacy_stats()
743 i_dlstat_legacy_rx_lane_stats(dladm_handle_t dh, const char *linkname) in i_dlstat_legacy_rx_lane_stats() argument
752 i_query_legacy_stats(dh, linkname, &stats); in i_dlstat_legacy_rx_lane_stats()
780 i_dlstat_legacy_tx_lane_stats(dladm_handle_t dh, const char *linkname) in i_dlstat_legacy_tx_lane_stats() argument
789 i_query_legacy_stats(dh, linkname, &stats); in i_dlstat_legacy_tx_lane_stats()
979 i_dlstat_misc_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_misc_stats() argument
987 ksp = dladm_kstat_lookup(dladm_dld_kcp(handle), linkname, 0, in i_dlstat_misc_stats()
1108 i_dlstat_rx_local_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_rx_local_stats() argument
1112 local_stats = i_dlstat_query_stats(handle, linkname, in i_dlstat_rx_local_stats()
1125 i_dlstat_rx_bcast_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_rx_bcast_stats() argument
1131 misc_stat_entry = i_dlstat_misc_stats(handle, linkname); in i_dlstat_rx_bcast_stats()
1167 i_dlstat_rx_defunctlane_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_rx_defunctlane_stats() argument
1173 misc_stat_entry = i_dlstat_misc_stats(handle, linkname); in i_dlstat_rx_defunctlane_stats()
1215 i_dlstat_rx_hwlane_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_rx_hwlane_stats() argument
1220 i_dlstat_get_idlist(handle, linkname, DLSTAT_RX_HWLANE_IDLIST, in i_dlstat_rx_hwlane_stats()
1223 return (i_dlstat_query_stats(handle, linkname, DLSTAT_MAC_RX_HWLANE, in i_dlstat_rx_hwlane_stats()
1230 const char *linkname) in i_dlstat_rx_swlane_stats() argument
1232 return (i_dlstat_query_stats(dh, linkname, DLSTAT_MAC_RX_SWLANE, in i_dlstat_rx_swlane_stats()
1245 char linkname[MAXLINKNAMELEN]; in dlstat_rx_lane_stats() local
1248 if (dladm_datalink_id2info(dh, linkid, NULL, NULL, NULL, linkname, in dlstat_rx_lane_stats()
1260 head = i_dlstat_legacy_rx_lane_stats(dh, linkname); in dlstat_rx_lane_stats()
1264 local_stats = i_dlstat_rx_local_stats(dh, linkname); in dlstat_rx_lane_stats()
1265 bcast_stats = i_dlstat_rx_bcast_stats(dh, linkname); in dlstat_rx_lane_stats()
1266 defunctlane_stats = i_dlstat_rx_defunctlane_stats(dh, linkname); in dlstat_rx_lane_stats()
1267 lane_stats = i_dlstat_rx_hwlane_stats(dh, linkname); in dlstat_rx_lane_stats()
1269 lane_stats = i_dlstat_rx_swlane_stats(dh, linkid, linkname); in dlstat_rx_lane_stats()
1349 i_dlstat_tx_bcast_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_tx_bcast_stats() argument
1355 misc_stat_entry = i_dlstat_misc_stats(handle, linkname); in i_dlstat_tx_bcast_stats()
1389 i_dlstat_tx_defunctlane_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_tx_defunctlane_stats() argument
1395 misc_stat_entry = i_dlstat_misc_stats(handle, linkname); in i_dlstat_tx_defunctlane_stats()
1427 i_dlstat_tx_hwlane_stats(dladm_handle_t handle, const char *linkname) in i_dlstat_tx_hwlane_stats() argument
1432 i_dlstat_get_idlist(handle, linkname, DLSTAT_TX_HWLANE_IDLIST, in i_dlstat_tx_hwlane_stats()
1435 return (i_dlstat_query_stats(handle, linkname, DLSTAT_MAC_TX_HWLANE, in i_dlstat_tx_hwlane_stats()
1442 const char *linkname) in i_dlstat_tx_swlane_stats() argument
1444 return (i_dlstat_query_stats(dh, linkname, DLSTAT_MAC_TX_SWLANE, in i_dlstat_tx_swlane_stats()
1456 char linkname[MAXLINKNAMELEN]; in dlstat_tx_lane_stats() local
1459 if (dladm_datalink_id2info(dh, linkid, NULL, NULL, NULL, linkname, in dlstat_tx_lane_stats()
1471 head = i_dlstat_legacy_tx_lane_stats(dh, linkname); in dlstat_tx_lane_stats()
1475 bcast_stats = i_dlstat_tx_bcast_stats(dh, linkname); in dlstat_tx_lane_stats()
1476 defunctlane_stats = i_dlstat_tx_defunctlane_stats(dh, linkname); in dlstat_tx_lane_stats()
1477 lane_stats = i_dlstat_tx_hwlane_stats(dh, linkname); in dlstat_tx_lane_stats()
1479 lane_stats = i_dlstat_tx_swlane_stats(dh, linkid, linkname); in dlstat_tx_lane_stats()
1639 char linkname[MAXLINKNAMELEN]; in i_dlstat_query_fanout_stats() local
1645 if (dladm_datalink_id2info(dh, linkid, NULL, NULL, NULL, linkname, in i_dlstat_query_fanout_stats()
1650 i_dlstat_get_idlist(dh, linkname, DLSTAT_FANOUT_IDLIST, in i_dlstat_query_fanout_stats()
1691 const char *linkname) in dlstat_fanout_swlane_and_local_stats() argument
1694 default_idlist, default_idlist_size, linkname, in dlstat_fanout_swlane_and_local_stats()
1700 const char *linkname) in dlstat_fanout_hwlane_stats() argument
1705 i_dlstat_get_idlist(dh, linkname, DLSTAT_RX_HWLANE_IDLIST, in dlstat_fanout_hwlane_stats()
1709 rx_hwlane_idlist_size, linkname, DLSTAT_MAC_RX_HWLANE)); in dlstat_fanout_hwlane_stats()
1719 char linkname[MAXLINKNAMELEN]; in dlstat_fanout_stats() local
1721 if (dladm_datalink_id2info(dh, linkid, NULL, NULL, NULL, linkname, in dlstat_fanout_stats()
1727 dlstat_fanout_swlane_and_local_stats(dh, linkid, linkname); in dlstat_fanout_stats()
1728 fout_hwlane_stats = dlstat_fanout_hwlane_stats(dh, linkid, linkname); in dlstat_fanout_stats()
1806 char linkname[MAXLINKNAMELEN]; in dlstat_rx_ring_stats() local
1817 if (dladm_datalink_id2info(dh, linkid, NULL, &class, NULL, linkname, in dlstat_rx_ring_stats()
1829 modname = linkname; in dlstat_rx_ring_stats()
1893 char linkname[MAXLINKNAMELEN]; in dlstat_tx_ring_stats() local
1904 if (dladm_datalink_id2info(dh, linkid, NULL, &class, NULL, linkname, in dlstat_tx_ring_stats()
1916 modname = linkname; in dlstat_tx_ring_stats()
2270 char linkname[MAXLINKNAMELEN]; in dlstat_misc_stats() local
2272 if (dladm_datalink_id2info(dh, linkid, NULL, NULL, NULL, linkname, in dlstat_misc_stats()
2277 misc_stat_entry = i_dlstat_misc_stats(dh, linkname); in dlstat_misc_stats()