Home
last modified time | relevance | path

Searched refs:MAX_EVENTS (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/thermal/lib/
Dmainloop.c23 #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()
/linux-6.1.9/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c10 #define MAX_EVENTS 32 // max events per cgroup: arbitrary macro
161 for ( ; idx < MAX_EVENTS; idx++) { in bperf_cgroup_count()
/linux-6.1.9/tools/testing/selftests/pidfd/
Dpidfd_test.c29 #define MAX_EVENTS 5 macro
398 struct epoll_event event, events[MAX_EVENTS]; in poll_pidfd()
414 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd()
/linux-6.1.9/kernel/trace/
Dtrace_events_user.c44 #define MAX_EVENTS (MAX_BYTES * 8) macro
91 DECLARE_BITMAP(page_bitmap, MAX_EVENTS);
260 bitmap_zero(group->page_bitmap, MAX_EVENTS); in user_event_group_create()
1293 index = find_first_zero_bit(group->page_bitmap, MAX_EVENTS); in user_event_parse()
1295 if (index == MAX_EVENTS) in user_event_parse()
1819 seq_printf(m, "Max: %ld\n", MAX_EVENTS); in user_seq_show()
/linux-6.1.9/tools/perf/util/
Dparse-events.c1255 ADD_CONFIG_TERM_VAL(MAX_EVENTS, max_events, in get_config_terms()