Home
last modified time | relevance | path

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

/xnu-10063.141.1/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-10063.141.1/bsd/sys/
H A Devent.h246 #define NOTE_LINK 0x00000010 /* link count changed */ macro
/xnu-10063.141.1/bsd/vfs/
H A Dkpi_vfs.c4256 post_event_if_success(vp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_REMOVE()
4296 post_event_if_success(*vpp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_COMPOUND_REMOVE()
4364 post_event_if_success(vp, _err, NOTE_LINK); in VNOP_LINK()
4708 events |= NOTE_LINK; in post_rename()
4832 events |= NOTE_LINK; in VNOP_COMPOUND_RENAME()
4928 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_MKDIR()
4965 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_COMPOUND_MKDIR()
5036 post_event_if_success(vp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_RMDIR()
5037 post_event_if_success(dvp, _err, NOTE_LINK | NOTE_WRITE); in VNOP_RMDIR()
5076 post_event_if_success(*vpp, _err, NOTE_DELETE | NOTE_LINK); in VNOP_COMPOUND_RMDIR()
[all …]
/xnu-10063.141.1/bsd/kern/
H A Dsys_generic.c1780 kev.fflags |= NOTE_LINK; in poll_nocancel()
1893 if (kevp->fflags & NOTE_LINK) { in poll_callback()