Searched refs:MAX_EVENTS (Results 1 – 6 of 6) sorted by relevance
/linux/tools/thermal/lib/ |
H A D | mainloop.c | 20 #define MAX_EVENTS 10 macro 25 struct epoll_event events[MAX_EVENTS]; in mainloop() 33 nfds = epoll_wait(epfd, events, MAX_EVENTS, timeout); in mainloop()
|
/linux/tools/testing/selftests/connector/ |
H A 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()
|
/linux/tools/perf/util/bpf_skel/ |
H A 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()
|
/linux/tools/testing/selftests/pidfd/ |
H A 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()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 451 #define MAX_EVENTS 10 macro 455 struct epoll_event ev, events[MAX_EVENTS]; in test_sockmap_skb_verdict_shutdown() 491 err = epoll_wait(epollfd, events, MAX_EVENTS, -1); in test_sockmap_skb_verdict_shutdown()
|
/linux/tools/perf/util/ |
H A D | parse-events.c | 1222 ADD_CONFIG_TERM_VAL(MAX_EVENTS, max_events, in get_config_terms()
|