Searched refs:ca_count (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_hca_sim.c | 634 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 D | osm_vendor_mtl_hca_guid.c | 317 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 D | osm_vendor_mlx_hca.c | 305 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 D | osm_vendor_mlx_hca_pfs.c | 588 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 D | osm_vendor_al.c | 584 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 D | osm_vendor_ibumad.c | 572 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 D | osm_vendor_ibumad.h | 156 uint32_t ca_count; member
|
H A D | osm_vendor_al.h | 262 uint32_t ca_count; member
|
H A D | osm_vendor_mtl.h | 127 uint32_t ca_count; member
|
H A D | osm_vendor_ts.h | 195 uint32_t ca_count; member
|