| /freebsd-12.1/contrib/ntp/sntp/libevent/ |
| H A D | devpoll.c | 61 int nchanges; member 92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 95 devpollop->nchanges = 0; in devpoll_commit() 103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue() 112 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue() 175 if (devpollop->nchanges) in devpoll_dispatch()
|
| /freebsd-12.1/contrib/libevent/ |
| H A D | devpoll.c | 61 int nchanges; member 92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit() 95 devpollop->nchanges = 0; in devpoll_commit() 103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue() 112 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue() 175 if (devpollop->nchanges) in devpoll_dispatch()
|
| /freebsd-12.1/lib/libc/sys/ |
| H A D | kevent.c | 45 kevent(int kq, const struct kevent *changelist, int nchanges, in kevent() argument 51 __libc_interposing[INTERPOS_kevent])(kq, changelist, nchanges, in kevent()
|
| /freebsd-12.1/contrib/pf/libevent/ |
| H A D | kqueue.c | 66 int nchanges; member 162 if (kqop->nchanges == nevents) { in kq_insert() 192 memcpy(&kqop->changes[kqop->nchanges++], kev, sizeof(struct kevent)); in kq_insert() 220 res = kevent(kqop->kq, changes, kqop->nchanges, in kq_dispatch() 222 kqop->nchanges = 0; in kq_dispatch()
|
| /freebsd-12.1/sys/kern/ |
| H A D | kern_event.c | 1012 int nchanges; member 1030 .nchanges = uap->nchanges, in sys_kevent() 1060 uap->nchanges, k_ops->kevent_size); in kern_kevent_generic() 1063 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in kern_kevent_generic() 1180 .nchanges = uap->nchanges, in freebsd11_kevent() 1191 kern_kevent(struct thread *td, int fd, int nchanges, int nevents, in kern_kevent() argument 1199 if (nchanges > 0) in kern_kevent() 1222 while (nchanges > 0) { in kqueue_kevent() 1223 n = nchanges > KQ_NEVENTS ? KQ_NEVENTS : nchanges; in kqueue_kevent() 1244 nchanges -= n; in kqueue_kevent() [all …]
|
| H A D | systrace_args.c | 3229 iarg[2] = p->nchanges; /* int */ in systrace_args()
|
| /freebsd-12.1/lib/libthr/thread/ |
| H A D | thr_syscalls.c | 385 __thr_kevent(int kq, const struct kevent *changelist, int nchanges, in __thr_kevent() argument 395 return (__sys_kevent(kq, changelist, nchanges, eventlist, in __thr_kevent() 400 ret = __sys_kevent(kq, changelist, nchanges, eventlist, nevents, in __thr_kevent() 402 _thr_cancel_leave(curthread, ret == -1 && nchanges == 0); in __thr_kevent()
|
| /freebsd-12.1/sys/sys/ |
| H A D | syscallsubr.h | 149 int kern_kevent(struct thread *td, int fd, int nchanges, int nevents, 153 int kern_kevent_fp(struct thread *td, struct file *fp, int nchanges,
|
| H A D | event.h | 362 int kevent(int kq, const struct kevent *changelist, int nchanges,
|
| H A D | sysproto.h | 1747 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member 2561 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
|
| /freebsd-12.1/sys/compat/linux/ |
| H A D | linux_event.c | 455 int nchanges = 0; in linux_epoll_ctl() local 489 &kev_flags, kev, &nchanges); in linux_epoll_ctl() 528 error = kern_kevent_fp(td, epfp, nchanges, 0, &k_ops, NULL); in linux_epoll_ctl()
|
| /freebsd-12.1/contrib/compiler-rt/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), \ 4020 long long res, long long fd, long long changelist, long long nchanges, 4480 long long nchanges, [all …]
|
| /freebsd-12.1/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 734 uap->nchanges, sizeof(struct kevent32)); in freebsd32_kevent() 736 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd32_kevent() 831 uap->changelist, uap->nchanges, in freebsd11_freebsd32_kevent() 834 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd11_freebsd32_kevent()
|
| H A D | freebsd32_proto.h | 708 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member 1223 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
|
| H A D | freebsd32_systrace_args.c | 3235 iarg[2] = p->nchanges; /* int */ in systrace_args()
|