| /freebsd-14.2/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-14.2/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-14.2/lib/libc/sys/ |
| H A D | kevent.c | 41 kevent(int kq, const struct kevent *changelist, int nchanges, in kevent() argument 47 __libc_interposing[INTERPOS_kevent])(kq, changelist, nchanges, in kevent()
|
| /freebsd-14.2/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-14.2/sys/kern/ |
| H A D | kern_event.c | 1121 int nchanges; member 1139 .nchanges = uap->nchanges, in sys_kevent() 1169 uap->nchanges, k_ops->kevent_size); in kern_kevent_generic() 1172 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in kern_kevent_generic() 1289 .nchanges = uap->nchanges, in freebsd11_kevent() 1300 kern_kevent(struct thread *td, int fd, int nchanges, int nevents, in kern_kevent() argument 1308 if (nchanges > 0) in kern_kevent() 1330 if (nchanges < 0) in kqueue_kevent() 1334 while (nchanges > 0) { in kqueue_kevent() 1335 n = nchanges > KQ_NEVENTS ? KQ_NEVENTS : nchanges; in kqueue_kevent() [all …]
|
| H A D | systrace_args.c | 3206 iarg[a++] = p->nchanges; /* int */ in systrace_args()
|
| /freebsd-14.2/lib/libthr/thread/ |
| H A D | thr_syscalls.c | 382 __thr_kevent(int kq, const struct kevent *changelist, int nchanges, in __thr_kevent() argument 392 return (__sys_kevent(kq, changelist, nchanges, eventlist, in __thr_kevent() 397 ret = __sys_kevent(kq, changelist, nchanges, eventlist, nevents, in __thr_kevent() 399 _thr_cancel_leave(curthread, ret == -1 && nchanges == 0); in __thr_kevent()
|
| /freebsd-14.2/sys/compat/linux/ |
| H A D | linux_event.c | 293 int nchanges = 0; in linux_epoll_ctl() local 326 error = epoll_to_kevent(td, args->fd, &le, kev, &nchanges); in linux_epoll_ctl() 355 error = kern_kevent_fp(td, epfp, nchanges, 0, &k_ops, NULL); in linux_epoll_ctl()
|
| /freebsd-14.2/sys/sys/ |
| H A D | event.h | 364 int kevent(int kq, const struct kevent *changelist, int nchanges,
|
| H A D | syscallsubr.h | 205 int kern_kevent(struct thread *td, int fd, int nchanges, int nevents, 209 int kern_kevent_fp(struct thread *td, struct file *fp, int nchanges,
|
| H A D | sysproto.h | 1732 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member 2703 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/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), \ 4192 long long res, long long fd, long long changelist, long long nchanges, 4661 long long nchanges, [all …]
|
| /freebsd-14.2/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 794 uap->nchanges, sizeof(struct kevent32)); in freebsd32_kevent() 796 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd32_kevent() 891 uap->changelist, uap->nchanges, in freebsd11_freebsd32_kevent() 894 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd11_freebsd32_kevent()
|
| H A D | freebsd32_proto.h | 650 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member 1103 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
|
| H A D | freebsd32_systrace_args.c | 3117 iarg[a++] = p->nchanges; /* int */ in systrace_args()
|