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

Go to the source code of this file.

Macros

#define assert_raw_spin_locked(x)   BUG_ON(!raw_spin_is_locked(x))
 
#define _raw_spin_unlock(lock)   __raw_spin_unlock(lock)
 

Functions

int in_lock_functions (unsigned long addr)
 
void __lockfunc _raw_spin_lock (raw_spinlock_t *lock) __acquires(lock)
 
void __lockfunc _raw_spin_lock_nested (raw_spinlock_t *lock, int subclass) __acquires(lock)
 
void __lockfunc _raw_spin_lock_nest_lock (raw_spinlock_t *lock, struct lockdep_map *map) __acquires(lock)
 
void __lockfunc _raw_spin_lock_bh (raw_spinlock_t *lock) __acquires(lock)
 
void __lockfunc _raw_spin_lock_irq (raw_spinlock_t *lock) __acquires(lock)
 
unsigned long __lockfunc _raw_spin_lock_irqsave (raw_spinlock_t *lock) __acquires(lock)
 
unsigned long __lockfunc _raw_spin_lock_irqsave_nested (raw_spinlock_t *lock, int subclass) __acquires(lock)
 
int __lockfunc _raw_spin_trylock (raw_spinlock_t *lock)
 
int __lockfunc _raw_spin_trylock_bh (raw_spinlock_t *lock)
 
void __lockfunc _raw_spin_unlock (raw_spinlock_t *lock) __releases(lock)
 
void __lockfunc _raw_spin_unlock_bh (raw_spinlock_t *lock) __releases(lock)
 
void __lockfunc _raw_spin_unlock_irq (raw_spinlock_t *lock) __releases(lock)
 
void __lockfunc _raw_spin_unlock_irqrestore (raw_spinlock_t *lock, unsigned long flags) __releases(lock)
 

Macro Definition Documentation

#define _raw_spin_unlock (   lock)    __raw_spin_unlock(lock)

Definition at line 71 of file spinlock_api_smp.h.

#define assert_raw_spin_locked (   x)    BUG_ON(!raw_spin_is_locked(x))

Definition at line 20 of file spinlock_api_smp.h.

Function Documentation

void __lockfunc _raw_spin_lock ( raw_spinlock_t lock)

Definition at line 135 of file spinlock.c.

void __lockfunc _raw_spin_lock_bh ( raw_spinlock_t lock)

Definition at line 159 of file spinlock.c.

void __lockfunc _raw_spin_lock_irq ( raw_spinlock_t lock)

Definition at line 151 of file spinlock.c.

unsigned long __lockfunc _raw_spin_lock_irqsave ( raw_spinlock_t lock)

Definition at line 143 of file spinlock.c.

unsigned long __lockfunc _raw_spin_lock_irqsave_nested ( raw_spinlock_t lock,
int  subclass 
)
void __lockfunc _raw_spin_lock_nest_lock ( raw_spinlock_t lock,
struct lockdep_map *  map 
)
void __lockfunc _raw_spin_lock_nested ( raw_spinlock_t lock,
int  subclass 
)
int __lockfunc _raw_spin_trylock ( raw_spinlock_t lock)

Definition at line 119 of file spinlock.c.

int __lockfunc _raw_spin_trylock_bh ( raw_spinlock_t lock)

Definition at line 127 of file spinlock.c.

void __lockfunc _raw_spin_unlock ( raw_spinlock_t lock)
void __lockfunc _raw_spin_unlock_bh ( raw_spinlock_t lock)

Definition at line 191 of file spinlock.c.

void __lockfunc _raw_spin_unlock_irq ( raw_spinlock_t lock)

Definition at line 183 of file spinlock.c.

void __lockfunc _raw_spin_unlock_irqrestore ( raw_spinlock_t lock,
unsigned long  flags 
)

Definition at line 175 of file spinlock.c.

int in_lock_functions ( unsigned long  addr)

Definition at line 377 of file spinlock.c.