Lines Matching refs:cc_lock
166 struct mtx_padalign cc_lock; member
205 #define CC_LOCK(cc) mtx_lock_spin(&(cc)->cc_lock)
206 #define CC_UNLOCK(cc) mtx_unlock_spin(&(cc)->cc_lock)
207 #define CC_LOCK_ASSERT(cc) mtx_assert(&(cc)->cc_lock, MA_OWNED)
322 mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN); in callout_cpu_init()
394 thread_lock_set(td, (struct mtx *)&cc->cc_lock); in start_softclock()
446 mtx_lock_spin_flags(&cc->cc_lock, MTX_QUIET); in callout_process()
559 mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET); in callout_process()
561 mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET); in callout_process()
845 thread_lock_set(td, (struct mtx *)&cc->cc_lock); in softclock_thread()
1220 &cc->cc_lock.lock_object, "codrain", in _callout_stop_safe()