Home
last modified time | relevance | path

Searched refs:cc_lock (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/kern/
H A Dkern_timeout.c172 kmutex_t *cc_lock; member
267 lock = cc->cc_lock; in callout_lock()
301 cc->cc_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED); in callout_startup()
323 cc->cc_lock = mutex_obj_alloc(MUTEX_DEFAULT, IPL_SCHED); in callout_init_cpu()
450 !mutex_tryenter(cc->cc_lock)) { in callout_schedule_locked()
461 mutex_spin_exit(cc->cc_lock); in callout_schedule_locked()
623 nlocks = sleepq_enter(&cc->cc_sleepq, l, cc->cc_lock); in callout_wait()
793 mutex_spin_enter(cc->cc_lock); in callout_hardclock()
808 mutex_spin_exit(cc->cc_lock); in callout_hardclock()
835 mutex_spin_enter(cc->cc_lock); in callout_softclock()
[all …]
/netbsd-src/sys/opencrypto/
H A Dcrypto.c948 mutex_init(&cap->cc_lock, MUTEX_DEFAULT, IPL_NET); in crypto_get_driverid()
969 mutex_enter(&cap->cc_lock); in crypto_checkdriver_lock()
1016 mutex_enter(&cap->cc_lock); in crypto_driver_lock()
1025 mutex_exit(&cap->cc_lock); in crypto_driver_unlock()
1035 KASSERT(mutex_owned(&cap->cc_lock)); in crypto_driver_clear()
1160 KASSERT(mutex_owned(&cap->cc_lock)); in crypto_unregister_locked()
H A Dcryptodev.h593 kmutex_t cc_lock; member