Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rwsem.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/export.h>
#include <linux/rwsem.h>
#include <linux/atomic.h>

Go to the source code of this file.

Functions

void __sched down_read (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (down_read)
 
int down_read_trylock (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (down_read_trylock)
 
void __sched down_write (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (down_write)
 
int down_write_trylock (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (down_write_trylock)
 
void up_read (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (up_read)
 
void up_write (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (up_write)
 
void downgrade_write (struct rw_semaphore *sem)
 
 EXPORT_SYMBOL (downgrade_write)
 

Function Documentation

void __sched down_read ( struct rw_semaphore sem)

Definition at line 18 of file rwsem.c.

int down_read_trylock ( struct rw_semaphore sem)

Definition at line 31 of file rwsem.c.

void __sched down_write ( struct rw_semaphore sem)

Definition at line 45 of file rwsem.c.

int down_write_trylock ( struct rw_semaphore sem)

Definition at line 58 of file rwsem.c.

void downgrade_write ( struct rw_semaphore sem)

Definition at line 96 of file rwsem.c.

EXPORT_SYMBOL ( down_read  )
EXPORT_SYMBOL ( down_read_trylock  )
EXPORT_SYMBOL ( down_write  )
EXPORT_SYMBOL ( down_write_trylock  )
EXPORT_SYMBOL ( up_read  )
EXPORT_SYMBOL ( up_write  )
EXPORT_SYMBOL ( downgrade_write  )
void up_read ( struct rw_semaphore sem)

Definition at line 72 of file rwsem.c.

void up_write ( struct rw_semaphore sem)

Definition at line 84 of file rwsem.c.