Searched refs:kevp (Results 1 – 5 of 5) sorted by relevance
| /freebsd/tests/sys/kqueue/libkqueue/ |
| H A D | proc.c | 177 struct kevent *kevp; in proc_track() local 179 kevp = kevent_get_timeout(kqfd, 5); in proc_track() 180 if (kevp == NULL) { in proc_track() 183 kev_str = kevent_to_str(kevp); in proc_track() 187 if ((kevp->fflags & NOTE_CHILD) && (kevp->fflags & NOTE_EXIT)) { in proc_track() 188 errx(1, "NOTE_CHILD and NOTE_EXIT in same kevent: %s", kevent_to_str(kevp)); in proc_track() 191 if (kevp->fflags & NOTE_CHILD) { in proc_track() 192 if (kevp->data == pid) { in proc_track() 195 gchild_pid = kevp->ident; in proc_track() 198 errx(1, "Spurious NOTE_CHILD: %s", kevent_to_str(kevp)); in proc_track() [all …]
|
| /freebsd/sys/sys/ |
| H A D | event.h | 70 struct kevent *kevp = (kevp_); \ 71 (kevp)->ident = (a); \ 72 (kevp)->filter = (b); \ 73 (kevp)->flags = (c); \ 74 (kevp)->fflags = (d); \ 75 (kevp)->data = (e); \ 76 (kevp)->udata = (f); \ 77 (kevp)->ext[0] = 0; \ 78 (kevp)->ext[1] = 0; \ 79 (kevp)->ext[2] = 0; \ [all …]
|
| /freebsd/sys/kern/ |
| H A D | kern_event.c | 107 static int kevent_copyout(void *arg, struct kevent *kevp, int count); 108 static int kevent_copyin(void *arg, struct kevent *kevp, int count); 1352 kevent_copyout(void *arg, struct kevent *kevp, int count) in kevent_copyout() argument 1360 error = copyout(kevp, uap->eventlist, count * sizeof *kevp); in kevent_copyout() 1370 kevent_copyin(void *arg, struct kevent *kevp, int count) in kevent_copyin() argument 1378 error = copyin(uap->changelist, kevp, count * sizeof *kevp); in kevent_copyin() 1386 kevent11_copyout(void *arg, struct kevent *kevp, int count) in kevent11_copyout() argument 1396 kev11.ident = kevp->ident; in kevent11_copyout() 1397 kev11.filter = kevp->filter; in kevent11_copyout() 1398 kev11.flags = kevp->flags; in kevent11_copyout() [all …]
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_event.c | 83 static int epoll_kev_copyout(void *arg, struct kevent *kevp, int count); 84 static int epoll_kev_copyin(void *arg, struct kevent *kevp, int count); 236 epoll_kev_copyout(void *arg, struct kevent *kevp, int count) in epoll_kev_copyout() argument 246 kevent_to_epoll(&kevp[i], &eep[i]); in epoll_kev_copyout() 266 epoll_kev_copyin(void *arg, struct kevent *kevp, int count) in epoll_kev_copyin() argument 272 memcpy(kevp, args->changelist, count * sizeof(*kevp)); in epoll_kev_copyin()
|
| /freebsd/sys/compat/freebsd32/ |
| H A D | freebsd32_misc.c | 197 static int freebsd32_kevent_copyout(void *arg, struct kevent *kevp, int count); 198 static int freebsd32_kevent_copyin(void *arg, struct kevent *kevp, int count); 714 freebsd32_kevent_to_kevent32(const struct kevent *kevp, struct kevent32 *ks32) in freebsd32_kevent_to_kevent32() argument 718 CP(*kevp, *ks32, ident); in freebsd32_kevent_to_kevent32() 719 CP(*kevp, *ks32, filter); in freebsd32_kevent_to_kevent32() 720 CP(*kevp, *ks32, flags); in freebsd32_kevent_to_kevent32() 721 CP(*kevp, *ks32, fflags); in freebsd32_kevent_to_kevent32() 722 FU64_CP(*kevp, *ks32, data); in freebsd32_kevent_to_kevent32() 723 PTROUT_CP(*kevp, *ks32, udata); in freebsd32_kevent_to_kevent32() 724 for (j = 0; j < nitems(kevp->ext); j++) in freebsd32_kevent_to_kevent32() [all …]
|