/netbsd-src/lib/libc/compat/sys/ |
H A D | compat_kevent.c | 57 kevent(int kq, const struct kevent100 *changelist, size_t nchanges, in kevent() argument 66 return __kevent50(kq, changelist, nchanges, eventlist, nevents, tsp); in kevent() 70 __kevent50(int kq, const struct kevent100 *changelist100, size_t nchanges, in __kevent50() argument 77 changelist = malloc(sizeof(*changelist) * nchanges); in __kevent50() 88 for (size_t i = 0; i < nchanges; i++) in __kevent50() 91 retval = __kevent100(kq, changelist, nchanges, eventlist, nevents, tsp); in __kevent50()
|
/netbsd-src/usr.sbin/powerd/ |
H A D | powerd.c | 250 static size_t nchanges; variable 256 if (nchanges == __arraycount(changebuf)) { in allocchange() 258 nchanges = 0; in allocchange() 261 return &changebuf[nchanges++]; in allocchange() 269 while ((rv = prog_kevent(kq, nchanges ? changebuf : NULL, nchanges, in wait_for_events() 271 nchanges = 0; in wait_for_events()
|
/netbsd-src/external/bsd/libevent/dist/ |
H A D | devpoll.c | 64 int nchanges; member 95 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 98 devpollop->nchanges = 0; in devpoll_commit() 106 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue() 115 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue() 178 if (devpollop->nchanges) in devpoll_dispatch()
|
/netbsd-src/external/bsd/ntp/dist/sntp/libevent/ |
H A D | devpoll.c | 63 int nchanges; member 94 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 97 devpollop->nchanges = 0; in devpoll_commit() 105 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue() 114 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue() 177 if (devpollop->nchanges) in devpoll_dispatch()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/freebsd/sys/ |
H A D | event.d | 167 int kevent(int kq, const kevent_t *changelist, int nchanges, 175 int kevent(int kq, const kevent_t *changelist, int nchanges, 180 int kevent(int kq, const kevent_t *changelist, int nchanges,
|
/netbsd-src/sys/compat/netbsd32/ |
H A D | netbsd32_event.c | 96 const netbsd32_keventp_t changelist, netbsd32_size_t nchanges, in netbsd32_kevent1() argument 106 error = kevent1(retval, fd, NETBSD32PTR64(changelist), nchanges, in netbsd32_kevent1() 132 SCARG(uap, changelist), SCARG(uap, nchanges), in netbsd32___kevent100()
|
H A D | netbsd32_compat_100.c | 128 (netbsd32_keventp_t)SCARG(uap, changelist), SCARG(uap, nchanges), in compat_100_netbsd32___kevent50()
|
H A D | netbsd32_compat_50.c | 615 (netbsd32_keventp_t)SCARG(uap, changelist), SCARG(uap, nchanges), in compat_50_netbsd32_kevent()
|
H A D | netbsd32_syscallargs.h | 1781 syscallarg(netbsd32_size_t) nchanges; 2326 syscallarg(netbsd32_size_t) nchanges; 2801 syscallarg(netbsd32_size_t) nchanges;
|
H A D | netbsd32_systrace_args.c | 2419 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */ in systrace_args() 3117 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */ in systrace_args() 3720 iarg[2] = SCARG(p, nchanges); /* netbsd32_size_t */ in systrace_args()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/sys/ |
H A D | event.d | 180 int kevent(int kq, const kevent_t *changelist, int nchanges, 184 const kevent64_s *changelist, int nchanges,
|
/netbsd-src/lib/libpuffs/ |
H A D | puffs.c | 792 size_t nchanges; in puffs__theloop() local 848 nchanges = 0; in puffs__theloop() 856 EV_SET(&pu->pu_evs[nchanges], fio->io_fd, in puffs__theloop() 860 nchanges++; in puffs__theloop() 863 EV_SET(&pu->pu_evs[nchanges], fio->io_fd, in puffs__theloop() 867 nchanges++; in puffs__theloop() 871 ndone = kevent(pu->pu_kq, pu->pu_evs, nchanges, in puffs__theloop()
|
/netbsd-src/sys/compat/common/ |
H A D | kern_event_100.c | 71 (const struct kevent *)SCARG(uap, changelist), SCARG(uap, nchanges), in compat_100_sys___kevent50()
|
H A D | kern_select_50.c | 94 (const struct kevent *)(const void *)SCARG(uap, changelist), SCARG(uap, nchanges), in compat_50_sys_kevent()
|
/netbsd-src/sys/kern/ |
H A D | sys_epoll.c | 264 int nchanges = 0; in epoll_ctl_common() local 305 error = epoll_to_kevent(epfd, fd, event, kev, &nchanges); in epoll_ctl_common() 334 error = kevent1(retval, epfd, kev, nchanges, NULL, 0, NULL, &k_ops); in epoll_ctl_common()
|
H A D | kern_event.c | 1801 SCARG(uap, nchanges), SCARG(uap, eventlist), SCARG(uap, nevents), in sys___kevent100() 1807 const struct kevent *changelist, size_t nchanges, in kevent1() argument 1842 while (nchanges > 0) { in kevent1() 1843 n = MIN(nchanges, __arraycount(kevbuf)); in kevent1() 1867 nchanges -= n; /* update the results */ in kevent1()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/netbsd/sys/ |
H A D | event.d | 107 int __kevent50(int kq, const kevent_t *changelist, int nchanges,
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/dragonflybsd/sys/ |
H A D | event.d | 123 int kevent(int kq, const kevent_t *changelist, int nchanges,
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1800 #define __sanitizer_syscall_pre_compat_50_kevent(fd, changelist, nchanges, \ argument 1803 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 1806 res, fd, changelist, nchanges, eventlist, nevents, timeout) \ argument 1808 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2406 #define __sanitizer_syscall_pre___kevent50(fd, changelist, nchanges, \ argument 2409 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2411 #define __sanitizer_syscall_post___kevent50(res, fd, changelist, nchanges, \ argument 2414 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 4189 long long fd, long long changelist, long long nchanges, long long eventlist, 4192 long long res, long long fd, long long changelist, long long nchanges, [all …]
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1774 #define __sanitizer_syscall_pre_compat_50_kevent(fd, changelist, nchanges, \ argument 1777 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 1780 res, fd, changelist, nchanges, eventlist, nevents, timeout) \ argument 1782 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2378 #define __sanitizer_syscall_pre___kevent50(fd, changelist, nchanges, \ argument 2381 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2383 #define __sanitizer_syscall_post___kevent50(res, fd, changelist, nchanges, \ argument 2386 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 4017 long long fd, long long changelist, long long nchanges, long long eventlist, 4020 long long res, long long fd, long long changelist, long long nchanges, [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 1800 #define __sanitizer_syscall_pre_compat_50_kevent(fd, changelist, nchanges, \ argument 1803 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 1806 res, fd, changelist, nchanges, eventlist, nevents, timeout) \ argument 1808 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2406 #define __sanitizer_syscall_pre___kevent50(fd, changelist, nchanges, \ argument 2409 (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 2411 #define __sanitizer_syscall_post___kevent50(res, fd, changelist, nchanges, \ argument 2414 res, (long long)(fd), (long long)(changelist), (long long)(nchanges), \ 4189 long long fd, long long changelist, long long nchanges, long long eventlist, 4192 long long res, long long fd, long long changelist, long long nchanges, [all …]
|
/netbsd-src/usr.sbin/inetd/ |
H A D | inetd.c | 1581 my_kevent(const struct kevent *changelist, size_t nchanges, in my_kevent() argument 1586 while ((result = kevent(kq, changelist, nchanges, eventlist, nevents, in my_kevent()
|
/netbsd-src/lib/librumphijack/ |
H A D | hijack.c | 2399 REALKEVENT(int kq, const struct kevent *changelist, size_t nchanges, 2414 for (i = 0; i < nchanges; i++) { 2426 return op_kevent(kq, changelist, nchanges, eventlist, nevents, timeout); 2381 REALKEVENT(int kq,const struct kevent * changelist,size_t nchanges,struct kevent * eventlist,size_t nevents,const struct timespec * timeout) global() argument
|
/netbsd-src/sys/rump/librump/rumpkern/ |
H A D | rump_syscalls.c | 3514 rump___sysimpl_kevent(int fd, const struct kevent * changelist, size_t nchanges, struct kevent * eventlist, size_t nevents, const struct timespec * timeout) in rump___sysimpl_kevent() argument 3524 SPARG(&callarg, nchanges) = nchanges; in rump___sysimpl_kevent() 5331 rump___sysimpl_kevent50(int fd, const struct kevent * changelist, size_t nchanges, struct kevent * eventlist, size_t nevents, const struct timespec * timeout) in rump___sysimpl_kevent50() argument 5341 SPARG(&callarg, nchanges) = nchanges; in rump___sysimpl_kevent50() 6621 rump___sysimpl_kevent100(int fd, const struct kevent * changelist, size_t nchanges, struct kevent * eventlist, size_t nevents, const struct timespec * timeout) in rump___sysimpl_kevent100() argument 6631 SPARG(&callarg, nchanges) = nchanges; in rump___sysimpl_kevent100()
|
/netbsd-src/sys/sys/ |
H A D | syscallargs.h | 2196 syscallarg(size_t) nchanges; 2842 syscallarg(size_t) nchanges; 3370 syscallarg(size_t) nchanges;
|