| /src/tests/kernel/kqueue/read/ |
| t_fifo.c | 71 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ on fifo"); 95 EV_SET(&event[0], rfd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0); 107 ATF_REQUIRE(event[0].filter == EVFILT_READ); 120 ATF_REQUIRE(event[0].filter == EVFILT_READ);
|
| t_file2.c | 50 "Checks EVFILT_READ for regular files. This test used to " 68 EV_SET(&event[0], fd1, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
|
| t_ttypty.c | 101 EV_SET(&event[0], acurrent, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0); 110 ATF_REQUIRE_EQ(event[0].filter, EVFILT_READ); 122 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ for master tty"); 132 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ for slave tty"); 143 "Checks EVFILT_READ reporting for slave tty being closed"); 160 EV_SET(&event[0], amaster, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0); 172 ATF_REQUIRE_EQ(event[0].filter, EVFILT_READ);
|
| t_pipe.c | 49 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ for pipes"); 61 EV_SET(&event[0], fds[0], EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
|
| t_file.c | 83 atf_tc_set_md_var(tc, "descr", "Checks EVFILT_READ on regular file"); 106 EV_SET(&event[0], fd, EVFILT_READ, EV_ADD|EV_ENABLE, 0, 0, 0);
|
| /src/regress/sys/kern/kqueue/vnode/ |
| vnode.c | 81 EV_SET(&event[i], fd, EVFILT_READ, EV_ADD | EV_ENABLE, 0, NULL, NULL); 131 if (event[0].filter == EVFILT_READ) {
|
| /src/sys/dev/ |
| random.c | 172 case EVFILT_READ: 182 if (kn->kn_filter == EVFILT_READ)
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/dragonflybsd/sys/ |
| event.d | 20 EVFILT_READ = -1,
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/netbsd/sys/ |
| event.d | 27 EVFILT_READ = 0,
|
| /src/tests/kernel/kqueue/ |
| t_scan.c | 92 EV_SET(&event, p[0], EVFILT_READ, EV_ADD, 0, 0, 0);
|
| /src/external/bsd/libevent/dist/ |
| kqueue.c | 155 kqueueop->changes[0].filter = EVFILT_READ; 198 if (filter == EVFILT_READ) 240 kq_setup_kevent(out_ch, in_ch->fd, EVFILT_READ, 403 } else if (events[i].filter == EVFILT_READ) {
|
| /src/external/bsd/ntp/dist/sntp/libevent/ |
| kqueue.c | 154 kqueueop->changes[0].filter = EVFILT_READ; 197 if (filter == EVFILT_READ) 239 kq_setup_kevent(out_ch, in_ch->fd, EVFILT_READ, 402 } else if (events[i].filter == EVFILT_READ) {
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/darwin/sys/ |
| event.d | 35 EVFILT_READ = -1,
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/freebsd/sys/ |
| event.d | 27 EVFILT_READ = -1,
|
| /src/sys/kern/ |
| sys_epoll.c | 136 EV_SET(kevent, fd, EVFILT_READ, kev_flags, 0, 0, 0); 153 EV_SET(kevent++, fd, EVFILT_READ, EV_ADD|EV_DISABLE, 0, 0, 0); 182 case EVFILT_READ: 525 if (epoll_register_kevent(retval, epfd, fd, EVFILT_READ, 0) != ENOENT || 541 error1 = epoll_register_kevent(retval, epfd, fd, EVFILT_READ,
|
| /src/lib/libisns/ |
| isns.c | 86 EVFILT_READ, EV_ADD | EV_ENABLE, (int64_t)0,
|
| isns_task.c | 171 (uintptr_t)(task_p->cfg_p->sd), EVFILT_READ, 352 EVFILT_READ, EV_ADD | EV_CLEAR, (int64_t)0,
|
| /src/sys/arch/amiga/dev/ |
| event.c | 206 case EVFILT_READ:
|
| /src/sys/arch/atari/dev/ |
| event.c | 206 case EVFILT_READ:
|
| /src/sys/dev/sun/ |
| event.c | 212 case EVFILT_READ:
|
| /src/tests/lib/libc/sys/ |
| t_eventfd.c | 282 EV_SET(&kev[0], efd, EVFILT_READ, EV_ADD, 0, 0, NULL); 352 * Check that we get an EVFILT_READ event (and only that event) 358 ATF_REQUIRE(kev[0].filter == EVFILT_READ); 453 EV_SET(&kev[0], ctx->efd, EVFILT_READ, EV_ADD | EV_ONESHOT, 0, 0, NULL); 464 ATF_REQUIRE(kev[0].filter == EVFILT_READ);
|
| /src/external/mit/libuv/dist/src/unix/ |
| kqueue.c | 109 /* On FreeBSD, kqueue only supports EVFILT_READ notification for regular files 135 EV_SET(ev, fd, EVFILT_READ, EV_ADD, 0, 0, 0); 136 EV_SET(ev + 1, fd, EVFILT_READ, EV_DELETE, 0, 0, 0); 203 filter = EVFILT_READ; 386 if (ev->filter == EVFILT_READ) {
|
| /src/lib/libpuffs/ |
| framebuf.c | 561 EV_SET(&kev, fd, EVFILT_READ, EV_ENABLE, 0, 0, fio); 579 EV_SET(&kev, fd, EVFILT_READ, EV_DISABLE, 0, 0, fio); 812 EV_SET(&kev[nf], fd, EVFILT_READ, EV_ADD|readenable, 0, 0, fio); 868 EV_SET(&kev, fd, EVFILT_READ, EV_ENABLE, 0, 0, fio); 900 EV_SET(&kev[0], fd, EVFILT_READ, EV_DISABLE, 0, 0, fio); 948 EV_SET(&kev, fio->io_fd, EVFILT_READ, EV_DELETE, 0, 0, 0);
|
| /src/external/bsd/dhcpcd/dist/src/ |
| eloop.c | 276 EV_SET(kep++, efd, EVFILT_READ, EV_ADD, 0, 0, e); 278 EV_SET(kep++, efd, EVFILT_READ, EV_DELETE, 0, 0, e); 408 EV_SET(kep++, (uintptr_t)fd, EVFILT_READ, EV_DELETE, 0, 0, e); 882 if (ke->filter == EVFILT_READ) 963 EV_SET(&ke, (uintptr_t)fd, EVFILT_READ, EV_ADD | EV_ONESHOT, 0, 0,
|
| /src/usr.sbin/inetd/ |
| inetd.c | 445 if (ev->filter != EVFILT_READ) 511 EV_SET(ev, sep->se_fd, EVFILT_READ, 711 EV_SET(ev, sep->se_fd, EVFILT_READ, 898 EV_SET(ev, sep->se_fd, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 935 EV_SET(ev, sep->se_fd, EVFILT_READ, EV_DISABLE, 0, 0, 961 EV_SET(ev, sep->se_fd, EVFILT_READ, EV_ENABLE, 0, 0,
|