Searched refs:tc_lock (Results 1 – 3 of 3) sorted by relevance
104 struct rwlock tc_lock = RWLOCK_INITIALIZER("tc_lock"); variable548 rw_enter_write(&tc_lock); in tc_setrealtimeclock()558 rw_exit_write(&tc_lock); in tc_setrealtimeclock()666 rw_assert_wrlock(&tc_lock); in tc_windup()814 rw_enter_write(&tc_lock); in sysctl_tc_hardware()816 rw_exit_write(&tc_lock); in sysctl_tc_hardware()951 rw_assert_anylock(&tc_lock); in tc_adjfreq()955 rw_assert_wrlock(&tc_lock); in tc_adjfreq()979 rw_assert_wrlock(&tc_lock); in tc_adjtime()
239 rw_enter_read(&tc_lock); in sys_clock_getres()242 rw_exit_read(&tc_lock); in sys_clock_getres()428 rw_enter(&tc_lock, (freq == NULL) ? RW_READ : RW_WRITE); in sys_adjfreq()437 rw_exit(&tc_lock); in sys_adjfreq()479 rw_enter_write(&tc_lock); in sys_adjtime()500 rw_exit_write(&tc_lock); in sys_adjtime()
105 extern struct rwlock tc_lock;