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

Go to the source code of this file.

Data Structures

struct  arch_rwlock_t
 

Macros

#define RW_LOCK_BIAS   0x00100000
 
#define READ_LOCK_SIZE(insn)   __ASM_FORM(insn##l)
 
#define READ_LOCK_ATOMIC(n)   atomic_##n
 
#define WRITE_LOCK_ADD(n)   __ASM_FORM_COMMA(addl n)
 
#define WRITE_LOCK_SUB(n)   __ASM_FORM_COMMA(subl n)
 
#define WRITE_LOCK_CMP   RW_LOCK_BIAS
 
#define __ARCH_RW_LOCK_UNLOCKED   { RW_LOCK_BIAS }
 

Macro Definition Documentation

#define __ARCH_RW_LOCK_UNLOCKED   { RW_LOCK_BIAS }

Definition at line 45 of file rwlock.h.

#define READ_LOCK_ATOMIC (   n)    atomic_##n

Definition at line 17 of file rwlock.h.

#define READ_LOCK_SIZE (   insn)    __ASM_FORM(insn##l)

Definition at line 16 of file rwlock.h.

#define RW_LOCK_BIAS   0x00100000

Definition at line 15 of file rwlock.h.

#define WRITE_LOCK_ADD (   n)    __ASM_FORM_COMMA(addl n)

Definition at line 18 of file rwlock.h.

#define WRITE_LOCK_CMP   RW_LOCK_BIAS

Definition at line 20 of file rwlock.h.

#define WRITE_LOCK_SUB (   n)    __ASM_FORM_COMMA(subl n)

Definition at line 19 of file rwlock.h.