Home
last modified time | relevance | path

Searched refs:NOTE_LINK (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.61.12/tests/
H A Dkqueue_file_tests.c1321 init_test(&test, "5.1.1: unlink() a file", FILE1, 1, 0, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1328 init_test(&test, "5.1.1.5: link A to B, watch A, remove B", FILE1, 2, 1, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1335 init_test(&test, "5.1.2: link() to a file", FILE1, 1, 2, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1346 init_test(&test, "5.1.3: make one dir in another", DIR1, 1, 2, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1355 init_test(&test, "5.1.4: rmdir a dir from within another", DIR1, 2, 1, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1365 init_test(&test, "5.1.5: rename dir A over dir B inside dir C", DIR1, 3, 2, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1377 init_test(&test, "5.1.6: rename one dir into another", DIR1, 2, 2, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1388 init_test(&test, "5.1.7: rename one dir out of another", DIR1, 2, 2, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1397 init_test(&test, "5.1.8: rmdir a dir", DIR1, 1, 0, NOTE_LINK, YES_EVENT); in run_note_link_tests()
1405 init_test(&test, "5.2.1: make a file in a dir", DIR1, 1, 2, NOTE_LINK, NO_EVENT); in run_note_link_tests()
[all …]
/xnu-12377.61.12/bsd/sys/
H A Devent.h246 #define NOTE_LINK 0x00000010 /* link count changed */ macro
/xnu-12377.61.12/bsd/vfs/
H A Dkpi_vfs.c4364 post_event_if_success(vp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_REMOVE()
4404 post_event_if_success(*vpp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_COMPOUND_REMOVE()
4472 post_event_if_success(vp, _err, NOTE_LINK); in VNOP_LINK()
4824 events |= NOTE_LINK; in post_rename()
4948 events |= NOTE_LINK; in VNOP_COMPOUND_RENAME()
5044 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_MKDIR()
5081 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_COMPOUND_MKDIR()
5152 post_event_if_success(vp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_RMDIR()
5153 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_RMDIR()
5192 post_event_if_success(*vpp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_COMPOUND_RMDIR()
[all …]
/xnu-12377.61.12/bsd/kern/
H A Dsys_generic.c1783 kev.fflags |= NOTE_LINK; in poll_nocancel()
1896 if (kevp->fflags & NOTE_LINK) { in poll_callback()