Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
spinlock.c File Reference
#include <linux/types.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <asm/io.h>

Go to the source code of this file.

Functions

 __setup ("spin_retry=", spin_retry_setup)
 
void arch_spin_lock_wait (arch_spinlock_t *lp)
 
 EXPORT_SYMBOL (arch_spin_lock_wait)
 
void arch_spin_lock_wait_flags (arch_spinlock_t *lp, unsigned long flags)
 
 EXPORT_SYMBOL (arch_spin_lock_wait_flags)
 
int arch_spin_trylock_retry (arch_spinlock_t *lp)
 
 EXPORT_SYMBOL (arch_spin_trylock_retry)
 
void arch_spin_relax (arch_spinlock_t *lock)
 
 EXPORT_SYMBOL (arch_spin_relax)
 
void _raw_read_lock_wait (arch_rwlock_t *rw)
 
 EXPORT_SYMBOL (_raw_read_lock_wait)
 
void _raw_read_lock_wait_flags (arch_rwlock_t *rw, unsigned long flags)
 
 EXPORT_SYMBOL (_raw_read_lock_wait_flags)
 
int _raw_read_trylock_retry (arch_rwlock_t *rw)
 
 EXPORT_SYMBOL (_raw_read_trylock_retry)
 
void _raw_write_lock_wait (arch_rwlock_t *rw)
 
 EXPORT_SYMBOL (_raw_write_lock_wait)
 
void _raw_write_lock_wait_flags (arch_rwlock_t *rw, unsigned long flags)
 
 EXPORT_SYMBOL (_raw_write_lock_wait_flags)
 
int _raw_write_trylock_retry (arch_rwlock_t *rw)
 
 EXPORT_SYMBOL (_raw_write_trylock_retry)
 

Variables

int spin_retry = 1000
 

Function Documentation

__setup ( )
void _raw_read_lock_wait ( arch_rwlock_t rw)

Definition at line 114 of file spinlock.c.

void _raw_read_lock_wait_flags ( arch_rwlock_t rw,
unsigned long  flags 
)

Definition at line 133 of file spinlock.c.

int _raw_read_trylock_retry ( arch_rwlock_t rw)

Definition at line 154 of file spinlock.c.

void _raw_write_lock_wait ( arch_rwlock_t rw)

Definition at line 170 of file spinlock.c.

void _raw_write_lock_wait_flags ( arch_rwlock_t rw,
unsigned long  flags 
)

Definition at line 187 of file spinlock.c.

int _raw_write_trylock_retry ( arch_rwlock_t rw)

Definition at line 206 of file spinlock.c.

void arch_spin_lock_wait ( arch_spinlock_t lp)

Definition at line 27 of file spinlock.c.

void arch_spin_lock_wait_flags ( arch_spinlock_t lp,
unsigned long  flags 
)

Definition at line 55 of file spinlock.c.

void arch_spin_relax ( arch_spinlock_t lock)

Definition at line 103 of file spinlock.c.

int arch_spin_trylock_retry ( arch_spinlock_t lp)

Definition at line 88 of file spinlock.c.

EXPORT_SYMBOL ( arch_spin_lock_wait  )
EXPORT_SYMBOL ( arch_spin_lock_wait_flags  )
EXPORT_SYMBOL ( arch_spin_trylock_retry  )
EXPORT_SYMBOL ( arch_spin_relax  )
EXPORT_SYMBOL ( _raw_read_lock_wait  )
EXPORT_SYMBOL ( _raw_read_lock_wait_flags  )
EXPORT_SYMBOL ( _raw_read_trylock_retry  )
EXPORT_SYMBOL ( _raw_write_lock_wait  )
EXPORT_SYMBOL ( _raw_write_lock_wait_flags  )
EXPORT_SYMBOL ( _raw_write_trylock_retry  )

Variable Documentation

int spin_retry = 1000

Definition at line 15 of file spinlock.c.