Lines Matching refs:kevp
106 static int kevent_copyout(void *arg, struct kevent *kevp, int count);
107 static int kevent_copyin(void *arg, struct kevent *kevp, int count);
1194 kevent_copyout(void *arg, struct kevent *kevp, int count) in kevent_copyout() argument
1202 error = copyout(kevp, uap->eventlist, count * sizeof *kevp); in kevent_copyout()
1212 kevent_copyin(void *arg, struct kevent *kevp, int count) in kevent_copyin() argument
1220 error = copyin(uap->changelist, kevp, count * sizeof *kevp); in kevent_copyin()
1228 kevent11_copyout(void *arg, struct kevent *kevp, int count) in kevent11_copyout() argument
1238 kev11.ident = kevp->ident; in kevent11_copyout()
1239 kev11.filter = kevp->filter; in kevent11_copyout()
1240 kev11.flags = kevp->flags; in kevent11_copyout()
1241 kev11.fflags = kevp->fflags; in kevent11_copyout()
1242 kev11.data = kevp->data; in kevent11_copyout()
1243 kev11.udata = kevp->udata; in kevent11_copyout()
1248 kevp++; in kevent11_copyout()
1257 kevent11_copyin(void *arg, struct kevent *kevp, int count) in kevent11_copyin() argument
1270 kevp->ident = kev11.ident; in kevent11_copyin()
1271 kevp->filter = kev11.filter; in kevent11_copyin()
1272 kevp->flags = kev11.flags; in kevent11_copyin()
1273 kevp->fflags = kev11.fflags; in kevent11_copyin()
1274 kevp->data = (uintptr_t)kev11.data; in kevent11_copyin()
1275 kevp->udata = kev11.udata; in kevent11_copyin()
1276 bzero(&kevp->ext, sizeof(kevp->ext)); in kevent11_copyin()
1278 kevp++; in kevent11_copyin()
1333 struct kevent *kevp, *changes; in kqueue_kevent() local
1347 kevp = &changes[i]; in kqueue_kevent()
1348 if (!kevp->filter) in kqueue_kevent()
1350 kevp->flags &= ~EV_SYSFLAGS; in kqueue_kevent()
1351 error = kqueue_register(kq, kevp, td, M_WAITOK); in kqueue_kevent()
1352 if (error || (kevp->flags & EV_RECEIPT)) { in kqueue_kevent()
1355 kevp->flags = EV_ERROR; in kqueue_kevent()
1356 kevp->data = error; in kqueue_kevent()
1357 (void)k_ops->k_copyout(k_ops->arg, kevp, 1); in kqueue_kevent()
1924 struct kevent *kevp; in kqueue_scan() local
1969 kevp = keva; in kqueue_scan()
2042 *kevp = kn->kn_kevent; in kqueue_scan()
2067 kn->kn_fop->f_touch(kn, kevp, EVENT_PROCESS); in kqueue_scan()
2069 *kevp = kn->kn_kevent; in kqueue_scan()
2095 kevp++; in kqueue_scan()
2104 kevp = keva; in kqueue_scan()