Searched defs:cpu_lock (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c61 kmutex_t cpu_lock; variable
455 mutex_init(&cpu_lock, NULL, MUTEX_DEFAULT, NULL);
/illumos-gate/usr/src/uts/common/os/
H A Dcpu.c95 * cpu_lock protects ncpus, ncpus_online, cpu_flag, cpu_list, cpu_active,
99 * cpu_lock --> thread_free_lock ---> p_lock ---> thread_lock()
101 * Warning: Certain sections of code do not use the cpu_lock when
109 kmutex_t cpu_lock; variable
151 * CPU that we're trying to offline. Protected by cpu_lock.
157 * satisfied by disabling preemption. Must be raised/lowered under cpu_lock,
397 * referenced CPU remains valid, which can be done by holding cpu_lock across
430 * We should be asserting that cpu_lock is held here, but
434 * ASSERT(MUTEX_HELD(&cpu_lock));
635 * we don't hold cpu_lock w
[all...]

Completed in 125 milliseconds