Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
lglock.c File Reference
#include <linux/module.h>
#include <linux/lglock.h>
#include <linux/cpu.h>
#include <linux/string.h>

Go to the source code of this file.

Functions

void lg_lock_init (struct lglock *lg, char *name)
 
 EXPORT_SYMBOL (lg_lock_init)
 
void lg_local_lock (struct lglock *lg)
 
 EXPORT_SYMBOL (lg_local_lock)
 
void lg_local_unlock (struct lglock *lg)
 
 EXPORT_SYMBOL (lg_local_unlock)
 
void lg_local_lock_cpu (struct lglock *lg, int cpu)
 
 EXPORT_SYMBOL (lg_local_lock_cpu)
 
void lg_local_unlock_cpu (struct lglock *lg, int cpu)
 
 EXPORT_SYMBOL (lg_local_unlock_cpu)
 
void lg_global_lock (struct lglock *lg)
 
 EXPORT_SYMBOL (lg_global_lock)
 
void lg_global_unlock (struct lglock *lg)
 
 EXPORT_SYMBOL (lg_global_unlock)
 

Function Documentation

EXPORT_SYMBOL ( lg_lock_init  )
EXPORT_SYMBOL ( lg_local_lock  )
EXPORT_SYMBOL ( lg_local_unlock  )
EXPORT_SYMBOL ( lg_local_lock_cpu  )
EXPORT_SYMBOL ( lg_local_unlock_cpu  )
EXPORT_SYMBOL ( lg_global_lock  )
EXPORT_SYMBOL ( lg_global_unlock  )
void lg_global_lock ( struct lglock lg)

Definition at line 63 of file lglock.c.

void lg_global_unlock ( struct lglock lg)

Definition at line 77 of file lglock.c.

void lg_local_lock ( struct lglock lg)

Definition at line 19 of file lglock.c.

void lg_local_lock_cpu ( struct lglock lg,
int  cpu 
)

Definition at line 41 of file lglock.c.

void lg_local_unlock ( struct lglock lg)

Definition at line 30 of file lglock.c.

void lg_local_unlock_cpu ( struct lglock lg,
int  cpu 
)

Definition at line 52 of file lglock.c.

void lg_lock_init ( struct lglock lg,
char name 
)

Definition at line 13 of file lglock.c.