/external/linux-kselftest/tools/testing/selftests/pidfd/ |
D | pidfd_poll_test.c | 30 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/ |
D | fanotify09.c | 60 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/ |
D | evport.c | 268 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()
|
D | epoll.c | 88 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()
|
D | devpoll.c | 58 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/ |
D | blktrace.c | 88 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/ |
D | dri2.c | 227 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/ |
D | crash_generation_server.cc | 172 int nevents = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), -1); in Run() local 173 if (-1 == nevents) { in Run()
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 1584 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/ |
D | bluetooth_socket.py | 514 (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/ |
D | kvm.h | 165 __u16 nevents; member
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | kvm.h | 481 __u32 nevents; member
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | netbsd_syscall_hooks.h | 1801 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/ |
D | link.c | 1043 int nevents = 0; 1080 return nevents;
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 1497 nevents: ::c_int, in kevent()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1435 nevents: ::c_int, in kevent()
|
/external/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 3588 nevents: ::c_int, in kevent() 3596 nevents: ::c_int, in kevent64()
|
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
D | mod.rs | 1962 nevents: ::size_t, in kevent()
|
/external/crosvm/kvm_sys/src/x86/ |
D | bindings.rs | 3963 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()
|