Home
last modified time | relevance | path

Searched refs:ca_count (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/ofed/opensm/libvendor/
H A Dosm_vendor_mlx_hca_sim.c634 uint32_t ca_count = 0; in osm_vendor_get_all_port_attr() local
646 ca_count = __hca_sim_get_num_cas(); in osm_vendor_get_all_port_attr()
647 if (!ca_count) { in osm_vendor_get_all_port_attr()
655 p_ca_infos = malloc(ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
663 memset(p_ca_infos, 0, ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
668 for (caIdx = 1; caIdx <= ca_count; caIdx++) { in osm_vendor_get_all_port_attr()
690 for (caIdx = 1; caIdx <= ca_count; caIdx++) { in osm_vendor_get_all_port_attr()
713 osm_ca_info_destroy(p_vend, p_ca_infos, ca_count); in osm_vendor_get_all_port_attr()
734 uint32_t ca_count = 0; in osm_vendor_get_guid_ca_and_port() local
743 ca_count = __hca_sim_get_num_cas(); in osm_vendor_get_guid_ca_and_port()
[all …]
H A Dosm_vendor_mtl_hca_guid.c317 uint32_t ca_count; in osm_vendor_get_all_port_attr() local
333 status = __osm_vendor_get_ca_ids(p_vend, &p_ca_ids, &ca_count); in osm_vendor_get_all_port_attr()
342 p_vend->p_ca_info = malloc(ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr()
350 memset(p_vend->p_ca_info, 0, ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr()
351 p_vend->ca_count = ca_count; in osm_vendor_get_all_port_attr()
356 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
382 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
435 uint32_t ca, portIdx, ca_count; in osm_vendor_get_guid_ca_and_port() local
446 status = __osm_vendor_get_ca_ids(p_vend, &p_ca_ids, &ca_count); in osm_vendor_get_guid_ca_and_port()
457 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_guid_ca_and_port()
H A Dosm_vendor_mlx_hca.c305 uint32_t ca_count = 0; in osm_vendor_get_all_port_attr() local
318 status = __osm_vendor_get_ca_ids(p_vend, &p_ca_ids, &ca_count); in osm_vendor_get_all_port_attr()
327 p_ca_infos = malloc(ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
335 memset(p_ca_infos, 0, ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
340 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
362 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
387 osm_ca_info_destroy(p_vend, p_ca_infos, ca_count); in osm_vendor_get_all_port_attr()
417 uint32_t ca, portIdx, ca_count; in osm_vendor_get_guid_ca_and_port() local
428 status = __osm_vendor_get_ca_ids(p_vend, &p_ca_ids, &ca_count); in osm_vendor_get_guid_ca_and_port()
439 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_guid_ca_and_port()
H A Dosm_vendor_mlx_hca_pfs.c588 uint32_t ca_count = 0; in osm_vendor_get_all_port_attr() local
600 ca_count = __hca_pfs_get_num_cas(); in osm_vendor_get_all_port_attr()
601 if (!ca_count) { in osm_vendor_get_all_port_attr()
609 p_ca_infos = malloc(ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
617 memset(p_ca_infos, 0, ca_count * sizeof(osm_ca_info_t)); in osm_vendor_get_all_port_attr()
622 for (caIdx = 1; caIdx <= ca_count; caIdx++) { in osm_vendor_get_all_port_attr()
644 for (caIdx = 1; caIdx <= ca_count; caIdx++) { in osm_vendor_get_all_port_attr()
667 osm_ca_info_destroy(p_vend, p_ca_infos, ca_count); in osm_vendor_get_all_port_attr()
688 uint32_t ca_count = 0; in osm_vendor_get_guid_ca_and_port() local
697 ca_count = __hca_pfs_get_num_cas(); in osm_vendor_get_guid_ca_and_port()
[all …]
H A Dosm_vendor_al.c584 unsigned ca_count; in osm_vendor_get_all_port_attr() local
601 status = __osm_vendor_get_ca_guids(p_vend, &p_ca_guid, &ca_count); in osm_vendor_get_all_port_attr()
603 p_vend->p_ca_info = malloc(ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr()
611 memset(p_vend->p_ca_info, 0, ca_count * sizeof(*p_vend->p_ca_info)); in osm_vendor_get_all_port_attr()
612 p_vend->ca_count = ca_count; in osm_vendor_get_all_port_attr()
617 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
637 for (ca = 0; ca < ca_count; ca++) { in osm_vendor_get_all_port_attr()
690 CL_ASSERT(p_vend->ca_count); in osm_vendor_get_ca_guid()
692 for (ca = 0; ca < p_vend->ca_count; ca++) { in osm_vendor_get_ca_guid()
743 CL_ASSERT(p_vend->ca_count); in osm_vendor_get_port_num()
[all …]
H A Dosm_vendor_ibumad.c572 p_vend->ca_count = n_cas; in osm_vendor_init()
675 for (i = 0; i < p_vend->ca_count && !done; i++) { in osm_vendor_get_all_port_attr()
744 for (ca = 0; ca < p_vend->ca_count; ca++) { in osm_vendor_open_port()
/freebsd/contrib/ofed/opensm/include/vendor/
H A Dosm_vendor_ibumad.h156 uint32_t ca_count; member
H A Dosm_vendor_al.h262 uint32_t ca_count; member
H A Dosm_vendor_mtl.h127 uint32_t ca_count; member
H A Dosm_vendor_ts.h195 uint32_t ca_count; member