Lines Matching refs:proctree_lock
114 sx_assert(&proctree_lock, SX_LOCKED); in proc_realparent()
135 sx_assert(&proctree_lock, SX_XLOCKED); in reaper_abandon_children()
161 sx_assert(&proctree_lock, SX_LOCKED); in reaper_clear()
181 sx_assert(&proctree_lock, SA_XLOCKED); in proc_clear_orphan()
477 sx_xlock(&proctree_lock); in exit1()
680 sx_xunlock(&proctree_lock); in exit1()
919 sx_assert(&proctree_lock, SA_XLOCKED); in proc_reap()
935 sx_xunlock(&proctree_lock); in proc_reap()
961 sx_xunlock(&proctree_lock); in proc_reap()
982 sx_xunlock(&proctree_lock); in proc_reap()
1052 sx_assert(&proctree_lock, SA_XLOCKED); in proc_to_reap()
1246 sx_assert(&proctree_lock, SA_XLOCKED); in report_alive_proc()
1263 sx_xunlock(&proctree_lock); in report_alive_proc()
1316 sx_xlock(&proctree_lock); in kern_wait6()
1412 sx_xunlock(&proctree_lock); in kern_wait6()
1416 sx_xunlock(&proctree_lock); in kern_wait6()
1426 sx_xunlock(&proctree_lock); in kern_wait6()
1437 sx_assert(&proctree_lock, SX_XLOCKED); in proc_add_orphan()
1459 sx_assert(&proctree_lock, SX_XLOCKED); in proc_reparent()