/freebsd-11.0-release/sys/dev/bktr/ |
H A D | bktr_i2c.c | 131 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.0-release/sys/kern/ |
H A D | kern_condvar.c | 131 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 D | kern_module.c | 101 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 D | kern_conf.c | 360 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 D | kern_synch.c | 153 KASSERT(sbt != 0 || mtx_owned(&Giant) || lock != NULL, 158 KASSERT(lock != NULL && lock != &Giant.lock_object, 159 ("PDROP requires a non-Giant lock")); 193 if (lock == &Giant.lock_object) 194 mtx_assert(&Giant, MA_OWNED); 196 if (lock != NULL && lock != &Giant.lock_object && 237 if (lock != NULL && lock != &Giant.lock_object && !(priority & PDROP)) { 406 mtx_assert(&Giant, MA_NOTOWNED);
|
H A D | kern_sx.c | 85 * drop Giant anytime we have to sleep or if we adaptively spin. 89 WITNESS_SAVE_DECL(Giant) \ 92 if (mtx_owned(&Giant)) { \ 93 WITNESS_SAVE(&Giant.lock_object, Giant); \ 94 while (mtx_owned(&Giant)) { \ 96 mtx_unlock(&Giant); \ 103 mtx_assert(&Giant, MA_NOTOWNED); \ 105 mtx_lock(&Giant); \ 106 WITNESS_RESTORE(&Giant [all...] |
/freebsd-11.0-release/sys/sys/ |
H A D | mutex.h | 397 #define GIANT_REQUIRED mtx_assert_(&Giant, MA_OWNED, __FILE__, __LINE__) 434 extern struct mtx Giant; 438 * Giant lock manipulation and clean exit macros. 439 * Used to replace return with an exit Giant and return. 448 WITNESS_SAVE_DECL(Giant); \ 450 if (mtx_owned(&Giant)) { \ 451 WITNESS_SAVE(&Giant.lock_object, Giant); \ 452 for (_giantcnt = 0; mtx_owned(&Giant) && \ 454 mtx_unlock(&Giant); \ [all...] |
/freebsd-11.0-release/sys/compat/linuxkpi/common/src/ |
H A D | linux_usb.c | 222 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...] |
H A D | linux_pci.c | 260 mtx_lock(&Giant); 265 mtx_unlock(&Giant); 277 mtx_lock(&Giant); 280 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/sparc64/sparc64/ |
H A D | sys_machdep.c | 81 mtx_lock(&Giant); 93 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/x86/x86/ |
H A D | mp_watchdog.c | 106 mtx_lock(&Giant); 108 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/dev/pci/ |
H A D | pci_iov.c | 133 mtx_lock(&Giant); 161 mtx_unlock(&Giant); 170 mtx_unlock(&Giant); 180 mtx_lock(&Giant); 185 mtx_unlock(&Giant); 190 mtx_unlock(&Giant); 203 mtx_unlock(&Giant); 667 mtx_lock(&Giant); 676 mtx_unlock(&Giant); 743 mtx_unlock(&Giant); [all...] |
/freebsd-11.0-release/sys/dev/drm2/ |
H A D | drm_dp_iic_helper.c | 231 mtx_lock(&Giant); 236 mtx_unlock(&Giant); 244 mtx_unlock(&Giant); 259 mtx_unlock(&Giant);
|
H A D | drm_fops.c | 160 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.0-release/sys/dev/sound/pcm/ |
H A D | sound.h | 503 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \ 505 "%s(%d): [GIANT ENTER] Giant owned!\n", \ 507 if (!((x)->flags & SD_F_MPSAFE) && mtx_owned(&Giant) == 0) \ 509 mtx_lock(&Giant); \ 522 panic("%s(%d): [GIANT EXIT] MPSAFE Giant?", \ 524 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \ 526 "%s(%d): [GIANT EXIT] Giant owned!\n", \ 530 if (mtx_owned(&Giant) == 0) \ 531 panic("%s(%d): [GIANT EXIT] Giant not owned!", \ 534 mtx_unlock(&Giant); \ [all...] |
/freebsd-11.0-release/sys/compat/svr4/ |
H A D | svr4_stream.c | 1044 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.0-release/sys/netgraph/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 822 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.0-release/sys/dev/xen/control/ |
H A D | control.c | 228 * Be sure to hold Giant across DEVICE_SUSPEND/RESUME since non-MPSAFE 231 mtx_lock(&Giant); 233 mtx_unlock(&Giant); 304 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/arm/versatile/ |
H A D | pl050.c | 63 #define KMI_LOCK() mtx_lock(&Giant) 64 #define KMI_UNLOCK() mtx_unlock(&Giant) 71 #define KMI_LOCK_ASSERT() mtx_assert(&Giant, MA_OWNED) 79 mtx_assert(&Giant, MA_OWNED); \ 464 * the Giant here unconditionally. On the other hand we have to 467 * the Giant or not. Blame syscons(4) for this. 473 if (!mtx_owned(&Giant) && !SCHEDULER_STOPPED())
|
/freebsd-11.0-release/sys/dev/drm2/i915/ |
H A D | intel_iic.c | 631 * The Giant there is recursed, most likely. Normally, the 635 mtx_lock(&Giant); 716 mtx_unlock(&Giant); 730 mtx_unlock(&Giant); 770 mtx_lock(&Giant); 772 mtx_unlock(&Giant); 777 mtx_lock(&Giant); 779 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/dev/si/ |
H A D | si.c | 586 tp = pp->sp_tty = tty_alloc_mutex(&si_tty_class, pp, &Giant); 615 mtx_assert(&Giant, MA_OWNED); 635 mtx_assert(&Giant, MA_OWNED); 647 mtx_assert(&Giant, MA_OWNED); 677 mtx_assert(&Giant, MA_OWNED); 814 mtx_assert(&Giant, MA_OWNED); 983 mtx_assert(&Giant, MA_OWNED); 1018 mtx_assert(&Giant, MA_OWNED); 1057 mtx_assert(&Giant, MA_OWNED); 1122 mtx_assert(&Giant, MA_OWNE [all...] |
/freebsd-11.0-release/sys/dev/vt/ |
H A D | vt_core.c | 545 mtx_lock(&Giant); 554 mtx_unlock(&Giant); 922 mtx_lock(&Giant); 925 mtx_unlock(&Giant); 2069 mtx_lock(&Giant); 2073 mtx_unlock(&Giant); 2088 mtx_lock(&Giant); 2092 mtx_unlock(&Giant); 2114 mtx_lock(&Giant); 2118 mtx_unlock(&Giant); [all...] |
/freebsd-11.0-release/sys/dev/acpica/ |
H A D | acpi_dock.c | 194 mtx_lock(&Giant); 196 mtx_unlock(&Giant); 301 mtx_lock(&Giant); 303 mtx_unlock(&Giant);
|
/freebsd-11.0-release/sys/nfs/ |
H A D | nfs_nfssvc.c | 80 KASSERT(!mtx_owned(&Giant), ("nfssvc(): called with Giant"));
|
/freebsd-11.0-release/sys/cam/ |
H A D | cam_sim.c | 91 if (mtx == &Giant) {
|