Searched refs:Giant (Results 1 - 25 of 132) sorted by relevance

123456

/freebsd-10.2-release/sys/dev/bktr/
H A Dbktr_i2c.c131 mtx_lock(&Giant);
136 mtx_unlock(&Giant);
141 mtx_lock(&Giant);
146 mtx_unlock(&Giant);
168 mtx_lock(&Giant);
173 mtx_unlock(&Giant);
178 mtx_lock(&Giant);
183 mtx_unlock(&Giant);
195 mtx_lock(&Giant);
198 mtx_unlock(&Giant);
[all...]
/freebsd-10.2-release/sys/kern/
H A Dkern_condvar.c126 if (lock == &Giant.lock_object)
127 mtx_assert(&Giant, MA_OWNED);
131 if (lock != &Giant.lock_object) {
146 if (lock != &Giant.lock_object) {
170 KASSERT(lock != &Giant.lock_object,
171 ("cv_wait_unlock cannot be used with Giant"));
244 if (lock == &Giant.lock_object)
245 mtx_assert(&Giant, MA_OWNED);
250 if (lock != &Giant.lock_object) {
265 if (lock != &Giant
[all...]
H A Dkern_module.c101 mtx_lock(&Giant);
106 mtx_unlock(&Giant);
116 mtx_lock(&Giant);
148 mtx_unlock(&Giant);
251 mtx_lock(&Giant);
253 mtx_unlock(&Giant);
264 mtx_lock(&Giant);
266 mtx_unlock(&Giant);
H A Dkern_ntptime.c281 mtx_lock(&Giant);
283 mtx_unlock(&Giant);
352 mtx_lock(&Giant);
471 mtx_unlock(&Giant);
970 mtx_lock(&Giant);
982 mtx_unlock(&Giant);
988 mtx_unlock(&Giant);
1000 mtx_lock(&Giant);
1002 mtx_unlock(&Giant);
1014 mtx_lock(&Giant);
[all...]
H A Dkern_conf.c360 mtx_lock(&Giant);
362 mtx_unlock(&Giant);
376 mtx_lock(&Giant);
378 mtx_unlock(&Giant);
392 mtx_lock(&Giant);
394 mtx_unlock(&Giant);
412 mtx_lock(&Giant);
414 mtx_unlock(&Giant);
427 mtx_lock(&Giant);
429 mtx_unlock(&Giant);
[all...]
H A Dkern_synch.c171 KASSERT(sbt != 0 || mtx_owned(&Giant) || lock != NULL,
176 KASSERT(lock != NULL && lock != &Giant.lock_object,
177 ("PDROP requires a non-Giant lock"));
219 if (lock == &Giant.lock_object)
220 mtx_assert(&Giant, MA_OWNED);
222 if (lock != NULL && lock != &Giant.lock_object &&
263 if (lock != NULL && lock != &Giant.lock_object && !(priority & PDROP)) {
441 mtx_assert(&Giant, MA_NOTOWNED);
H A Dkern_sx.c84 * drop Giant anytime we have to sleep or if we adaptively spin.
88 WITNESS_SAVE_DECL(Giant) \
91 if (mtx_owned(&Giant)) { \
92 WITNESS_SAVE(&Giant.lock_object, Giant); \
93 while (mtx_owned(&Giant)) { \
95 mtx_unlock(&Giant); \
102 mtx_assert(&Giant, MA_NOTOWNED); \
104 mtx_lock(&Giant); \
105 WITNESS_RESTORE(&Giant
[all...]
/freebsd-10.2-release/sys/geom/
H A Dgeom_kern.c93 mtx_assert(&Giant, MA_NOTOWNED);
106 mtx_assert(&Giant, MA_NOTOWNED);
119 mtx_assert(&Giant, MA_NOTOWNED);
150 mtx_lock(&Giant);
157 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/dev/xen/control/
H A Dcontrol.c231 * Be sure to hold Giant across DEVICE_SUSPEND/RESUME since non-MPSAFE
234 mtx_lock(&Giant);
236 mtx_unlock(&Giant);
244 mtx_unlock(&Giant);
305 mtx_lock(&Giant);
307 mtx_unlock(&Giant);
361 * Be sure to hold Giant across DEVICE_SUSPEND/RESUME since non-MPSAFE
364 mtx_lock(&Giant);
366 mtx_unlock(&Giant);
370 mtx_unlock(&Giant);
[all...]
/freebsd-10.2-release/sys/sys/
H A Dmutex.h358 #define GIANT_REQUIRED mtx_assert_(&Giant, MA_OWNED, __FILE__, __LINE__)
393 extern struct mtx Giant;
397 * Giant lock manipulation and clean exit macros.
398 * Used to replace return with an exit Giant and return.
407 WITNESS_SAVE_DECL(Giant); \
409 if (mtx_owned(&Giant)) { \
410 WITNESS_SAVE(&Giant.lock_object, Giant); \
411 for (_giantcnt = 0; mtx_owned(&Giant) && \
413 mtx_unlock(&Giant); \
[all...]
/freebsd-10.2-release/sys/dev/usb/
H A Dusb_compat_linux.c221 mtx_lock(&Giant);
228 mtx_unlock(&Giant);
245 mtx_lock(&Giant);
247 mtx_unlock(&Giant);
266 mtx_lock(&Giant);
272 mtx_unlock(&Giant);
293 mtx_lock(&Giant);
295 mtx_unlock(&Giant);
313 mtx_lock(&Giant);
320 mtx_unlock(&Giant);
[all...]
/freebsd-10.2-release/sys/fs/pseudofs/
H A Dpseudofs_fileno.c55 mtx_assert(&Giant, MA_OWNED);
67 mtx_assert(&Giant, MA_OWNED);
/freebsd-10.2-release/sys/i386/i386/
H A Dmp_watchdog.c107 mtx_lock(&Giant);
109 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/sparc64/sparc64/
H A Dsys_machdep.c81 mtx_lock(&Giant);
93 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/amd64/amd64/
H A Dmp_watchdog.c107 mtx_lock(&Giant);
109 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/dev/drm2/
H A Ddrm_dp_iic_helper.c231 mtx_lock(&Giant);
236 mtx_unlock(&Giant);
244 mtx_unlock(&Giant);
259 mtx_unlock(&Giant);
H A Ddrm_fops.c160 mtx_lock(&Giant); /* FIXME: Giant required? */
162 mtx_unlock(&Giant);
276 mtx_lock(&Giant); /* FIXME: Giant required? */
278 mtx_unlock(&Giant);
456 mtx_lock(&Giant);
458 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/dev/sound/pcm/
H A Dsound.h512 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \
514 "%s(%d): [GIANT ENTER] Giant owned!\n", \
516 if (!((x)->flags & SD_F_MPSAFE) && mtx_owned(&Giant) == 0) \
518 mtx_lock(&Giant); \
531 panic("%s(%d): [GIANT EXIT] MPSAFE Giant?", \
533 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \
535 "%s(%d): [GIANT EXIT] Giant owned!\n", \
539 if (mtx_owned(&Giant) == 0) \
540 panic("%s(%d): [GIANT EXIT] Giant not owned!", \
543 mtx_unlock(&Giant); \
[all...]
/freebsd-10.2-release/sys/fs/nfsclient/
H A Dnfs_clsubs.c171 mtx_lock(&Giant);
175 mtx_unlock(&Giant);
203 mtx_lock(&Giant); /* ncl_printf() */
242 mtx_unlock(&Giant); /* ncl_printf() */
272 mtx_unlock(&Giant); /* ncl_printf() */
/freebsd-10.2-release/sys/compat/svr4/
H A Dsvr4_stream.c1043 mtx_lock(&Giant);
1046 mtx_unlock(&Giant);
1052 mtx_unlock(&Giant);
1062 mtx_unlock(&Giant);
1069 mtx_unlock(&Giant);
1074 mtx_unlock(&Giant);
1202 mtx_lock(&Giant);
1221 mtx_unlock(&Giant);
1255 mtx_lock(&Giant);
1257 mtx_unlock(&Giant);
[all...]
/freebsd-10.2-release/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c823 mtx_lock(&Giant);
825 mtx_unlock(&Giant);
977 mtx_lock(&Giant);
979 mtx_unlock(&Giant);
995 mtx_lock(&Giant);
997 mtx_unlock(&Giant);
1008 mtx_lock(&Giant);
1010 mtx_unlock(&Giant);
/freebsd-10.2-release/sys/arm/versatile/
H A Dpl050.c64 #define KMI_LOCK() mtx_lock(&Giant)
65 #define KMI_UNLOCK() mtx_unlock(&Giant)
72 #define KMI_LOCK_ASSERT() mtx_assert(&Giant, MA_OWNED)
80 mtx_assert(&Giant, MA_OWNED); \
465 * the Giant here unconditionally. On the other hand we have to
468 * the Giant or not. Blame syscons(4) for this.
474 if (!mtx_owned(&Giant) && !SCHEDULER_STOPPED())
/freebsd-10.2-release/sys/dev/si/
H A Dsi.c587 tp = pp->sp_tty = tty_alloc_mutex(&si_tty_class, pp, &Giant);
616 mtx_assert(&Giant, MA_OWNED);
636 mtx_assert(&Giant, MA_OWNED);
648 mtx_assert(&Giant, MA_OWNED);
678 mtx_assert(&Giant, MA_OWNED);
815 mtx_assert(&Giant, MA_OWNED);
984 mtx_assert(&Giant, MA_OWNED);
1019 mtx_assert(&Giant, MA_OWNED);
1058 mtx_assert(&Giant, MA_OWNED);
1123 mtx_assert(&Giant, MA_OWNE
[all...]
/freebsd-10.2-release/sys/dev/vt/
H A Dvt_core.c532 mtx_lock(&Giant);
541 mtx_unlock(&Giant);
873 mtx_lock(&Giant);
876 mtx_unlock(&Giant);
2014 mtx_lock(&Giant);
2018 mtx_unlock(&Giant);
2033 mtx_lock(&Giant);
2037 mtx_unlock(&Giant);
2059 mtx_lock(&Giant);
2063 mtx_unlock(&Giant);
[all...]
/freebsd-10.2-release/sys/cam/
H A Dcam_sim.c91 if (mtx == &Giant) {

Completed in 330 milliseconds

123456