Home
last modified time | relevance | path

Searched refs:nchanges (Results 1 – 15 of 15) sorted by relevance

/freebsd-13.1/contrib/ntp/sntp/libevent/
H A Ddevpoll.c61 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-13.1/contrib/libevent/
H A Ddevpoll.c61 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-13.1/lib/libc/sys/
H A Dkevent.c45 kevent(int kq, const struct kevent *changelist, int nchanges, in kevent() argument
51 __libc_interposing[INTERPOS_kevent])(kq, changelist, nchanges, in kevent()
/freebsd-13.1/contrib/pf/libevent/
H A Dkqueue.c66 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-13.1/sys/kern/
H A Dkern_event.c1111 int nchanges; member
1129 .nchanges = uap->nchanges, in sys_kevent()
1159 uap->nchanges, k_ops->kevent_size); in kern_kevent_generic()
1162 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in kern_kevent_generic()
1279 .nchanges = uap->nchanges, in freebsd11_kevent()
1290 kern_kevent(struct thread *td, int fd, int nchanges, int nevents, in kern_kevent() argument
1298 if (nchanges > 0) in kern_kevent()
1320 if (nchanges < 0) in kqueue_kevent()
1324 while (nchanges > 0) { in kqueue_kevent()
1325 n = nchanges > KQ_NEVENTS ? KQ_NEVENTS : nchanges; in kqueue_kevent()
[all …]
H A Dsystrace_args.c3213 iarg[2] = p->nchanges; /* int */ in systrace_args()
/freebsd-13.1/lib/libthr/thread/
H A Dthr_syscalls.c385 __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-13.1/sys/compat/linux/
H A Dlinux_event.c350 int nchanges = 0; in linux_epoll_ctl() local
383 error = epoll_to_kevent(td, args->fd, &le, kev, &nchanges); in linux_epoll_ctl()
412 error = kern_kevent_fp(td, epfp, nchanges, 0, &k_ops, NULL); in linux_epoll_ctl()
/freebsd-13.1/sys/sys/
H A Devent.h360 int kevent(int kq, const struct kevent *changelist, int nchanges,
H A Dsyscallsubr.h174 int kern_kevent(struct thread *td, int fd, int nchanges, int nevents,
178 int kern_kevent_fp(struct thread *td, struct file *fp, int nchanges,
H A Dsysproto.h1739 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
2650 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h1800 #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-13.1/sys/compat/freebsd32/
H A Dfreebsd32_misc.c737 uap->nchanges, sizeof(struct kevent32)); in freebsd32_kevent()
739 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd32_kevent()
834 uap->changelist, uap->nchanges, in freebsd11_freebsd32_kevent()
837 error = kern_kevent(td, uap->fd, uap->nchanges, uap->nevents, in freebsd11_freebsd32_kevent()
H A Dfreebsd32_proto.h717 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
1259 char nchanges_l_[PADL_(int)]; int nchanges; char nchanges_r_[PADR_(int)]; member
H A Dfreebsd32_systrace_args.c3219 iarg[2] = p->nchanges; /* int */ in systrace_args()