Searched defs:cpu_lock (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 52 kmutex_t cpu_lock; variable 947 mutex_init(&cpu_lock, NULL, MUTEX_DEFAULT, NULL);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu.c | 93 * cpu_lock protects ncpus, ncpus_online, cpu_flag, cpu_list, cpu_active, 97 * cpu_lock --> thread_free_lock ---> p_lock ---> thread_lock() 99 * Warning: Certain sections of code do not use the cpu_lock when 107 kmutex_t cpu_lock; variable 147 * CPU that we're trying to offline. Protected by cpu_lock. 153 * satisfied by disabling preemption. Must be raised/lowered under cpu_lock, 393 * done by holding cpu_lock across this call, unless the caller 394 * specifies CPU_CURRENT in which case the cpu_lock will be acquired 406 mutex_enter(&cpu_lock); 410 * We should be asserting that cpu_lock i [all...] |
Completed in 47 milliseconds