Searched refs:MAX_EVENTS (Results 1 – 6 of 6) sorted by relevance
/tools/thermal/lib/ |
D | mainloop.c | 23 #define MAX_EVENTS 10 macro 28 struct epoll_event events[MAX_EVENTS]; in mainloop() 36 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout); in mainloop()
|
/tools/testing/selftests/connector/ |
D | proc_filter.c | 26 #define MAX_EVENTS 1 macro 216 struct epoll_event ev[MAX_EVENTS]; in handle_events() 219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events()
|
/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 10 #define MAX_EVENTS 32 // max events per cgroup: arbitrary macro 161 for ( ; idx < MAX_EVENTS; idx++) { in bperf_cgroup_count()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_test.c | 29 #define MAX_EVENTS 5 macro 399 struct epoll_event event, events[MAX_EVENTS]; in poll_pidfd() 415 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 358 #define MAX_EVENTS 10 macro 361 struct epoll_event ev, events[MAX_EVENTS]; in test_sockmap_skb_verdict_shutdown() 401 err = epoll_wait(epollfd, events, MAX_EVENTS, -1); in test_sockmap_skb_verdict_shutdown()
|
/tools/perf/util/ |
D | parse-events.c | 1150 ADD_CONFIG_TERM_VAL(MAX_EVENTS, max_events, in get_config_terms()
|