Searched refs:NOTE_WRITE (Results 1 – 8 of 8) sorted by relevance
| /xnu-10063.141.1/tests/ |
| H A D | kqueue_file_tests.c | 827 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 D | proc_core_name_24152432.c | 95 EV_SET(kev, dir, EVFILT_VNODE, EV_ADD, NOTE_WRITE, 0, NULL); in setup_coredump_kevent()
|
| H A D | iopolicy.c | 143 NOTE_WRITE, 0, (void *)g_testfile);
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | event.h | 243 #define NOTE_WRITE 0x00000002 /* data contents changed */ macro
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | kpi_vfs.c | 3250 knote_events |= NOTE_WRITE; in vnode_notify() 3487 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_COMPOUND_OPEN() 3538 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_CREATE() 3600 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_MKNOD() 3911 post_event_if_success(vp, _err, NOTE_WRITE); in VNOP_WRITE() 4257 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_REMOVE() 4297 post_event_if_success(dvp, _err, NOTE_WRITE); in VNOP_COMPOUND_REMOVE() 4365 post_event_if_success(tdvp, _err, NOTE_WRITE); in VNOP_LINK() 4701 int events = NOTE_WRITE; in post_rename() 4825 events = NOTE_WRITE; in VNOP_COMPOUND_RENAME() [all …]
|
| H A D | vfs_fsevents.c | 2906 KNOTE(&watcher->fseh->knotes, NOTE_WRITE | NOTE_NONE); in fsevents_wakeup()
|
| H A D | vfs_syscalls.c | 795 lock_vnode_and_post(pdvp, NOTE_WRITE); in vfs_notify_mount() 3030 lock_vnode_and_post(pvp, NOTE_WRITE); in dounmount()
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | sys_generic.c | 1783 kev.fflags |= NOTE_WRITE; in poll_nocancel() 1896 if (kevp->fflags & NOTE_WRITE) { in poll_callback()
|