/freebsd-10.2-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-10.2-release/sys/kern/ |
H A D | kern_condvar.c | 126 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 D | kern_module.c | 101 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 D | kern_ntptime.c | 281 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 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 | 171 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 D | kern_sx.c | 84 * 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 D | geom_kern.c | 93 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 D | control.c | 231 * 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 D | mutex.h | 358 #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 D | usb_compat_linux.c | 221 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 D | pseudofs_fileno.c | 55 mtx_assert(&Giant, MA_OWNED); 67 mtx_assert(&Giant, MA_OWNED);
|
/freebsd-10.2-release/sys/i386/i386/ |
H A D | mp_watchdog.c | 107 mtx_lock(&Giant); 109 mtx_unlock(&Giant);
|
/freebsd-10.2-release/sys/sparc64/sparc64/ |
H A D | sys_machdep.c | 81 mtx_lock(&Giant); 93 mtx_unlock(&Giant);
|
/freebsd-10.2-release/sys/amd64/amd64/ |
H A D | mp_watchdog.c | 107 mtx_lock(&Giant); 109 mtx_unlock(&Giant);
|
/freebsd-10.2-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-10.2-release/sys/dev/sound/pcm/ |
H A D | sound.h | 512 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 D | nfs_clsubs.c | 171 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 D | svr4_stream.c | 1043 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 D | ng_h4.c | 823 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 D | pl050.c | 64 #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 D | si.c | 587 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 D | vt_core.c | 532 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 D | cam_sim.c | 91 if (mtx == &Giant) {
|