Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/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-14.2/lib/libc/sys/
H A Dkevent.c41 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 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-14.2/sys/kern/
H A Dkern_event.c1121 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 Dsystrace_args.c3206 iarg[a++] = p->nchanges; /* int */ in systrace_args()
/freebsd-14.2/lib/libthr/thread/
H A Dthr_syscalls.c382 __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 Dlinux_event.c293 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 Devent.h364 int kevent(int kq, const struct kevent *changelist, int nchanges,
H A Dsyscallsubr.h205 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 Dsysproto.h1732 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 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-14.2/sys/compat/freebsd32/
H A Dfreebsd32_misc.c794 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 Dfreebsd32_proto.h650 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 Dfreebsd32_systrace_args.c3117 iarg[a++] = p->nchanges; /* int */ in systrace_args()