Searched refs:EVFILT_READ (Results 1 - 11 of 11) sorted by relevance

/xnu-2422.115.4/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c355 * Read until the end of a file, for EVFILT_READ purposes (considers file position)
514 if ((!test->t_is_poll_test) && (test->t_union.tu_kev.filter == EVFILT_READ || test->t_union.tu_kev.filter == EVFILT_WRITE)
549 if (event == EVFILT_READ || event == EVFILT_WRITE) {
563 * "event" is either an event flag (e.g. NOTE_WRITE) or EVFILT_READ
1376 init_test(&test, "8.1.1: how much data in file of length LENGTHEN_SIZE?", FILE1, 2, 1, EVFILT_READ, LENGTHEN_SIZE);
1383 init_test(&test, "8.1.2: block, then write to file", FILE1, 2, 1, EVFILT_READ, strlen(TEST_STRING));
1390 init_test(&test, "8.1.3: block, then extend", FILE1, 2, 1, EVFILT_READ, LENGTHEN_SIZE);
1397 init_test(&test, "8.1.4: block, then seek to beginning", FILE1, 2, 1, EVFILT_READ, strlen(TEST_STRING));
1406 init_test(&test, "8.1.5: block, then write to fifo", FILE1, 1, 1, EVFILT_READ, strlen(TEST_STRING));
1414 init_test(&test, "8.2.1: just rename", FILE1, 2, 1, EVFILT_READ, NO_EVEN
[all...]
/xnu-2422.115.4/bsd/sys/
H A Devent.h63 #define EVFILT_READ (-1) macro
172 * Filter specific flags for EVFILT_READ
174 * The default behavior for EVFILT_READ is to make the "read" determination
218 * The default behavior for EVFILT_READ is to make the determination
232 #define NOTE_NONE 0x00000080 /* No specific vnode event: to test for EVFILT_READ activation*/
/xnu-2422.115.4/bsd/kern/
H A Dtty_ptmx.c1576 if (kn->kn_filter == EVFILT_READ)
1618 if (kn->kn_filter == EVFILT_READ) {
1670 case EVFILT_READ:
H A Dsys_generic.c1472 kev.filter = EVFILT_READ;
1554 case EVFILT_READ:
H A Dsys_pipe.c1376 case EVFILT_READ:
H A Duipc_socket.c4342 case EVFILT_READ:
4361 case EVFILT_READ:
4406 * after registering the kqueue EVFILT_READ.
H A Dkern_event.c277 &file_filtops, /* EVFILT_READ */
2417 kn->kn_filter != EVFILT_READ)
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c1538 case EVFILT_READ:
1617 * Used for EVFILT_READ
1652 panic("Should never have an EVFILT_READ except for reg or fifo.");
1680 panic("Should never have an EVFILT_READ except for reg or fifo.");
1690 * --EVFILT_READ knotes are checked no matter what the hint is
1722 case EVFILT_READ:
H A Dvfs_fsevents.c1851 * --EVFILT_READ knotes are checked no matter what the hint is
1876 case EVFILT_READ:
/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c2267 case EVFILT_READ:
/xnu-2422.115.4/bsd/net/
H A Dbpf.c1936 * Support for kevent() system call. Register EVFILT_READ filters and
1961 if (kn->kn_filter != EVFILT_READ) {

Completed in 133 milliseconds