Symbol: kernel_lock
sys/kern/kern_lock.c
131
LOCKDEBUG_ABORT(__func__, __LINE__, kernel_lock, &_kernel_lock_ops, msg)
sys/kern/kern_lock.c
199
if (!__SIMPLELOCK_LOCKED_P(kernel_lock))
sys/kern/kern_lock.c
263
__cpu_simple_lock_init(kernel_lock);
sys/kern/kern_lock.c
264
kernel_lock_dodebug = LOCKDEBUG_ALLOC(kernel_lock, &_kernel_lock_ops,
sys/kern/kern_lock.c
307
_KERNEL_LOCK_ASSERT(__SIMPLELOCK_LOCKED_P(kernel_lock));
sys/kern/kern_lock.c
316
LOCKDEBUG_WANTLOCK(kernel_lock_dodebug, kernel_lock, RETURN_ADDRESS,
sys/kern/kern_lock.c
319
if (__predict_true(__cpu_simple_lock_try(kernel_lock))) {
sys/kern/kern_lock.c
324
LOCKDEBUG_LOCKED(kernel_lock_dodebug, kernel_lock, NULL,
sys/kern/kern_lock.c
363
while (__SIMPLELOCK_LOCKED_P(kernel_lock)) {
sys/kern/kern_lock.c
372
} while (!__cpu_simple_lock_try(kernel_lock));
sys/kern/kern_lock.c
380
LOCKDEBUG_LOCKED(kernel_lock_dodebug, kernel_lock, NULL,
sys/kern/kern_lock.c
383
LOCKSTAT_EVENT_RA(lsflag, kernel_lock,
sys/kern/kern_lock.c
433
_KERNEL_LOCK_ASSERT(__SIMPLELOCK_LOCKED_P(kernel_lock));
sys/kern/kern_lock.c
445
LOCKDEBUG_UNLOCKED(kernel_lock_dodebug, kernel_lock,
sys/kern/kern_lock.c
448
__cpu_simple_unlock(kernel_lock);
sys/kern/kern_lock.c
468
return __SIMPLELOCK_LOCKED_P(kernel_lock);
sys/kern/kern_lock.c
76
} kernel_lock_cacheline[CACHE_LINE_SIZE / sizeof(struct kernel_lock)]
sys/kern/kern_lock.c
78
__strong_alias(kernel_lock, kernel_lock_cacheline)
sys/kern/kern_lock.c
92
LOCKDEBUG_BARRIER(kernel_lock, 1);
sys/kern/kern_mutex.c
524
LOCKDEBUG_BARRIER(&kernel_lock, 1);
sys/kern/kern_rwlock.c
304
LOCKDEBUG_BARRIER(&kernel_lock, 1);
sys/sys/lock.h
80
extern __cpu_simple_lock_t kernel_lock[];