Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
debug_locks.h File Reference
#include <linux/kernel.h>
#include <linux/atomic.h>
#include <linux/bug.h>

Go to the source code of this file.

Macros

#define DEBUG_LOCKS_WARN_ON(c)
 
#define SMP_DEBUG_LOCKS_WARN_ON(c)   do { } while (0)
 
#define locking_selftest()   do { } while (0)
 

Functions

int debug_locks_off (void)
 

Variables

int debug_locks
 
int debug_locks_silent
 

Macro Definition Documentation

#define DEBUG_LOCKS_WARN_ON (   c)
Value:
({ \
int __ret = 0; \
WARN_ON(1); \
__ret = 1; \
} \
__ret; \
})

Definition at line 24 of file debug_locks.h.

#define locking_selftest (   void)    do { } while (0)

Definition at line 45 of file debug_locks.h.

#define SMP_DEBUG_LOCKS_WARN_ON (   c)    do { } while (0)

Definition at line 39 of file debug_locks.h.

Function Documentation

int debug_locks_off ( void  )

Definition at line 37 of file debug_locks.c.

Variable Documentation

int debug_locks

Definition at line 24 of file debug_locks.c.

int debug_locks_silent

Definition at line 32 of file debug_locks.c.