Searched refs:NOTE_WRITE (Results 1 - 7 of 7) sorted by relevance

/darwin-on-arm/xnu/tools/tests/kqueue_tests/
H A Dkqueue_file_tests.c562 * "event" is either an event flag (e.g. NOTE_WRITE) or EVFILT_READ
672 init_test(&test, "2.1.1: Straight-up write to a file", FILE1, 1, 1, NOTE_WRITE, YES_EVENT);
680 init_test(&test, "2.1.2: creat() file inside a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVENT);
688 init_test(&test, "2.1.3: open() file inside a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVENT);
696 init_test(&test, "2.1.3: unlink a file from a dir", DIR1, 2, 1, NOTE_WRITE, YES_EVENT);
705 init_test(&test, "2.1.5: rename a file in a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT);
714 init_test(&test, "2.1.6: rename a file to outside of a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT);
723 init_test(&test, "2.1.7: rename a file into a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT);
732 init_test(&test, "2.1.9: unlink a fifo from a dir", DIR1, 2, 1, NOTE_WRITE, YES_EVENT);
740 init_test(&test, "2.1.10: make symlink in a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVEN
[all...]
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dkqueue_tests.c261 EV_SET( &my_keventv[0], my_fd, EVFILT_VNODE, (EV_ADD | EV_CLEAR), (NOTE_DELETE | NOTE_WRITE), 0, 0 );
309 if ( (my_keventv[0].fflags & (NOTE_DELETE | NOTE_WRITE)) == 0 ) {
310 printf( "kevent call to get vnode events did not return NOTE_DELETE or NOTE_WRITE \n" );
/darwin-on-arm/xnu/bsd/sys/
H A Devent.h225 #define NOTE_WRITE 0x00000002 /* data contents changed */ macro
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c2883 /* Directory contents information just becomes NOTE_WRITE */
2885 knote_events |= NOTE_WRITE;
3133 post_event_if_success(dvp, _err, NOTE_WRITE);
3198 post_event_if_success(dvp, _err, NOTE_WRITE);
3252 post_event_if_success(dvp, _err, NOTE_WRITE);
3308 post_event_if_success(dvp, _err, NOTE_WRITE);
3761 post_event_if_success(vp, _err, NOTE_WRITE);
3978 /* Don't post NOTE_WRITE because file descriptors follow the data ... */
4240 post_event_if_success(dvp, _err, NOTE_WRITE);
4274 post_event_if_success(dvp, _err, NOTE_WRITE);
[all...]
H A Dvfs_fsevents.c2229 KNOTE(&watcher->fseh->knotes, NOTE_WRITE|NOTE_NONE);
H A Dvfs_syscalls.c278 lock_vnode_and_post(pdvp, NOTE_WRITE);
1970 lock_vnode_and_post(pvp, NOTE_WRITE);
/darwin-on-arm/xnu/bsd/kern/
H A Dsys_generic.c1526 kev.fflags |= NOTE_WRITE;
1608 if (kevp->fflags & NOTE_WRITE)

Completed in 111 milliseconds