| /xnu-10063.141.1/tests/ |
| H A D | uipc_kevent.c | 39 EV_SET(&chlist, sockets[0], EVFILT_WRITE, EV_ADD | EV_ERROR, 0, 0, 0); in test_kevent() 77 EV_SET(&chlist, sockets[0], EVFILT_WRITE, EV_ADD | EV_ERROR, 0, 0, 0); in test_kevent_lowat() 110 EV_SET(&chlist, sockets[0], EVFILT_WRITE, EV_ADD | EV_ERROR, NOTE_LOWAT, 100, 0); in test_kevent_lowat() 128 EV_SET(&chlist, sockets[0], EVFILT_WRITE, EV_ADD | EV_ERROR, 0, 0, 0); in test_kevent_lowat()
|
| H A D | kqueue_fifo_18776047.c | 137 kevent_one_shot(kq, write_fd, EVFILT_WRITE); 148 kevent_one_shot(kq, write_fd, EVFILT_WRITE);
|
| H A D | poll_select_kevent_paired_fds.c | 216 reenable_workq(shared.wr_fd, EVFILT_WRITE); in workqueue_write_fn() 232 EV_SET(&events, fd, reading ? EVFILT_READ : EVFILT_WRITE, EV_ADD, in drive_kq() 235 EV_SET64(&events64, fd, reading ? EVFILT_READ : EVFILT_WRITE, EV_ADD, in drive_kq() 239 .filter = reading ? EVFILT_READ : EVFILT_WRITE, in drive_kq() 398 .filter = EVFILT_WRITE, in write_to_fd()
|
| H A D | kqueue_file_tests.c | 633 …est) && (test->t_union.tu_kev.filter == EVFILT_READ || test->t_union.tu_kev.filter == EVFILT_WRITE) in execute_test() 689 if (event == EVFILT_READ || event == EVFILT_WRITE) { in init_test_common() 1673 init_test(&test, "9.1.1: how much space in empty fifo?", FILE1, 1, 1, EVFILT_WRITE, FIFO_SPACE); in run_evfilt_write_tests() 1680 …init_test(&test, "9.1.2: how much space in slightly written fifo?", FILE1, 1, 1, EVFILT_WRITE, FIF… in run_evfilt_write_tests() 1688 init_test(&test, "9.2.1: how much space in a full fifo?", FILE1, 1, 1, EVFILT_WRITE, 0); in run_evfilt_write_tests()
|
| H A D | net_bridge.c | 1253 EV_SET(&kev, port->fd, EVFILT_WRITE, EV_ADD | EV_ENABLE, 0, 0, NULL); in switch_port_check_tx() 1258 T_ASSERT_EQ((int)kev.filter, EVFILT_WRITE, NULL); in switch_port_check_tx()
|
| H A D | proc_info.c | 1871 events[0].filter = EVFILT_WRITE;
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | tty_ptmx.c | 554 case EVFILT_WRITE: in ptsd_kqops_detach() 587 case EVFILT_WRITE: in ptsd_kqops_common() 696 case EVFILT_WRITE: in ptsd_kqfilter() 803 case EVFILT_WRITE: in ptmx_kqfilter() 833 case EVFILT_WRITE: in ptmx_kqops_detach() 869 case EVFILT_WRITE: in ptmx_kqops_common()
|
| H A D | sys_generic.c | 1763 kev.filter = EVFILT_WRITE; in poll_nocancel() 1880 case EVFILT_WRITE: in poll_callback()
|
| H A D | tty.c | 3421 case EVFILT_WRITE: in filt_tty_common() 3557 case EVFILT_WRITE: in filt_ttydetach()
|
| H A D | sys_pipe.c | 1633 case EVFILT_WRITE: in pipe_kqfilter()
|
| H A D | uipc_socket.c | 6491 case EVFILT_WRITE: in soo_kqfilter()
|
| H A D | kern_event.c | 326 [~EVFILT_WRITE] = &file_filtops,
|
| /xnu-10063.141.1/bsd/skywalk/channel/ |
| H A D | channel.c | 534 ASSERT(kn->kn_filter == EVFILT_WRITE); in filt_chwdetach() 578 ASSERT(kn->kn_filter == EVFILT_WRITE); in filt_chwrite() 592 enum txrx dir = (ev == EVFILT_WRITE) ? NR_TX : NR_RX; in filt_chtouch() 660 ASSERT(kn->kn_filter == EVFILT_WRITE); in filt_chwtouch() 749 ASSERT(kn->kn_filter == EVFILT_WRITE); in filt_chwprocess() 760 enum txrx dir = (ev == EVFILT_WRITE) ? NR_TX : NR_RX; in filt_chrwattach() 766 (kn->kn_filter == EVFILT_WRITE)); in filt_chrwattach() 802 (ev == EVFILT_WRITE) ? "write" : "read"); in filt_chrwattach() 805 events = (ev == EVFILT_WRITE) ? POLLOUT : POLLIN; in filt_chrwattach() 1065 case EVFILT_WRITE: in ch_kqfilter()
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | event.h | 71 #define EVFILT_WRITE (-2) macro
|
| H A D | event_private.h | 522 case EVFILT_WRITE: in knote_get_seltype()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_vnops.c | 1940 case EVFILT_WRITE: in vn_kqfilter() 2126 case EVFILT_WRITE: in filt_vnode_common()
|