/freebsd-10.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-10.0-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 | 172 KASSERT(sbt != 0 || mtx_owned(&Giant) || lock != NULL, 177 KASSERT(lock != NULL && lock != &Giant.lock_object, 178 ("PDROP requires a non-Giant lock")); 220 if (lock == &Giant.lock_object) 221 mtx_assert(&Giant, MA_OWNED); 223 if (lock != NULL && lock != &Giant.lock_object && 264 if (lock != NULL && lock != &Giant.lock_object && !(priority & PDROP)) { 444 mtx_assert(&Giant, MA_NOTOWNED);
|
H A D | sysv_shm.c | 302 mtx_lock(&Giant); 326 mtx_unlock(&Giant); 356 mtx_lock(&Giant); 431 mtx_unlock(&Giant); 457 mtx_lock(&Giant); 549 mtx_unlock(&Giant); 761 mtx_lock(&Giant); 779 mtx_unlock(&Giant); 791 mtx_lock(&Giant); 799 mtx_unlock(&Giant); [all...] |
H A D | kern_sx.c | 83 * drop Giant anytime we have to sleep or if we adaptively spin. 87 WITNESS_SAVE_DECL(Giant) \ 90 if (mtx_owned(&Giant)) { \ 91 WITNESS_SAVE(&Giant.lock_object, Giant); \ 92 while (mtx_owned(&Giant)) { \ 94 mtx_unlock(&Giant); \ 101 mtx_assert(&Giant, MA_NOTOWNED); \ 103 mtx_lock(&Giant); \ 104 WITNESS_RESTORE(&Giant [all...] |
/freebsd-10.0-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); 143 mtx_lock(&Giant); 150 mtx_unlock(&Giant);
|
/freebsd-10.0-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.0-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.0-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.0-release/sys/amd64/amd64/ |
H A D | mp_watchdog.c | 107 mtx_lock(&Giant); 109 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/fs/pseudofs/ |
H A D | pseudofs_fileno.c | 55 mtx_assert(&Giant, MA_OWNED); 67 mtx_assert(&Giant, MA_OWNED);
|
/freebsd-10.0-release/sys/i386/i386/ |
H A D | mp_watchdog.c | 107 mtx_lock(&Giant); 109 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | sys_machdep.c | 81 mtx_lock(&Giant); 93 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/dev/drm2/ |
H A D | drm_dp_iic_helper.c | 229 mtx_lock(&Giant); 234 mtx_unlock(&Giant); 242 mtx_unlock(&Giant); 257 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/dev/sound/pcm/ |
H A D | sound.h | 510 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \ 512 "%s(%d): [GIANT ENTER] Giant owned!\n", \ 514 if (!((x)->flags & SD_F_MPSAFE) && mtx_owned(&Giant) == 0) \ 516 mtx_lock(&Giant); \ 529 panic("%s(%d): [GIANT EXIT] MPSAFE Giant?", \ 531 if (mtx_owned(&Giant) != 0 && snd_verbose > 3) \ 533 "%s(%d): [GIANT EXIT] Giant owned!\n", \ 537 if (mtx_owned(&Giant) == 0) \ 538 panic("%s(%d): [GIANT EXIT] Giant not owned!", \ 541 mtx_unlock(&Giant); \ [all...] |
/freebsd-10.0-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.0-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.0-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.0-release/sys/ofed/include/linux/ |
H A D | pci.h | 455 mtx_unlock(&Giant); 460 mtx_lock(&Giant); 477 mtx_unlock(&Giant); 479 mtx_lock(&Giant); 508 mtx_lock(&Giant); 511 mtx_unlock(&Giant); 524 mtx_lock(&Giant); 526 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/dev/hyperv/vmbus/ |
H A D | hv_vmbus_drv_freebsd.c | 277 mtx_lock(&Giant); 279 mtx_unlock(&Giant); 292 mtx_lock(&Giant); 294 mtx_unlock(&Giant);
|
/freebsd-10.0-release/sys/arm/versatile/ |
H A D | pl050.c | 65 #define KMI_LOCK() mtx_lock(&Giant) 66 #define KMI_UNLOCK() mtx_unlock(&Giant) 73 #define KMI_LOCK_ASSERT() mtx_assert(&Giant, MA_OWNED) 81 mtx_assert(&Giant, MA_OWNED); \ 466 * the Giant here unconditionally. On the other hand we have to 469 * the Giant or not. Blame syscons(4) for this. 475 if (!mtx_owned(&Giant) && !SCHEDULER_STOPPED())
|
/freebsd-10.0-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...] |