Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_mesh.h55 } link_t; typedef
70 link_t *links[0]; /* per link information */
/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_dfsssp.c81 } link_t; typedef
88 link_t *links;
91 link_t *used_link; /* link between the vertex discovered before and this vertex */
142 static inline void set_default_link(link_t * link) in set_default_link()
1168 link_t *link = NULL; in dfsssp_print_graph()
1220 link_t *link = NULL, *head = NULL; in dfsssp_build_graph()
1277 link = (link_t *) malloc(sizeof(link_t)); in dfsssp_build_graph()
1316 link->next = (link_t *) malloc(sizeof(link_t)); in dfsssp_build_graph()
1432 link_t *link = NULL; in dijkstra()
1474 (link_t *) malloc(sizeof(link_t)); in dijkstra()
[all …]
H A Dosm_mesh.c1140 link_t **links; in reorder_node_links()
1147 if (!(links = calloc(n, sizeof(link_t *)))) { in reorder_node_links()
1550 if (!(node = sw->node = calloc(1, sizeof(mesh_node_t) + num_ports * sizeof(link_t *)))) in osm_mesh_node_create()
1554 if (!(node->links[i] = calloc(1, sizeof(link_t) + num_ports * sizeof(int)))) in osm_mesh_node_create()
H A Dosm_ucast_lash.c75 link_t *l; in connect_switches()
973 link_t *l = sw->node->links[link]; in get_next_port()