Home
last modified time | relevance | path

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

/openbmc/linux/tools/thermal/lib/
H A 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()
/openbmc/qemu/block/
H A Dlinux-aio.c34 #define MAX_EVENTS 1024 macro
294 struct iocb *iocbs[MAX_EVENTS]; in ioq_submit()
298 if (s->io_q.in_flight >= MAX_EVENTS) { in ioq_submit()
304 if (s->io_q.in_flight + len >= MAX_EVENTS) { in ioq_submit()
356 max_batch = MIN_NON_ZERO(MAX_EVENTS - s->io_q.in_flight, max_batch); in laio_max_batch()
465 rc = io_setup(MAX_EVENTS, &s->ctx); in laio_init()
/openbmc/linux/tools/testing/selftests/connector/
H A Dproc_filter.c26 #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()
/openbmc/linux/tools/perf/util/bpf_skel/
H A Dbperf_cgroup.bpf.c10 #define MAX_EVENTS 32 // max events per cgroup: arbitrary macro
161 for ( ; idx < MAX_EVENTS; idx++) { in bperf_cgroup_count()
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_test.c29 #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()
/openbmc/phosphor-dbus-monitor/
H A Dmeson.build23 conf_data.set('MAX_EVENTS', 20)
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_basic.c358 #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()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_manager.cpp70 if (eventQueue.size() == MAX_EVENTS) in create()
/openbmc/linux/tools/perf/util/
H A Dparse-events.c1150 ADD_CONFIG_TERM_VAL(MAX_EVENTS, max_events, in get_config_terms()