Home
last modified time | relevance | path

Searched refs:NOTE_WRITE (Results 1 – 9 of 9) sorted by relevance

/xnu-12377.61.12/tests/
H A Dkqueue_file_tests.c827 init_test(&test, "2.1.1: Straight-up write to a file", FILE1, 1, 1, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
835 init_test(&test, "2.1.2: creat() file inside a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
844 init_test(&test, "2.1.3: open() file inside a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
853 init_test(&test, "2.1.4: unlink a file from a dir", DIR1, 2, 1, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
863 init_test(&test, "2.1.5: rename a file in a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
873 init_test(&test, "2.1.6: rename a file to outside of a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
883 init_test(&test, "2.1.7: rename a file into a dir", DIR1, 2, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
893 init_test(&test, "2.1.9: unlink a fifo from a dir", DIR1, 2, 1, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
902 init_test(&test, "2.1.10: make symlink in a dir", DIR1, 1, 2, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
910 init_test(&test, "2.1.12: write to a FIFO", FILE1, 1, 1, NOTE_WRITE, YES_EVENT); in run_note_write_tests()
[all …]
H A Dproc_core_name_24152432.c95 EV_SET(kev, dir, EVFILT_VNODE, EV_ADD, NOTE_WRITE, 0, NULL); in setup_coredump_kevent()
H A Diopolicy.c150 NOTE_WRITE, 0, (void *)g_testfile);
H A Dproc_core_name_mte.c167 EV_SET(kev, dir, EVFILT_VNODE, EV_ADD, NOTE_WRITE, 0, NULL); in setup_coredump_kevent()
/xnu-12377.61.12/bsd/sys/
H A Devent.h243 #define NOTE_WRITE 0x00000002 /* data contents changed */ macro
/xnu-12377.61.12/bsd/vfs/
H A Dkpi_vfs.c3356 knote_events |= NOTE_WRITE; in vnode_notify()
3593 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_COMPOUND_OPEN()
3644 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_CREATE()
3706 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_MKNOD()
4019 post_event_if_success(vp, _err, NOTE_WRITE); in VNOP_WRITE()
4365 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_REMOVE()
4405 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_COMPOUND_REMOVE()
4473 post_event_if_success(tdvp, _err, NOTE_WRITE); in VNOP_LINK()
4817 int events = NOTE_WRITE; in post_rename()
4941 events = NOTE_WRITE; in VNOP_COMPOUND_RENAME()
[all …]
H A Dvfs_fsevents.c2906 KNOTE(&watcher->fseh->knotes, NOTE_WRITE | NOTE_NONE); in fsevents_wakeup()
H A Dvfs_syscalls.c911 lock_vnode_and_post(pdvp, NOTE_WRITE); in vfs_notify_mount()
3257 lock_vnode_and_post(pvp, NOTE_WRITE); in dounmount()
/xnu-12377.61.12/bsd/kern/
H A Dsys_generic.c1786 kev.fflags |= NOTE_WRITE; in poll_nocancel()
1899 if (kevp->fflags & NOTE_WRITE) { in poll_callback()