Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
rwsem.h File Reference

Go to the source code of this file.

Macros

#define RWSEM_UNLOCKED_VALUE   0x00000000
 
#define RWSEM_ACTIVE_BIAS   0x00000001
 
#define RWSEM_ACTIVE_MASK   0x0000ffff
 
#define RWSEM_WAITING_BIAS   (-0x00010000)
 
#define RWSEM_ACTIVE_READ_BIAS   RWSEM_ACTIVE_BIAS
 
#define RWSEM_ACTIVE_WRITE_BIAS   (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)
 

Macro Definition Documentation

#define RWSEM_ACTIVE_BIAS   0x00000001

Definition at line 44 of file rwsem.h.

#define RWSEM_ACTIVE_MASK   0x0000ffff

Definition at line 45 of file rwsem.h.

#define RWSEM_ACTIVE_READ_BIAS   RWSEM_ACTIVE_BIAS

Definition at line 53 of file rwsem.h.

#define RWSEM_ACTIVE_WRITE_BIAS   (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)

Definition at line 54 of file rwsem.h.

#define RWSEM_UNLOCKED_VALUE   0x00000000

Definition at line 43 of file rwsem.h.

#define RWSEM_WAITING_BIAS   (-0x00010000)

Definition at line 46 of file rwsem.h.