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

12345

/freebsd-11-stable/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-11-stable/sys/kern/
H A Dkern_condvar.c131 if (lock == &Giant.lock_object)
132 mtx_assert(&Giant, MA_OWNED);
136 if (lock != &Giant.lock_object) {
151 if (lock != &Giant.lock_object) {
175 KASSERT(lock != &Giant.lock_object,
176 ("cv_wait_unlock cannot be used with Giant"));
236 if (lock == &Giant.lock_object)
237 mtx_assert(&Giant, MA_OWNED);
242 if (lock != &Giant.lock_object) {
257 if (lock != &Giant
[all...]
H A Dkern_module.c101 mtx_lock(&Giant);
106 mtx_unlock(&Giant);
116 mtx_lock(&Giant);
148 mtx_unlock(&Giant);
247 mtx_lock(&Giant);
249 mtx_unlock(&Giant);
260 mtx_lock(&Giant);
262 mtx_unlock(&Giant);
H A Dkern_conf.c354 mtx_lock(&Giant);
356 mtx_unlock(&Giant);
370 mtx_lock(&Giant);
372 mtx_unlock(&Giant);
386 mtx_lock(&Giant);
388 mtx_unlock(&Giant);
406 mtx_lock(&Giant);
408 mtx_unlock(&Giant);
421 mtx_lock(&Giant);
423 mtx_unlock(&Giant);
[all...]
H A Dkern_synch.c146 KASSERT(sbt != 0 || mtx_owned(&Giant) || lock != NULL,
151 KASSERT(lock != NULL && lock != &Giant.lock_object,
152 ("PDROP requires a non-Giant lock"));
180 if (lock == &Giant.lock_object)
181 mtx_assert(&Giant, MA_OWNED);
183 if (lock != NULL && lock != &Giant.lock_object &&
224 if (lock != NULL && lock != &Giant.lock_object && !(priority & PDROP)) {
408 mtx_assert(&Giant, MA_NOTOWNED);
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_usb.c222 mtx_lock(&Giant);
229 mtx_unlock(&Giant);
246 mtx_lock(&Giant);
248 mtx_unlock(&Giant);
267 mtx_lock(&Giant);
273 mtx_unlock(&Giant);
294 mtx_lock(&Giant);
296 mtx_unlock(&Giant);
314 mtx_lock(&Giant);
321 mtx_unlock(&Giant);
[all...]
/freebsd-11-stable/sys/sys/
H A Dmutex.h436 #define GIANT_REQUIRED mtx_assert_(&Giant, MA_OWNED, __FILE__, __LINE__)
479 extern struct mtx Giant;
483 * Giant lock manipulation and clean exit macros.
484 * Used to replace return with an exit Giant and return.
493 WITNESS_SAVE_DECL(Giant); \
495 if (mtx_owned(&Giant)) { \
496 WITNESS_SAVE(&Giant.lock_object, Giant); \
497 for (_giantcnt = 0; mtx_owned(&Giant) && \
499 mtx_unlock(&Giant); \
[all...]
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dsys_machdep.c81 mtx_lock(&Giant);
93 mtx_unlock(&Giant);
/freebsd-11-stable/sys/x86/x86/
H A Dmp_watchdog.c106 mtx_lock(&Giant);
108 mtx_unlock(&Giant);
/freebsd-11-stable/sys/dev/pci/
H A Dpci_iov.c147 mtx_lock(&Giant);
175 mtx_unlock(&Giant);
184 mtx_unlock(&Giant);
194 mtx_lock(&Giant);
199 mtx_unlock(&Giant);
204 mtx_unlock(&Giant);
217 mtx_unlock(&Giant);
681 mtx_lock(&Giant);
690 mtx_unlock(&Giant);
757 mtx_unlock(&Giant);
[all...]
/freebsd-11-stable/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-11-stable/sys/dev/sound/pcm/
H A Dsound.h498 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \
500 "%s(%d): [GIANT ENTER] Giant owned!\n", \
502 if (!((x)->flags & SD_F_MPSAFE) && mtx_owned(&Giant) == 0) \
504 mtx_lock(&Giant); \
517 panic("%s(%d): [GIANT EXIT] MPSAFE Giant?", \
519 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \
521 "%s(%d): [GIANT EXIT] Giant owned!\n", \
525 if (mtx_owned(&Giant) == 0) \
526 panic("%s(%d): [GIANT EXIT] Giant not owned!", \
529 mtx_unlock(&Giant); \
[all...]
/freebsd-11-stable/sys/compat/svr4/
H A Dsvr4_stream.c1044 mtx_lock(&Giant);
1047 mtx_unlock(&Giant);
1053 mtx_unlock(&Giant);
1063 mtx_unlock(&Giant);
1070 mtx_unlock(&Giant);
1075 mtx_unlock(&Giant);
1203 mtx_lock(&Giant);
1222 mtx_unlock(&Giant);
1256 mtx_lock(&Giant);
1258 mtx_unlock(&Giant);
[all...]
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_pci.c344 mtx_lock(&Giant);
346 mtx_unlock(&Giant);
355 mtx_lock(&Giant);
358 mtx_unlock(&Giant);
365 mtx_unlock(&Giant);
371 mtx_unlock(&Giant);
H A Dacpi_dock.c194 mtx_lock(&Giant);
196 mtx_unlock(&Giant);
301 mtx_lock(&Giant);
303 mtx_unlock(&Giant);
/freebsd-11-stable/sys/dev/evdev/
H A Devdev_utils.c323 mtx_lock(&Giant);
326 mtx_unlock(&Giant);
334 mtx_lock(&Giant);
336 mtx_unlock(&Giant);
340 mtx_lock(&Giant);
342 mtx_unlock(&Giant);
/freebsd-11-stable/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c822 mtx_lock(&Giant);
824 mtx_unlock(&Giant);
976 mtx_lock(&Giant);
978 mtx_unlock(&Giant);
994 mtx_lock(&Giant);
996 mtx_unlock(&Giant);
1007 mtx_lock(&Giant);
1009 mtx_unlock(&Giant);
/freebsd-11-stable/sys/dev/xen/control/
H A Dcontrol.c222 * Be sure to hold Giant across DEVICE_SUSPEND/RESUME since non-MPSAFE
225 mtx_lock(&Giant);
227 mtx_unlock(&Giant);
298 mtx_unlock(&Giant);
/freebsd-11-stable/sys/arm/versatile/
H A Dpl050.c66 #define KMI_LOCK() mtx_lock(&Giant)
67 #define KMI_UNLOCK() mtx_unlock(&Giant)
74 #define KMI_LOCK_ASSERT() mtx_assert(&Giant, MA_OWNED)
82 mtx_assert(&Giant, MA_OWNED); \
472 * the Giant here unconditionally. On the other hand we have to
475 * the Giant or not. Blame syscons(4) for this.
481 if (!mtx_owned(&Giant) && !SCHEDULER_STOPPED())
/freebsd-11-stable/sys/dev/si/
H A Dsi.c586 tp = pp->sp_tty = tty_alloc_mutex(&si_tty_class, pp, &Giant);
617 mtx_assert(&Giant, MA_OWNED);
637 mtx_assert(&Giant, MA_OWNED);
649 mtx_assert(&Giant, MA_OWNED);
679 mtx_assert(&Giant, MA_OWNED);
816 mtx_assert(&Giant, MA_OWNED);
985 mtx_assert(&Giant, MA_OWNED);
1020 mtx_assert(&Giant, MA_OWNED);
1059 mtx_assert(&Giant, MA_OWNED);
1124 mtx_assert(&Giant, MA_OWNE
[all...]
/freebsd-11-stable/sys/dev/vt/
H A Dvt_core.c567 mtx_lock(&Giant);
576 mtx_unlock(&Giant);
944 mtx_lock(&Giant);
947 mtx_unlock(&Giant);
2108 mtx_lock(&Giant);
2112 mtx_unlock(&Giant);
2127 mtx_lock(&Giant);
2131 mtx_unlock(&Giant);
2153 mtx_lock(&Giant);
2157 mtx_unlock(&Giant);
[all...]
/freebsd-11-stable/sys/dev/hyperv/vmbus/
H A Dvmbus.c476 mtx_lock(&Giant);
478 mtx_unlock(&Giant);
535 mtx_sleep(&sc->vmbus_scandone, &Giant, 0, "vmbusdev", 0);
550 mtx_unlock(&Giant);
552 mtx_lock(&Giant);
556 mtx_unlock(&Giant);
558 mtx_lock(&Giant);
1017 mtx_lock(&Giant);
1021 mtx_unlock(&Giant);
1029 mtx_unlock(&Giant);
[all...]
/freebsd-11-stable/sys/nfs/
H A Dnfs_nfssvc.c80 KASSERT(!mtx_owned(&Giant), ("nfssvc(): called with Giant"));
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h443 mtx_lock(&Giant);
445 mtx_unlock(&Giant);
459 mtx_lock(&Giant);
461 mtx_unlock(&Giant);

Completed in 191 milliseconds

12345