Lines Matching refs:threshold
3213 static int process_child(sd_event *e, int64_t threshold, int64_t *ret_min_priority) { in process_child() argument
3214 int64_t min_priority = threshold; in process_child()
3243 if (s->priority > threshold) in process_child()
3382 …event_inotify_data_read(sd_event *e, struct inotify_data *d, uint32_t revents, int64_t threshold) { in event_inotify_data_read() argument
3398 if (d->priority > threshold) in event_inotify_data_read()
3941 static int process_epoll(sd_event *e, usec_t timeout, int64_t threshold, int64_t *ret_min_priority)… in process_epoll() argument
3943 int64_t min_priority = threshold; in process_epoll()
3985 if (threshold == INT64_MAX) in process_epoll()
4002 if (s->priority > threshold) in process_epoll()
4038 … r = event_inotify_data_read(e, e->event_queue[i].data.ptr, e->event_queue[i].events, threshold); in process_epoll()
4069 for (int64_t threshold = INT64_MAX; ; threshold--) { in sd_event_wait() local
4080 r = process_epoll(e, timeout, threshold, &epoll_min_priority); in sd_event_wait()
4087 if (r == 0 && threshold < INT64_MAX) in sd_event_wait()
4091 r = process_child(e, threshold, &child_min_priority); in sd_event_wait()
4098 threshold = MIN(epoll_min_priority, child_min_priority); in sd_event_wait()
4099 if (threshold == INT64_MIN) in sd_event_wait()