Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/pidfd/
Dpidfd_test.c28 #define MAX_EVENTS 5 macro
361 struct epoll_event event, events[MAX_EVENTS]; in poll_pidfd()
377 c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); in poll_pidfd()
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dgigaset.h42 #define MAX_EVENTS 64 /* size of event queue */ macro
488 struct event_t events[MAX_EVENTS];
Dev-layer.c416 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()
Dcommon.c307 head = (head + 1) % MAX_EVENTS; in clear_events()
342 next = (tail + 1) % MAX_EVENTS; in gigaset_add_event()
/Linux-v5.4/drivers/scsi/
Dgdth.c193 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()
Dgdth.h145 #define MAX_EVENTS 100 /* event buffer count */ macro
/Linux-v5.4/tools/perf/util/
Dparse-events.c1219 ADD_CONFIG_TERM(MAX_EVENTS, max_events, term->val.num); in get_config_terms()