Home
last modified time | relevance | path

Searched refs:nevents (Results 1 – 19 of 19) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c30 int iter, nevents; in main() local
87 nevents = poll(&fds, 1, -1); in main()
90 if (nevents < 0) in main()
94 if (nevents != 1) in main()
96 nevents); in main()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c60 int nevents; member
189 if (ret < tc->nevents * (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
192 ret, tc->nevents * (int)FAN_EVENT_METADATA_LEN); in test_fanotify()
198 if (ret > tc->nevents * (int)FAN_EVENT_METADATA_LEN) { in test_fanotify()
201 tc->nevents, ret, in test_fanotify()
202 tc->nevents * (int)FAN_EVENT_METADATA_LEN); in test_fanotify()
/external/libevent/
Devport.c268 int nevents = 1; in evport_dispatch() local
307 (unsigned int *) &nevents, ts_p); in evport_dispatch()
315 if (nevents == 0) in evport_dispatch()
323 event_debug(("%s: port_getn reports %d events", __func__, nevents)); in evport_dispatch()
325 for (i = 0; i < nevents; ++i) { in evport_dispatch()
358 epdp->ed_npending = nevents; in evport_dispatch()
360 if (nevents == epdp->ed_maxevents && in evport_dispatch()
Depoll.c88 int nevents; member
175 epollop->nevents = INITIAL_NEVENT; in epoll_init()
465 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout); in epoll_dispatch()
479 EVUTIL_ASSERT(res <= epollop->nevents); in epoll_dispatch()
508 if (res == epollop->nevents && epollop->nevents < MAX_NEVENT) { in epoll_dispatch()
511 int new_nevents = epollop->nevents * 2; in epoll_dispatch()
518 epollop->nevents = new_nevents; in epoll_dispatch()
Ddevpoll.c58 int nevents; member
103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue()
152 devpollop->nevents = nfiles; in devpoll_init()
182 dvp.dp_nfds = devpollop->nevents; in devpoll_dispatch()
/external/blktrace/
Dblktrace.c88 unsigned long long nevents; member
506 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) in pdc_nev_update() argument
508 dpp->stats[cpu].nevents += nevents; in pdc_nev_update()
1370 int off, t_len, nevents; in handle_list_file() local
1394 nevents = 0; in handle_list_file()
1402 nevents++; in handle_list_file()
1404 if (nevents) in handle_list_file()
1405 pdc_nev_update(tbp->dpp, tbp->cpu, nevents); in handle_list_file()
2036 unsigned long long nevents, data_read; in show_stats() local
2055 nevents = 0; in show_stats()
[all …]
/external/mesa3d/src/glx/
Ddri2.c227 int i, nevents; in DRI2QueryVersion() local
249 nevents = 0; in DRI2QueryVersion()
252 nevents = 1; in DRI2QueryVersion()
256 nevents = 2; in DRI2QueryVersion()
260 for (i = 0; i < nevents; i++) { in DRI2QueryVersion()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc172 int nevents = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), -1); in Run() local
173 if (-1 == nevents) { in Run()
/external/python/cpython2/Modules/
Dselectmodule.c1584 int nevents = 0; in kqueue_queue_control() local
1600 if (!PyArg_ParseTuple(args, "Oi|O:control", &ch, &nevents, &otimeout)) in kqueue_queue_control()
1603 if (nevents < 0) { in kqueue_queue_control()
1606 nevents); in kqueue_queue_control()
1676 if (nevents) { in kqueue_queue_control()
1677 evl = PyMem_New(struct kevent, nevents); in kqueue_queue_control()
1686 evl, nevents, ptimeoutspec); in kqueue_queue_control()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py514 (ncommands, nevents) = struct.unpack_from('<HH', buffer(data, 0, 4))
516 expected_length = offset + (ncommands * 2) + (nevents * 2)
528 while len(events) < nevents:
/external/kernel-headers/original/uapi/asm-arm64/asm/
Dkvm.h165 __u16 nevents; member
/external/kernel-headers/original/uapi/asm-x86/asm/
Dkvm.h481 __u32 nevents; member
/external/llvm-project/compiler-rt/include/sanitizer/
Dnetbsd_syscall_hooks.h1801 eventlist, nevents, timeout) \ argument
1804 (long long)(eventlist), (long long)(nevents), (long long)(timeout))
1806 res, fd, changelist, nchanges, eventlist, nevents, timeout) \ argument
1809 (long long)(eventlist), (long long)(nevents), (long long)(timeout))
2407 eventlist, nevents, timeout) \ argument
2410 (long long)(eventlist), (long long)(nevents), (long long)(timeout))
2412 eventlist, nevents, timeout) \ argument
2415 (long long)(eventlist), (long long)(nevents), (long long)(timeout))
4190 long long nevents, long long timeout);
4193 long long eventlist, long long nevents, long long timeout);
[all …]
/external/libnl/lib/route/
Dlink.c1043 int nevents = 0;
1080 return nevents;
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs1497 nevents: ::c_int, in kevent()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1435 nevents: ::c_int, in kevent()
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs3588 nevents: ::c_int, in kevent()
3596 nevents: ::c_int, in kevent64()
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs1962 nevents: ::size_t, in kevent()
/external/crosvm/kvm_sys/src/x86/
Dbindings.rs3963 pub nevents: __u32, field
3992 unsafe { &(*(::std::ptr::null::<kvm_pmu_event_filter>())).nevents as *const _ as usize }, in bindgen_test_layout_kvm_pmu_event_filter()
3998 stringify!(nevents) in bindgen_test_layout_kvm_pmu_event_filter()