Home
last modified time | relevance | path

Searched refs:port_count (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/ofed/libibnetdisc/
H A Dibnetdisc_cache.c223 unsigned int *node_count, unsigned int *port_count) in _load_header_info() argument
249 offset += _unmarshall32(buf + offset, port_count); in _load_header_info()
627 unsigned int port_count = 0; in ibnd_load_fabric() local
660 if (_load_header_info(fd, fabric_cache, &node_count, &port_count) < 0) in ibnd_load_fabric()
668 for (i = 0; i < port_count; i++) { in ibnd_load_fabric()
791 unsigned int port_count) in _cache_header_counts() argument
797 offset += _marshall32(buf + offset, port_count); in _cache_header_counts()
891 unsigned int port_count = 0; in ibnd_cache_fabric() local
948 port_count++; in ibnd_cache_fabric()
953 if (_cache_header_counts(fd, node_count, port_count) < 0) in ibnd_cache_fabric()
/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_hca.c306 uint32_t port_count = 0; in osm_vendor_get_all_port_attr() local
368 p_attr_array[port_count] = in osm_vendor_get_all_port_attr()
372 port_count++; in osm_vendor_get_all_port_attr()
H A Dosm_vendor_mtl_hca_guid.c318 uint32_t port_count = 0; in osm_vendor_get_all_port_attr() local
390 p_attr_array[port_count] = in osm_vendor_get_all_port_attr()
393 port_count++; in osm_vendor_get_all_port_attr()
H A Dosm_vendor_mlx_hca_pfs.c589 uint32_t port_count = 0; in osm_vendor_get_all_port_attr() local
650 p_attr_array[port_count] = in osm_vendor_get_all_port_attr()
655 port_count++; in osm_vendor_get_all_port_attr()
H A Dosm_vendor_mlx_hca_sim.c635 uint32_t port_count = 0; in osm_vendor_get_all_port_attr() local
696 p_attr_array[port_count] = in osm_vendor_get_all_port_attr()
701 port_count++; in osm_vendor_get_all_port_attr()
H A Dosm_vendor_al.c585 uint32_t port_count = 0; in osm_vendor_get_all_port_attr() local
645 p_attr_array[port_count] = in osm_vendor_get_all_port_attr()
648 port_count++; in osm_vendor_get_all_port_attr()
/freebsd/sys/dev/ocs_fc/
H A Docs_fabric.c1855 uint32_t port_count; in ocs_process_gidpt_payload() local
1876 port_count = 0; in ocs_process_gidpt_payload()
1879 port_count ++; in ocs_process_gidpt_payload()
1883 …active_nodes = ocs_malloc(node->ocs, port_count * sizeof(*active_nodes), OCS_M_NOWAIT | OCS_M_ZERO… in ocs_process_gidpt_payload()
1911 for (j = 0; j < port_count; j ++) { in ocs_process_gidpt_payload()
1922 for (i = 0; i < port_count; i ++) { in ocs_process_gidpt_payload()
1937 ocs_free(ocs, active_nodes, port_count * sizeof(*active_nodes)); in ocs_process_gidpt_payload()
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_console.c1193 uint32_t port_count[255]; /* max ports is a uint8_t */ in lidbalance_check() local
1219 memset(port_count, '\0', sizeof(uint32_t) * 255); in lidbalance_check()
1263 port_count[port_num]++; in lidbalance_check()
1278 if (!port_count[i]) in lidbalance_check()
1280 if (port_count[i] < port_min_count) in lidbalance_check()
1281 port_min_count = port_count[i]; in lidbalance_check()
1282 if (port_count[i] > port_max_count) in lidbalance_check()
1283 port_max_count = port_count[i]; in lidbalance_check()
1333 if (!port_count[i]) in lidbalance_check()
1336 port_count[i]); in lidbalance_check()
H A Dosm_ucast_lash.c1060 int i, port_count; in osm_lash_process_switch() local
1067 port_count = osm_node_get_num_physp(p_sw->p_node); in osm_lash_process_switch()
1070 for (i = 1; i < port_count; i++) { in osm_lash_process_switch()
1151 uint16_t port_count; in discover_network_properties() local
1160 port_count = osm_node_get_num_physp(p_sw->p_node); in discover_network_properties()
1163 for (i = 1; i < port_count; i++) { in discover_network_properties()
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_ulp.h120 u8 port_count; member
H A Dbnxt.h1071 uint8_t port_count; member
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_entity.h232 u32 port_count; member
238 u32 port_count; member
H A Dcudbg_lib.c1293 mac_stats_buff->port_count = n; in collect_macstats()
1294 for (i = 0; i < mac_stats_buff->port_count; i++) in collect_macstats()
/freebsd/share/examples/drivers/
H A Dmake_device_driver.sh442 &port_start, &port_count);
443 if (port_count != NUMPORTS) {
/freebsd/sys/dev/mfi/
H A Dmfireg.h739 uint8_t port_count; member
751 uint8_t port_count; member
/freebsd/sys/netinet/libalias/
H A Dalias_db.c370 u_short port_count, in FindNewPortGroup() argument
421 for (j = 0; j < port_count; j++) { in FindNewPortGroup()
431 if (j == port_count) in FindNewPortGroup()
/freebsd/sys/dev/mrsas/
H A Dmrsas.h2035 u_int8_t port_count; member
2048 u_int8_t port_count; member
/freebsd/sys/dev/ice/
H A Dice_adminq_cmd.h1805 u8 port_count;
1756 u8 port_count; global() member
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c3094 pppp_factor = rdev->en_dev->port_count; in bnxt_re_alloc_init_tbls()