Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_ucast_lash.c238 inline static void enqueue(cl_list_t * bfsq, switch_t * sw) in enqueue() argument
242 cl_list_insert_tail(bfsq, sw); in enqueue()
245 inline static void dequeue(cl_list_t * bfsq, switch_t ** sw) in dequeue() argument
247 *sw = (switch_t *) cl_list_remove_head(bfsq); in dequeue()
266 cl_list_t bfsq; in shortest_path() local
268 cl_list_construct(&bfsq); in shortest_path()
269 cl_list_init(&bfsq, 20); in shortest_path()
271 enqueue(&bfsq, switches[ir]); in shortest_path()
273 while (!cl_is_list_empty(&bfsq)) { in shortest_path()
274 dequeue(&bfsq, &sw); in shortest_path()
[all …]