Lines Matching defs:pending
105 bool pending:1;
192 Prioq *pending;
248 assert(x->pending);
249 assert(y->pending);
313 /* Move the pending ones to the end */
314 if (!x->pending && y->pending)
316 if (x->pending && !y->pending)
344 /* Move the pending ones to the end */
345 if (!x->pending && y->pending)
347 if (x->pending && !y->pending)
414 prioq_free(e->pending);
443 r = prioq_ensure_allocated(&e->pending, pending_prioq_compare);
866 if (s->pending)
867 prioq_remove(s->event->pending, s, &s->pending_index);
897 if (s->pending == b)
900 s->pending = b;
905 r = prioq_put(s->event->pending, s, &s->pending_index);
907 s->pending = false;
911 assert_se(prioq_remove(s->event->pending, s, &s->pending_index));
1435 return s->pending;
1521 assert_return(s->pending, -ENODATA);
1573 if (s->pending)
1574 prioq_reshuffle(s->event->pending, s, &s->pending_index);
1737 if (s->pending)
1738 prioq_reshuffle(s->event->pending, s, &s->pending_index);
2026 /* If the event source was already pending, we just OR in the
2032 if (s->pending)
2082 s->pending)
2127 if (s->pending)
2182 /* If there's already an event source pending for this
2211 if (s->pending)
2229 assert(s->pending || s->type == SOURCE_EXIT);
2242 * post sources as pending */
2393 p = prioq_peek(e->pending);
2454 goto pending;
2485 goto pending;
2491 pending: