Searched refs:search_ordering_ports (Results 1 – 3 of 3) sorted by relevance
504 uint8_t *search_ordering_ports = NULL; in set_search_ordering_ports() local518 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 …]
93 if (p_sw->search_ordering_ports) in osm_switch_delete()94 free(p_sw->search_ordering_ports); in osm_switch_delete()
103 uint8_t *search_ordering_ports; member909 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()