Searched refs:cpu_lock (Results 1 - 16 of 16) sorted by relevance

/freebsd-10.3-release/sys/cddl/dev/dtrace/
H A Ddtrace_anon.c34 mutex_enter(&cpu_lock);
40 mutex_exit(&cpu_lock);
56 * We couldn't hold cpu_lock across the above call to
59 * up cpu_lock, and regain our locks before matching the
65 mutex_enter(&cpu_lock);
72 mutex_exit(&cpu_lock);
H A Ddtrace_load.c30 mutex_enter(&cpu_lock);
40 mutex_exit(&cpu_lock);
86 mutex_enter(&cpu_lock);
88 ASSERT(MUTEX_HELD(&cpu_lock));
94 ASSERT(MUTEX_HELD(&cpu_lock));
138 mutex_exit(&cpu_lock);
143 mutex_enter(&cpu_lock);
148 mutex_exit(&cpu_lock);
H A Ddtrace_unload.c36 mutex_enter(&cpu_lock);
41 mutex_exit(&cpu_lock);
48 mutex_exit(&cpu_lock);
70 mutex_exit(&cpu_lock);
H A Ddtrace_ioctl.c403 mutex_enter(&cpu_lock);
409 mutex_exit(&cpu_lock);
416 mutex_exit(&cpu_lock);
424 mutex_exit(&cpu_lock);
435 mutex_exit(&cpu_lock);
/freebsd-10.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.subr.d58 INTFUNC(mutex_owned(&`cpu_lock))
59 INTFUNC(mutex_owner(&`cpu_lock))
60 INTFUNC(mutex_type_adaptive(&`cpu_lock))
61 INTFUNC(mutex_type_spin(&`cpu_lock))
/freebsd-10.3-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris.c41 kmutex_t cpu_lock; variable
63 mutex_init(&cpu_lock, "OpenSolaris CPU lock", MUTEX_DEFAULT, NULL);
73 mutex_destroy(&cpu_lock);
/freebsd-10.3-release/sys/cddl/compat/opensolaris/sys/
H A Dcpuvar.h77 extern kmutex_t cpu_lock;
83 * These are protected by cpu_lock (except during creation).
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dprofile.c373 ASSERT(MUTEX_HELD(&cpu_lock));
403 ASSERT(MUTEX_HELD(&cpu_lock));
H A Ddtrace.c275 * There are two other locks in the mix: mod_lock and cpu_lock. With respect
276 * to dtrace_provider_lock and dtrace_lock, cpu_lock continues its historical
278 * With respect to dtrace_meta_lock, its behavior is stranger: cpu_lock must
8606 * will acquire cpu_lock and dtrace_lock. We therefore need
9343 * cpu_lock and dtrace_lock; the fact that we are holding
10859 ASSERT(MUTEX_HELD(&cpu_lock));
11813 ASSERT(MUTEX_HELD(&cpu_lock));
12622 ASSERT(MUTEX_HELD(&cpu_lock));
12669 mutex_enter(&cpu_lock);
12693 mutex_exit(&cpu_lock);
[all...]
H A Dfasttrap.c1133 ASSERT(MUTEX_HELD(&cpu_lock));
1173 ASSERT(MUTEX_HELD(&cpu_lock));
1367 ASSERT(MUTEX_HELD(&cpu_lock));
/freebsd-10.3-release/sys/cddl/dev/profile/
H A Dprofile.c531 ASSERT(MUTEX_HELD(&cpu_lock));
560 ASSERT(MUTEX_HELD(&cpu_lock));
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa_misc.c651 mutex_enter(&cpu_lock);
653 mutex_exit(&cpu_lock);
757 mutex_enter(&cpu_lock);
760 mutex_exit(&cpu_lock);
H A Dspa.c1020 mutex_enter(&cpu_lock);
1035 mutex_exit(&cpu_lock);
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c55 kmutex_t cpu_lock; variable
973 mutex_init(&cpu_lock, NULL, MUTEX_DEFAULT, NULL);
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcpuvar.h98 * - cpu_lock held
221 * Updates to cpu_generation are protected by cpu_lock.
303 * These are protected by cpu_lock (except during creation).
570 * as the target and to grab cpu_lock instead of requiring the caller
606 * Updates to cpu_generation should be protected by cpu_lock.
734 * The mutex cpu_lock protects cpu_flags for all CPUs, as well as the ncpus
737 extern kmutex_t cpu_lock; /* lock protecting CPU data */
751 * The callback function is called with cpu_lock held. The return value from the
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h760 extern kmutex_t cpu_lock;

Completed in 291 milliseconds