Lines Matching refs:ratelimited

42         return s->enabled != SD_EVENT_OFF && !s->ratelimited;  in event_source_is_online()
47 return s->enabled == SD_EVENT_OFF || s->ratelimited; in event_source_is_offline()
181 r = CMP(!!x->ratelimited, !!y->ratelimited); in pending_prioq_compare()
207 r = CMP(!!x->ratelimited, !!y->ratelimited); in prepare_prioq_compare()
230 …if (s->ratelimited) { /* If rate-limited the next elapsation is when the ratelimit time window end… in time_event_source_next()
246 …if (s->ratelimited) { /* For ratelimited stuff the earliest and the latest time shall actually be … in time_event_source_latest()
266 return !s->pending || s->ratelimited; in event_source_timer_candidate()
785 if (s->ratelimited) in event_source_time_prioq_reshuffle()
837 if (!s->ratelimited) { in source_disconnect()
933 if (s->ratelimited) in source_disconnect()
2426 bool ratelimited) { in event_source_offline() argument
2432 assert(enabled == SD_EVENT_OFF || ratelimited); in event_source_offline()
2445 s->ratelimited = ratelimited; in event_source_offline()
2496 bool ratelimited) { in event_source_online() argument
2502 assert(enabled != SD_EVENT_OFF || !ratelimited); in event_source_online()
2514 if (enabled == SD_EVENT_OFF || ratelimited) { in event_source_online()
2517 s->ratelimited = ratelimited; in event_source_online()
2576 s->ratelimited = ratelimited; in event_source_online()
2603 r = event_source_offline(s, m, s->ratelimited); in sd_event_source_set_enabled()
2612 r = event_source_online(s, m, s->ratelimited); in sd_event_source_set_enabled()
2878 if (s->ratelimited) in event_source_enter_ratelimited()
2923 if (!s->ratelimited) in event_source_leave_ratelimit()
3186 if (s->ratelimited) { in process_timer()
3189 assert(s->ratelimited); in process_timer()
3550 assert(!s->ratelimited); in source_dispatch()
4548 return s->ratelimited; in sd_event_source_is_ratelimited()