Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dfsssp.c628 cdg_link_t *link = NULL, *weakest_link = NULL; in get_weakest_link_in_cycle() local
633 weakest_link = link; in get_weakest_link_in_cycle()
647 (weakest_link->num_pairs - in get_weakest_link_in_cycle()
648 weakest_link->removed)) { in get_weakest_link_in_cycle()
649 weakest_link = link; in get_weakest_link_in_cycle()
664 if (node_with_weakest_link->linklist == weakest_link) { in get_weakest_link_in_cycle()
665 node_with_weakest_link->linklist = weakest_link->next; in get_weakest_link_in_cycle()
669 if (link->next == weakest_link) { in get_weakest_link_in_cycle()
670 link->next = weakest_link->next; in get_weakest_link_in_cycle()
677 return weakest_link; in get_weakest_link_in_cycle()
[all …]