/netbsd-src/sys/sys/ |
H A D | lockdebug.h | 83 #define LOCKDEBUG_FREE(dodebug, lock) \ argument 84 if (dodebug) lockdebug_free(__func__, __LINE__, lock) 85 #define LOCKDEBUG_WANTLOCK(dodebug, lock, where, s) \ argument 86 if (dodebug) lockdebug_wantlock(__func__, __LINE__, lock, where, s) 87 #define LOCKDEBUG_LOCKED(dodebug, lock, al, where, s) \ argument 88 if (dodebug) lockdebug_locked(__func__, __LINE__, lock, al, where, s) 89 #define LOCKDEBUG_UNLOCKED(dodebug, lock, where, s) \ argument 90 if (dodebug) lockdebug_unlocked(__func__, __LINE__, lock, where, s) 99 #define LOCKDEBUG_FREE(dodebug, lock) /* nothing */ argument 100 #define LOCKDEBUG_WANTLOCK(dodebug, lock, where, s) /* nothing */ argument [all …]
|
/netbsd-src/sys/arch/hppa/include/ |
H A D | mutex.h | 120 MUTEX_INITIALIZE_SPIN(struct kmutex *mtx, bool dodebug, int ipl) in MUTEX_INITIALIZE_SPIN() argument 123 mtx->mtx_dodebug = dodebug; in MUTEX_INITIALIZE_SPIN() 129 MUTEX_INITIALIZE_ADAPTIVE(struct kmutex *mtx, bool dodebug) in MUTEX_INITIALIZE_ADAPTIVE() argument 131 mtx->mtx_dodebug = dodebug; in MUTEX_INITIALIZE_ADAPTIVE()
|
/netbsd-src/sys/kern/ |
H A D | kern_mutex.c | 191 #define MUTEX_INITIALIZE_ADAPTIVE(mtx, dodebug) \ argument 193 if (!dodebug) \ 197 #define MUTEX_INITIALIZE_SPIN(mtx, dodebug, ipl) \ argument 200 if (!dodebug) \ 357 bool dodebug; in _mutex_init() local 366 dodebug = LOCKDEBUG_ALLOC(mtx, lockops, return_address); in _mutex_init() 367 MUTEX_INITIALIZE_ADAPTIVE(mtx, dodebug); in _mutex_init() 371 dodebug = LOCKDEBUG_ALLOC(mtx, lockops, return_address); in _mutex_init() 372 MUTEX_INITIALIZE_SPIN(mtx, dodebug, ipl); in _mutex_init()
|
/netbsd-src/external/bsd/ekermit/dist/ |
H A D | debug.h | 20 void dodebug(int, UCHAR *, UCHAR *, long); /* Prototype */ 34 #define debug(a,b,c,d) dodebug(a,(UCHAR *)b,(UCHAR *)c,(long)(d))
|
H A D | main.c | 366 k.dbf = db ? dodebug : 0; /* for debugging */ in main()
|
H A D | unixio.c | 76 dodebug(int fc, UCHAR * label, UCHAR * sval, long nval) { in dodebug() function
|
/netbsd-src/sbin/shutdown/ |
H A D | shutdown.c | 94 static int dodebug, dosilent, doverbose; variable 157 dodebug = 1; in main() 399 if (dodebug) in die_you_gravy_sucking_pig_dog()
|