Searched refs:MAX_EVENTS (Results 1 – 7 of 7) sorted by relevance
28 #define MAX_EVENTS 5 macro361 struct epoll_event event, events[MAX_EVENTS]; in poll_pidfd()377 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd()
42 #define MAX_EVENTS 64 /* size of event queue */ macro488 struct event_t events[MAX_EVENTS];
416 next = (tail + 1) % MAX_EVENTS; in add_cid_event()1856 for (i = 0; i < 2 * MAX_EVENTS; ++i) { in process_events()1883 head = (head + 1) % MAX_EVENTS; in process_events()1889 if (i == 2 * MAX_EVENTS) { in process_events()
307 head = (head + 1) % MAX_EVENTS; in clear_events()342 next = (tail + 1) % MAX_EVENTS; in gigaset_add_event()
193 static gdth_evt_str ebuffer[MAX_EVENTS]; /* event buffer */2382 if (elastidx == MAX_EVENTS) in gdth_store_event()2386 if (eoldidx == MAX_EVENTS) in gdth_store_event()2415 if (eindex < 0 || eindex >= MAX_EVENTS) { in gdth_read_event()2422 if (++eindex == MAX_EVENTS) in gdth_read_event()2455 if (++eindex == MAX_EVENTS) in gdth_readapp_event()
145 #define MAX_EVENTS 100 /* event buffer count */ macro
1219 ADD_CONFIG_TERM(MAX_EVENTS, max_events, term->val.num); in get_config_terms()