Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mutex-debug.c File Reference
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/poison.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/kallsyms.h>
#include <linux/interrupt.h>
#include <linux/debug_locks.h>
#include "mutex-debug.h"

Go to the source code of this file.

Functions

void debug_mutex_lock_common (struct mutex *lock, struct mutex_waiter *waiter)
 
void debug_mutex_wake_waiter (struct mutex *lock, struct mutex_waiter *waiter)
 
void debug_mutex_free_waiter (struct mutex_waiter *waiter)
 
void debug_mutex_add_waiter (struct mutex *lock, struct mutex_waiter *waiter, struct thread_info *ti)
 
void mutex_remove_waiter (struct mutex *lock, struct mutex_waiter *waiter, struct thread_info *ti)
 
void debug_mutex_unlock (struct mutex *lock)
 
void debug_mutex_init (struct mutex *lock, const char *name, struct lock_class_key *key)
 
void mutex_destroy (struct mutex *lock)
 
 EXPORT_SYMBOL_GPL (mutex_destroy)
 

Function Documentation

void debug_mutex_add_waiter ( struct mutex lock,
struct mutex_waiter waiter,
struct thread_info ti 
)

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

void debug_mutex_free_waiter ( struct mutex_waiter waiter)

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

void debug_mutex_init ( struct mutex lock,
const char name,
struct lock_class_key key 
)

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

void debug_mutex_lock_common ( struct mutex lock,
struct mutex_waiter waiter 
)

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

void debug_mutex_unlock ( struct mutex lock)

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

void debug_mutex_wake_waiter ( struct mutex lock,
struct mutex_waiter waiter 
)

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

EXPORT_SYMBOL_GPL ( mutex_destroy  )
void mutex_destroy ( struct mutex lock)

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

void mutex_remove_waiter ( struct mutex lock,
struct mutex_waiter waiter,
struct thread_info ti 
)

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