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

Go to the source code of this file.

Macros

#define RW_LOCK_BIAS   0x01000000
 
#define _raw_read_lock_flags(lock, flags)   _raw_read_lock(lock)
 
#define _raw_write_lock_flags(lock, flags)   _raw_write_lock(lock)
 
#define arch_spin_relax(lock)   cpu_relax()
 
#define arch_read_relax(lock)   cpu_relax()
 
#define arch_write_relax(lock)   cpu_relax()
 

Functions

void cris_spin_unlock (void *l, int val)
 
void cris_spin_lock (void *l)
 
int cris_spin_trylock (void *l)
 

Macro Definition Documentation

#define _raw_read_lock_flags (   lock,
  flags 
)    _raw_read_lock(lock)

Definition at line 124 of file spinlock.h.

#define _raw_write_lock_flags (   lock,
  flags 
)    _raw_write_lock(lock)

Definition at line 125 of file spinlock.h.

#define arch_read_relax (   lock)    cpu_relax()

Definition at line 128 of file spinlock.h.

#define arch_spin_relax (   lock)    cpu_relax()

Definition at line 127 of file spinlock.h.

#define arch_write_relax (   lock)    cpu_relax()

Definition at line 129 of file spinlock.h.

#define RW_LOCK_BIAS   0x01000000

Definition at line 6 of file spinlock.h.

Function Documentation

void cris_spin_lock ( void l)
int cris_spin_trylock ( void l)
void cris_spin_unlock ( void l,
int  val 
)