Lines Matching defs:cc_lock
163 struct mtx_padalign cc_lock;
201 #define CC_LOCK(cc) mtx_lock_spin(&(cc)->cc_lock)
202 #define CC_UNLOCK(cc) mtx_unlock_spin(&(cc)->cc_lock)
203 #define CC_LOCK_ASSERT(cc) mtx_assert(&(cc)->cc_lock, MA_OWNED)
217 * Locked by cc_lock:
222 * cc_cancel - Changing to 1 with both callout_lock and cc_lock held
227 * cc_lock is successfully acquired.
318 mtx_init(&cc->cc_lock, "callout", NULL, MTX_SPIN);
390 thread_lock_set(td, (struct mtx *)&cc->cc_lock);
442 mtx_lock_spin_flags(&cc->cc_lock, MTX_QUIET);
555 mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET);
557 mtx_unlock_spin_flags(&cc->cc_lock, MTX_QUIET);
848 thread_lock_set(td, (struct mtx *)&cc->cc_lock);
1186 * a LOR between cc_lock and sleepqueue
1193 * we have to drop the cc_lock to lock
1220 &cc->cc_lock.lock_object, "codrain",