Home
last modified time | relevance | path

Searched refs:search_ordering_ports (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_mgr.c504 uint8_t *search_ordering_ports = NULL; in set_search_ordering_ports() local
518 if (sw->search_ordering_ports) { in set_search_ordering_ports()
525 search_ordering_ports = malloc(sizeof(*search_ordering_ports)*sw->num_ports); in set_search_ordering_ports()
526 if (!search_ordering_ports) { in set_search_ordering_ports()
531 memset(search_ordering_ports, 0, sizeof(*search_ordering_ports)*sw->num_ports); in set_search_ordering_ports()
540 free(search_ordering_ports); in set_search_ordering_ports()
554 free(search_ordering_ports); in set_search_ordering_ports()
563 free(search_ordering_ports); in set_search_ordering_ports()
569 search_ordering_ports[i++] = port; in set_search_ordering_ports()
584 search_ordering_ports[i++] = port; in set_search_ordering_ports()
[all …]
H A Dosm_switch.c93 if (p_sw->search_ordering_ports) in osm_switch_delete()
94 free(p_sw->search_ordering_ports); in osm_switch_delete()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_switch.h103 uint8_t *search_ordering_ports; member
909 if (p_sw->search_ordering_ports == NULL) in osm_switch_get_dimn_port()
911 return p_sw->search_ordering_ports[port_num]; in osm_switch_get_dimn_port()