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 21 of file rwsem.h.

#define RWSEM_ACTIVE_MASK   0x0000ffff

Definition at line 22 of file rwsem.h.

#define RWSEM_ACTIVE_READ_BIAS   RWSEM_ACTIVE_BIAS

Definition at line 24 of file rwsem.h.

#define RWSEM_ACTIVE_WRITE_BIAS   (RWSEM_WAITING_BIAS + RWSEM_ACTIVE_BIAS)

Definition at line 25 of file rwsem.h.

#define RWSEM_UNLOCKED_VALUE   0x00000000

Definition at line 20 of file rwsem.h.

#define RWSEM_WAITING_BIAS   (-0x00010000)

Definition at line 23 of file rwsem.h.