Lines Matching defs:lockdebug
48 #include <sys/lockdebug.h>
68 #ifdef LOCKDEBUG
85 typedef struct lockdebug {
88 _TAILQ_ENTRY(struct lockdebug, volatile) ld_chain;
89 _TAILQ_ENTRY(struct lockdebug, volatile) ld_achain;
104 typedef _TAILQ_HEAD(lockdebuglist, struct lockdebug, volatile) lockdebuglist_t;
212 * Find a lockdebug structure by a pointer to a lock and return it locked.
234 * Initialize the lockdebug system. Allocate an initial pool of
235 * lockdebug structures before the VM system is up and running.
802 * down in flames. Once a panic is triggered, lockdebug state
818 panic("LOCKDEBUG: %s error: %s,%zu: %s",
823 #endif /* LOCKDEBUG */
835 #ifdef LOCKDEBUG
857 (*pr)("WARNING: lock print is unreliable without LOCKDEBUG\n");
862 #endif /* LOCKDEBUG */
866 #ifdef LOCKDEBUG
961 #endif /* LOCKDEBUG */
968 #ifdef LOCKDEBUG
981 (*pr)("Sorry, kernel not built with the LOCKDEBUG option.\n");
982 #endif /* LOCKDEBUG */
988 #ifdef LOCKDEBUG
1025 (*pr)("Sorry, kernel not built with the LOCKDEBUG option.\n");
1026 #endif /* LOCKDEBUG */
1054 #ifdef LOCKDEBUG
1065 #endif /* LOCKDEBUG */
1069 * down in flames. Once a panic is triggered, lockdebug state