HomeSort by: relevance | last modified time | path
    Searched defs:kev (Results 1 - 9 of 9) sorted by relevancy

  /src/sys/rump/net/lib/libshmif/
shmif_user.c 61 struct kevent kev; local in function:rumpcomp_shmif_watchsetup
73 EV_SET(&kev, fd, EVFILT_VNODE, EV_ADD|EV_ENABLE|EV_CLEAR,
75 if (kevent(kq, &kev, 1, NULL, 0, NULL) == -1) {
90 struct kevent kev; local in function:rumpcomp_shmif_watchwait
95 rv = kevent(kq, NULL, 0, &kev, 1, NULL);
  /src/tests/lib/libc/sys/
t_eventfd.c 277 struct kevent kev[2]; local in function:ATF_TC_BODY
282 EV_SET(&kev[0], efd, EVFILT_READ, EV_ADD, 0, 0, NULL);
283 EV_SET(&kev[1], efd, EVFILT_WRITE, EV_ADD, 0, 0, NULL);
284 ATF_REQUIRE(kevent(kq, kev, 2, NULL, 0, &ts) == 0);
318 memset(kev, 0, sizeof(kev));
319 ATF_REQUIRE(kevent(kq, NULL, 0, kev, 2, &ts) == 1);
320 ATF_REQUIRE(kev[0].ident == (uintptr_t)efd);
321 ATF_REQUIRE(kev[0].filter == EVFILT_WRITE);
322 ATF_REQUIRE((kev[0].flags & (EV_EOF | EV_ERROR)) == 0)
376 struct kevent kev[1]; local in function:eventfd_select_poll_kevent_block_helper
    [all...]
t_timerfd.c 521 struct kevent kev[1]; local in function:ATF_TC_BODY
526 EV_SET(&kev[0], fd, EVFILT_READ, EV_ADD, 0, 0, NULL);
527 ATF_REQUIRE(kevent(kq, kev, 1, NULL, 0, &ts) == 0);
528 EV_SET(&kev[0], fd, EVFILT_WRITE, EV_ADD, 0, 0, NULL);
529 ATF_CHECK_ERRNO(EINVAL, kevent(kq, kev, 1, NULL, 0, &ts) == -1);
595 memset(kev, 0, sizeof(kev));
596 ATF_REQUIRE(kevent(kq, NULL, 0, kev, 1, &ts) == 1);
597 ATF_REQUIRE(kev[0].ident == (uintptr_t)fd);
598 ATF_REQUIRE(kev[0].filter == EVFILT_READ)
632 struct kevent kev[1]; local in function:ATF_TC_BODY
    [all...]
  /src/sys/kern/
sys_epoll.c 255 struct kevent kev[2]; local in function:epoll_ctl_common
305 error = epoll_to_kevent(epfd, fd, event, kev, &nchanges);
334 error = kevent1(retval, epfd, kev, nchanges, NULL, 0, NULL, &k_ops);
497 struct kevent kev; local in function:epoll_register_kevent
505 EV_SET(&kev, fd, filter, flags, 0, 0, 0);
507 return kevent1(retval, epfd, &kev, 1, NULL, 0, NULL, &k_ops);
kern_event.c 615 filter_touch(struct knote *kn, struct kevent *kev, long type)
630 return kn->kn_fop->f_touch(kn, kev, type);
1305 filt_timercompute(struct kevent *kev, uintptr_t *tticksp)
1310 if (kev->fflags & ~(NOTE_TIMER_UNITMASK | NOTE_ABSTIME)) {
1318 switch (kev->fflags & NOTE_TIMER_UNITMASK) {
1320 ts.tv_sec = kev->data;
1325 ts.tv_sec = kev->data / 1000;
1326 ts.tv_nsec = (kev->data % 1000) * 1000000;
1330 ts.tv_sec = kev->data / 1000000;
1331 ts.tv_nsec = (kev->data % 1000000) * 1000
1437 struct kevent kev = { local in function:filt_timerattach
    [all...]
  /src/lib/libpuffs/
framebuf.c 540 struct kevent kev; local in function:puffs_framev_enqueue_waitevent
561 EV_SET(&kev, fd, EVFILT_READ, EV_ENABLE, 0, 0, fio);
563 if (kevent(pu->pu_kq, &kev, 1, NULL, 0, NULL) == -1)
579 EV_SET(&kev, fd, EVFILT_READ, EV_DISABLE, 0, 0, fio);
580 rv = kevent(pu->pu_kq, &kev, 1, NULL, 0, NULL);
781 struct kevent kev[2]; local in function:puffs__framev_addfd_ctrl
812 EV_SET(&kev[nf], fd, EVFILT_READ, EV_ADD|readenable, 0, 0, fio);
815 EV_SET(&kev[nf], fd, EVFILT_WRITE,
819 rv = kevent(pu->pu_kq, kev, nf, NULL, 0, NULL);
854 struct kevent kev; local in function:puffs_framev_enablefd
885 struct kevent kev[2]; local in function:puffs_framev_disablefd
927 struct kevent kev; local in function:puffs__framev_readclose
964 struct kevent kev; local in function:puffs__framev_writeclose
    [all...]
  /src/lib/librumpclient/
rumpclient.c 246 struct kevent kev[8]; local in function:cliwaitresp
254 kev, __arraycount(kev), NULL);
272 if (kev[i].filter == EVFILT_SIGNAL)
705 struct kevent kev[NSIG+1]; local in function:makeholyfd
715 EV_SET(&kev[i], i+1, EVFILT_SIGNAL, EV_ADD|EV_ENABLE, 0, 0, 0);
717 EV_SET(&kev[NSIG], clispc.spc_fd,
719 if (host_kevent(fd, kev, NSIG+1, NULL, 0, NULL) == -1) {
1115 struct kevent kev[2]; local in function:rumpclient__closenotify
1122 EV_SET(&kev[0], clispc.spc_fd
    [all...]
  /src/sys/compat/linux/common/
linux_inotify.c 428 struct kevent kev; local in function:linux_sys_inotify_add_watch
514 memset(&kev, 0, sizeof(kev));
515 EV_SET(&kev, wd, inotify_filtid, EV_ADD|EV_ENABLE,
518 kev.flags |= EV_ONESHOT;
519 kev.fflags |= inotify_mask_to_kevent_fflags(mask,
522 error = kevent1(retval, ifd->ifd_kqfd, &kev, 1, NULL, 0, NULL,
571 kev.fflags = NOTE_DELETE | NOTE_REVOKE
588 kn->kn_sfflags |= kev.fflags;
590 kn->kn_sfflags = kev.fflags
621 struct kevent kev; local in function:inotify_close_wd
    [all...]
  /src/tests/dev/audio/
audiotest.c 1162 #define KEVENT_SET(kq, kev, nev) \
1163 debug_kevent_set(__LINE__, kq, kev, nev)
1164 int debug_kevent_set(int line, int kq, const struct kevent *kev, size_t nev)
1166 DPRINTFF(line, "kevent_set(%d, %p, %zd)", kq, kev, nev);
1167 int r = rump_or_kevent(kq, kev, nev, NULL, 0, NULL);
1171 #define KEVENT_POLL(kq, kev, nev, ts) \
1172 debug_kevent_poll(__LINE__, kq, kev, nev, ts)
1173 int debug_kevent_poll(int line, int kq, struct kevent *kev, size_t nev,
1186 DPRINTFF(line, "kevent_poll(%d, %p, %zd, %s)", kq, kev, nev, tsbuf);
1187 int r = rump_or_kevent(kq, NULL, 0, kev, nev, ts)
3546 struct kevent kev; local in function:test_kqueue_mode
3629 struct kevent kev; local in function:DEF
3675 struct kevent kev; local in function:DEF
3740 struct kevent kev; local in function:DEF
3813 struct kevent kev; local in function:DEF
3931 struct kevent kev[2]; local in function:DEF
7125 struct kevent kev; local in function:DEF
    [all...]

Completed in 66 milliseconds