Lines Matching refs:activequeues
234 for (ev = TAILQ_FIRST(base->activequeues[i]); ev; ) { in event_base_free()
252 assert(TAILQ_EMPTY(base->activequeues[i])); in event_base_free()
258 free(base->activequeues[i]); in event_base_free()
259 free(base->activequeues); in event_base_free()
322 free(base->activequeues[i]); in event_base_priority_init()
324 free(base->activequeues); in event_base_priority_init()
329 base->activequeues = (struct event_list **) in event_base_priority_init()
331 if (base->activequeues == NULL) in event_base_priority_init()
335 base->activequeues[i] = malloc(sizeof(struct event_list)); in event_base_priority_init()
336 if (base->activequeues[i] == NULL) in event_base_priority_init()
338 TAILQ_INIT(base->activequeues[i]); in event_base_priority_init()
365 if (TAILQ_FIRST(base->activequeues[i]) != NULL) { in event_process_active()
366 activeq = base->activequeues[i]; in event_process_active()
944 TAILQ_REMOVE(base->activequeues[ev->ev_pri], in event_queue_remove()
977 TAILQ_INSERT_TAIL(base->activequeues[ev->ev_pri], in event_queue_insert()