Lines Matching refs:pending

99         Prioq *pending;  member
172 assert(x->pending); in pending_prioq_compare()
173 assert(y->pending); in pending_prioq_compare()
266 return !s->pending || s->ratelimited; in event_source_timer_candidate()
345 prioq_free(e->pending); in event_free()
395 r = prioq_ensure_allocated(&e->pending, pending_prioq_compare); in sd_event_new()
769 if (s->pending) in event_source_pp_prioq_reshuffle()
770 prioq_reshuffle(s->event->pending, s, &s->pending_index); in event_source_pp_prioq_reshuffle()
900 if (s->pending) { in source_disconnect()
927 if (s->pending) in source_disconnect()
928 prioq_remove(s->event->pending, s, &s->pending_index); in source_disconnect()
1007 if (s->pending == b) in source_set_pending()
1010 s->pending = b; in source_set_pending()
1015 r = prioq_put(s->event->pending, s, &s->pending_index); in source_set_pending()
1017 s->pending = false; in source_set_pending()
1021 assert_se(prioq_remove(s->event->pending, s, &s->pending_index)); in source_set_pending()
2184 return s->pending; in sd_event_source_get_pending()
2288 assert_return(s->pending, -ENODATA); in sd_event_source_get_io_revents()
3133 if (s->pending) in process_io()
3200 if (s->enabled == SD_EVENT_OFF || s->pending) in process_timer()
3246 if (s->pending) in process_child()
3299 if (s->pending) in process_pidfd()
3364 if (s->pending) in process_signal()
3539 assert(s->pending || s->type == SOURCE_EXIT); in source_dispatch()
3761 p = prioq_peek(e->pending); in event_next_pending()
3845 goto pending; in sd_event_prepare()
3878 goto pending; in sd_event_prepare()
3884 pending: in sd_event_prepare()