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

Go to the source code of this file.

Data Structures

struct  fwh_xxlock_thunk
 

Macros

#define FWH_XXLOCK_ONEBLOCK_LOCK   ((struct fwh_xxlock_thunk){ FWH_DENY_WRITE, FL_LOCKING})
 
#define FWH_XXLOCK_ONEBLOCK_UNLOCK   ((struct fwh_xxlock_thunk){ FWH_UNLOCKED, FL_UNLOCKING})
 

Enumerations

enum  fwh_lock_state { FWH_UNLOCKED = 0, FWH_DENY_WRITE = 1, FWH_IMMUTABLE = 2, FWH_DENY_READ = 4 }
 

Macro Definition Documentation

#define FWH_XXLOCK_ONEBLOCK_LOCK   ((struct fwh_xxlock_thunk){ FWH_DENY_WRITE, FL_LOCKING})

Definition at line 18 of file fwh_lock.h.

#define FWH_XXLOCK_ONEBLOCK_UNLOCK   ((struct fwh_xxlock_thunk){ FWH_UNLOCKED, FL_UNLOCKING})

Definition at line 19 of file fwh_lock.h.

Enumeration Type Documentation

Enumerator:
FWH_UNLOCKED 
FWH_DENY_WRITE 
FWH_IMMUTABLE 
FWH_DENY_READ 

Definition at line 5 of file fwh_lock.h.