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

Go to the source code of this file.

Macros

#define NLM_OFFSET_MAX   ((s32) 0x7fffffff)
 
#define NLM4_OFFSET_MAX   ((s64) ((~(u64)0) >> 1))
 
#define NLM_PROGRAM   100021
 
#define NLMPROC_NULL   0
 
#define NLMPROC_TEST   1
 
#define NLMPROC_LOCK   2
 
#define NLMPROC_CANCEL   3
 
#define NLMPROC_UNLOCK   4
 
#define NLMPROC_GRANTED   5
 
#define NLMPROC_TEST_MSG   6
 
#define NLMPROC_LOCK_MSG   7
 
#define NLMPROC_CANCEL_MSG   8
 
#define NLMPROC_UNLOCK_MSG   9
 
#define NLMPROC_GRANTED_MSG   10
 
#define NLMPROC_TEST_RES   11
 
#define NLMPROC_LOCK_RES   12
 
#define NLMPROC_CANCEL_RES   13
 
#define NLMPROC_UNLOCK_RES   14
 
#define NLMPROC_GRANTED_RES   15
 
#define NLMPROC_NSM_NOTIFY   16 /* statd callback */
 
#define NLMPROC_SHARE   20
 
#define NLMPROC_UNSHARE   21
 
#define NLMPROC_NM_LOCK   22
 
#define NLMPROC_FREE_ALL   23
 

Enumerations

enum  {
  NLM_LCK_GRANTED = 0, NLM_LCK_DENIED = 1, NLM_LCK_DENIED_NOLOCKS = 2, NLM_LCK_BLOCKED = 3,
  NLM_LCK_DENIED_GRACE_PERIOD = 4
}
 

Macro Definition Documentation

#define NLM4_OFFSET_MAX   ((s64) ((~(u64)0) >> 1))

Definition at line 15 of file nlm.h.

#define NLM_OFFSET_MAX   ((s32) 0x7fffffff)

Definition at line 14 of file nlm.h.

#define NLM_PROGRAM   100021

Definition at line 33 of file nlm.h.

#define NLMPROC_CANCEL   3

Definition at line 38 of file nlm.h.

#define NLMPROC_CANCEL_MSG   8

Definition at line 43 of file nlm.h.

#define NLMPROC_CANCEL_RES   13

Definition at line 48 of file nlm.h.

#define NLMPROC_FREE_ALL   23

Definition at line 55 of file nlm.h.

#define NLMPROC_GRANTED   5

Definition at line 40 of file nlm.h.

#define NLMPROC_GRANTED_MSG   10

Definition at line 45 of file nlm.h.

#define NLMPROC_GRANTED_RES   15

Definition at line 50 of file nlm.h.

#define NLMPROC_LOCK   2

Definition at line 37 of file nlm.h.

#define NLMPROC_LOCK_MSG   7

Definition at line 42 of file nlm.h.

#define NLMPROC_LOCK_RES   12

Definition at line 47 of file nlm.h.

#define NLMPROC_NM_LOCK   22

Definition at line 54 of file nlm.h.

#define NLMPROC_NSM_NOTIFY   16 /* statd callback */

Definition at line 51 of file nlm.h.

#define NLMPROC_NULL   0

Definition at line 35 of file nlm.h.

#define NLMPROC_SHARE   20

Definition at line 52 of file nlm.h.

#define NLMPROC_TEST   1

Definition at line 36 of file nlm.h.

#define NLMPROC_TEST_MSG   6

Definition at line 41 of file nlm.h.

#define NLMPROC_TEST_RES   11

Definition at line 46 of file nlm.h.

#define NLMPROC_UNLOCK   4

Definition at line 39 of file nlm.h.

#define NLMPROC_UNLOCK_MSG   9

Definition at line 44 of file nlm.h.

#define NLMPROC_UNLOCK_RES   14

Definition at line 49 of file nlm.h.

#define NLMPROC_UNSHARE   21

Definition at line 53 of file nlm.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
NLM_LCK_GRANTED 
NLM_LCK_DENIED 
NLM_LCK_DENIED_NOLOCKS 
NLM_LCK_BLOCKED 
NLM_LCK_DENIED_GRACE_PERIOD 

Definition at line 18 of file nlm.h.