Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mutex-debug.h File Reference
#include <linux/linkage.h>
#include <linux/lockdep.h>

Go to the source code of this file.

Macros

#define __DEBUG_MUTEX_INITIALIZER(lockname)   , .magic = &lockname
 
#define mutex_init(mutex)
 

Functions

void mutex_destroy (struct mutex *lock)
 

Macro Definition Documentation

#define __DEBUG_MUTEX_INITIALIZER (   lockname)    , .magic = &lockname

Definition at line 11 of file mutex-debug.h.

#define mutex_init (   mutex)
Value:
do { \
static struct lock_class_key __key; \
__mutex_init((mutex), #mutex, &__key); \
} while (0)

Definition at line 14 of file mutex-debug.h.

Function Documentation

void mutex_destroy ( struct mutex lock)

Definition at line 104 of file mutex-debug.c.