Lines Matching refs:connect_queue
60 static list_t *connect_queue; variable
69 if (!connect_queue) { in queue_int_add()
70 connect_queue = list_new(osi_free); in queue_int_add()
71 assert(connect_queue != NULL); in queue_int_add()
75 assert(list_length(connect_queue) < MAX_REASONABLE_REQUESTS); in queue_int_add()
77 …for (const list_node_t *node = list_begin(connect_queue); node != list_end(connect_queue); node = … in queue_int_add()
86 list_append(connect_queue, p_node); in queue_int_add()
90 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()
91 list_remove(connect_queue, list_front(connect_queue)); in queue_int_advance()
148 if (!connect_queue || list_is_empty(connect_queue)) in btif_queue_connect_next()
151 connect_node_t *p_head = list_front(connect_queue); in btif_queue_connect_next()
172 list_free(connect_queue); in btif_queue_release()
173 connect_queue = NULL; in btif_queue_release()