nfs-ganesha 1.4
Classes | Defines | Typedefs | Enumerations | Functions

nlm4.h File Reference

Go to the source code of this file.

Classes

struct  nlm4_stat
struct  nlm4_res
struct  nlm4_holder
struct  nlm4_testrply
struct  nlm4_testres
struct  nlm4_lock
struct  nlm4_lockargs
struct  nlm4_cancargs
struct  nlm4_testargs
struct  nlm4_unlockargs
struct  nlm4_share
struct  nlm4_shareargs
struct  nlm4_shareres
struct  nlm4_free_allargs
struct  nlm4_sm_notifyargs

Defines

#define LM_MAXSTRLEN   1024
#define LM_MAXNAMELEN   1025
#define MAXNETOBJ_SZ   1024
#define SM_MAXSTRLEN   1024
#define SM_PRIV_SZ   16
#define NLMPROG   100021
#define NLM4_VERS   4
#define NLMPROC4_NULL   0
#define NLMPROC4_TEST   1
#define NLMPROC4_LOCK   2
#define NLMPROC4_CANCEL   3
#define NLMPROC4_UNLOCK   4
#define NLMPROC4_GRANTED   5
#define NLMPROC4_TEST_MSG   6
#define NLMPROC4_LOCK_MSG   7
#define NLMPROC4_CANCEL_MSG   8
#define NLMPROC4_UNLOCK_MSG   9
#define NLMPROC4_GRANTED_MSG   10
#define NLMPROC4_TEST_RES   11
#define NLMPROC4_LOCK_RES   12
#define NLMPROC4_CANCEL_RES   13
#define NLMPROC4_UNLOCK_RES   14
#define NLMPROC4_GRANTED_RES   15
#define NLMPROC4_SM_NOTIFY   16
#define NLMPROC4_SHARE   20
#define NLMPROC4_UNSHARE   21
#define NLMPROC4_NM_LOCK   22
#define NLMPROC4_FREE_ALL   23

Typedefs

typedef int int32_t
typedef u_int uint32_t
typedef quad_t int64_t
typedef u_quad_t uint64_t
typedef enum nlm4_stats nlm4_stats
typedef struct nlm4_stat nlm4_stat
typedef struct nlm4_res nlm4_res
typedef struct nlm4_holder nlm4_holder
typedef struct nlm4_testrply nlm4_testrply
typedef struct nlm4_testres nlm4_testres
typedef struct nlm4_lock nlm4_lock
typedef struct nlm4_lockargs nlm4_lockargs
typedef struct nlm4_cancargs nlm4_cancargs
typedef struct nlm4_testargs nlm4_testargs
typedef struct nlm4_unlockargs nlm4_unlockargs
typedef enum fsh4_mode fsh4_mode
typedef enum fsh4_access fsh4_access
typedef struct nlm4_share nlm4_share
typedef struct nlm4_shareargs nlm4_shareargs
typedef struct nlm4_shareres nlm4_shareres
typedef struct nlm4_free_allargs nlm4_free_allargs
typedef struct nlm4_sm_notifyargs nlm4_sm_notifyargs

Enumerations

enum  nlm4_stats {
  NLM4_GRANTED = 0, NLM4_DENIED = 1, NLM4_DENIED_NOLOCKS = 2, NLM4_BLOCKED = 3,
  NLM4_DENIED_GRACE_PERIOD = 4, NLM4_DEADLCK = 5, NLM4_ROFS = 6, NLM4_STALE_FH = 7,
  NLM4_FBIG = 8, NLM4_FAILED = 9
}
enum  fsh4_mode { fsm_DN = 0, fsm_DR = 1, fsm_DW = 2, fsm_DRW = 3 }
enum  fsh4_access { fsa_NONE = 0, fsa_R = 1, fsa_W = 2, fsa_RW = 3 }

Functions

void nlm_init (void)
void * nlmproc4_null_4 ()
void * nlmproc4_null_4_svc ()
nlm4_testresnlmproc4_test_4 ()
nlm4_testresnlmproc4_test_4_svc ()
nlm4_resnlmproc4_lock_4 ()
nlm4_resnlmproc4_lock_4_svc ()
nlm4_resnlmproc4_cancel_4 ()
nlm4_resnlmproc4_cancel_4_svc ()
nlm4_resnlmproc4_unlock_4 ()
nlm4_resnlmproc4_unlock_4_svc ()
nlm4_resnlmproc4_granted_4 ()
nlm4_resnlmproc4_granted_4_svc ()
void * nlmproc4_test_msg_4 ()
void * nlmproc4_test_msg_4_svc ()
void * nlmproc4_lock_msg_4 ()
void * nlmproc4_lock_msg_4_svc ()
void * nlmproc4_cancel_msg_4 ()
void * nlmproc4_cancel_msg_4_svc ()
void * nlmproc4_unlock_msg_4 ()
void * nlmproc4_unlock_msg_4_svc ()
void * nlmproc4_granted_msg_4 ()
void * nlmproc4_granted_msg_4_svc ()
void * nlmproc4_test_res_4 ()
void * nlmproc4_test_res_4_svc ()
void * nlmproc4_lock_res_4 ()
void * nlmproc4_lock_res_4_svc ()
void * nlmproc4_cancel_res_4 ()
void * nlmproc4_cancel_res_4_svc ()
void * nlmproc4_unlock_res_4 ()
void * nlmproc4_unlock_res_4_svc ()
void * nlmproc4_granted_res_4 ()
void * nlmproc4_granted_res_4_svc ()
void * nlmproc4_sm_notify_4 ()
void * nlmproc4_sm_notify_4_svc ()
nlm4_shareresnlmproc4_share_4 ()
nlm4_shareresnlmproc4_share_4_svc ()
nlm4_shareresnlmproc4_unshare_4 ()
nlm4_shareresnlmproc4_unshare_4_svc ()
nlm4_resnlmproc4_nm_lock_4 ()
nlm4_resnlmproc4_nm_lock_4_svc ()
void * nlmproc4_free_all_4 ()
void * nlmproc4_free_all_4_svc ()
int nlmprog_4_freeresult ()
bool_t xdr_int32_t ()
bool_t xdr_uint32_t ()
bool_t xdr_int64_t ()
bool_t xdr_uint64_t ()
bool_t xdr_nlm4_stats ()
bool_t xdr_nlm4_stat ()
bool_t xdr_nlm4_res ()
bool_t xdr_nlm4_holder ()
bool_t xdr_nlm4_testrply ()
bool_t xdr_nlm4_testres ()
bool_t xdr_nlm4_lock ()
bool_t xdr_nlm4_lockargs ()
bool_t xdr_nlm4_cancargs ()
bool_t xdr_nlm4_testargs ()
bool_t xdr_nlm4_unlockargs ()
bool_t xdr_fsh4_mode ()
bool_t xdr_fsh4_access ()
bool_t xdr_nlm4_share ()
bool_t xdr_nlm4_shareargs ()
bool_t xdr_nlm4_shareres ()
bool_t xdr_nlm4_free_allargs ()
bool_t xdr_nlm4_sm_notifyargs ()

Define Documentation

#define LM_MAXNAMELEN   1025

Definition at line 15 of file nlm4.h.

#define LM_MAXSTRLEN   1024

Definition at line 14 of file nlm4.h.

#define MAXNETOBJ_SZ   1024

Definition at line 16 of file nlm4.h.

#define NLM4_VERS   4

Definition at line 190 of file nlm4.h.

#define NLMPROC4_CANCEL   3

Definition at line 268 of file nlm4.h.

#define NLMPROC4_CANCEL_MSG   8

Definition at line 283 of file nlm4.h.

#define NLMPROC4_CANCEL_RES   13

Definition at line 298 of file nlm4.h.

#define NLMPROC4_FREE_ALL   23

Definition at line 319 of file nlm4.h.

#define NLMPROC4_GRANTED   5

Definition at line 274 of file nlm4.h.

#define NLMPROC4_GRANTED_MSG   10

Definition at line 289 of file nlm4.h.

#define NLMPROC4_GRANTED_RES   15

Definition at line 304 of file nlm4.h.

#define NLMPROC4_LOCK   2

Definition at line 265 of file nlm4.h.

#define NLMPROC4_LOCK_MSG   7

Definition at line 280 of file nlm4.h.

#define NLMPROC4_LOCK_RES   12

Definition at line 295 of file nlm4.h.

#define NLMPROC4_NM_LOCK   22

Definition at line 316 of file nlm4.h.

#define NLMPROC4_NULL   0

Definition at line 259 of file nlm4.h.

#define NLMPROC4_SHARE   20

Definition at line 310 of file nlm4.h.

#define NLMPROC4_SM_NOTIFY   16

Definition at line 307 of file nlm4.h.

#define NLMPROC4_TEST   1

Definition at line 262 of file nlm4.h.

#define NLMPROC4_TEST_MSG   6

Definition at line 277 of file nlm4.h.

#define NLMPROC4_TEST_RES   11

Definition at line 292 of file nlm4.h.

#define NLMPROC4_UNLOCK   4

Definition at line 271 of file nlm4.h.

#define NLMPROC4_UNLOCK_MSG   9

Definition at line 286 of file nlm4.h.

#define NLMPROC4_UNLOCK_RES   14

Definition at line 301 of file nlm4.h.

#define NLMPROC4_UNSHARE   21

Definition at line 313 of file nlm4.h.

#define NLMPROG   100021

Definition at line 189 of file nlm4.h.

#define SM_MAXSTRLEN   1024

Definition at line 17 of file nlm4.h.

#define SM_PRIV_SZ   16

Definition at line 18 of file nlm4.h.


Typedef Documentation

typedef enum fsh4_access fsh4_access

Definition at line 145 of file nlm4.h.

typedef enum fsh4_mode fsh4_mode

Definition at line 136 of file nlm4.h.

typedef int int32_t

Definition at line 20 of file nlm4.h.

typedef quad_t int64_t

Definition at line 24 of file nlm4.h.

typedef struct nlm4_cancargs nlm4_cancargs

Definition at line 112 of file nlm4.h.

Definition at line 178 of file nlm4.h.

typedef struct nlm4_holder nlm4_holder

Definition at line 64 of file nlm4.h.

typedef struct nlm4_lock nlm4_lock

Definition at line 92 of file nlm4.h.

typedef struct nlm4_lockargs nlm4_lockargs

Definition at line 103 of file nlm4.h.

typedef struct nlm4_res nlm4_res

Definition at line 54 of file nlm4.h.

typedef struct nlm4_share nlm4_share

Definition at line 155 of file nlm4.h.

Definition at line 163 of file nlm4.h.

typedef struct nlm4_shareres nlm4_shareres

Definition at line 171 of file nlm4.h.

Definition at line 186 of file nlm4.h.

typedef struct nlm4_stat nlm4_stat

Definition at line 47 of file nlm4.h.

typedef enum nlm4_stats nlm4_stats

Definition at line 41 of file nlm4.h.

typedef struct nlm4_testargs nlm4_testargs

Definition at line 120 of file nlm4.h.

typedef struct nlm4_testres nlm4_testres

Definition at line 81 of file nlm4.h.

typedef struct nlm4_testrply nlm4_testrply

Definition at line 74 of file nlm4.h.

Definition at line 127 of file nlm4.h.

typedef u_int uint32_t

Definition at line 22 of file nlm4.h.

typedef u_quad_t uint64_t

Definition at line 26 of file nlm4.h.


Enumeration Type Documentation

Enumerator:
fsa_NONE 
fsa_R 
fsa_W 
fsa_RW 

Definition at line 138 of file nlm4.h.

enum fsh4_mode
Enumerator:
fsm_DN 
fsm_DR 
fsm_DW 
fsm_DRW 

Definition at line 129 of file nlm4.h.

enum nlm4_stats
Enumerator:
NLM4_GRANTED 
NLM4_DENIED 
NLM4_DENIED_NOLOCKS 
NLM4_BLOCKED 
NLM4_DENIED_GRACE_PERIOD 
NLM4_DEADLCK 
NLM4_ROFS 
NLM4_STALE_FH 
NLM4_FBIG 
NLM4_FAILED 

Definition at line 28 of file nlm4.h.


Function Documentation

void nlm_init ( void  )

Definition at line 153 of file nlm_util.c.

nlm4_res* nlmproc4_cancel_4 ( )
nlm4_res* nlmproc4_cancel_4_svc ( )
void* nlmproc4_cancel_msg_4 ( )
void* nlmproc4_cancel_msg_4_svc ( )
void* nlmproc4_cancel_res_4 ( )
void* nlmproc4_cancel_res_4_svc ( )
void* nlmproc4_free_all_4 ( )
void* nlmproc4_free_all_4_svc ( )
nlm4_res* nlmproc4_granted_4 ( )
nlm4_res* nlmproc4_granted_4_svc ( )
void* nlmproc4_granted_msg_4 ( )
void* nlmproc4_granted_msg_4_svc ( )
void* nlmproc4_granted_res_4 ( )
void* nlmproc4_granted_res_4_svc ( )
nlm4_res* nlmproc4_lock_4 ( )
nlm4_res* nlmproc4_lock_4_svc ( )
void* nlmproc4_lock_msg_4 ( )
void* nlmproc4_lock_msg_4_svc ( )
void* nlmproc4_lock_res_4 ( )
void* nlmproc4_lock_res_4_svc ( )
nlm4_res* nlmproc4_nm_lock_4 ( )
nlm4_res* nlmproc4_nm_lock_4_svc ( )
void* nlmproc4_null_4 ( )
void* nlmproc4_null_4_svc ( )
nlm4_shareres* nlmproc4_share_4 ( )
nlm4_shareres* nlmproc4_share_4_svc ( )
void* nlmproc4_sm_notify_4 ( )
void* nlmproc4_sm_notify_4_svc ( )
nlm4_testres* nlmproc4_test_4 ( )
nlm4_testres* nlmproc4_test_4_svc ( )
void* nlmproc4_test_msg_4 ( )
void* nlmproc4_test_msg_4_svc ( )
void* nlmproc4_test_res_4 ( )
void* nlmproc4_test_res_4_svc ( )
nlm4_res* nlmproc4_unlock_4 ( )
nlm4_res* nlmproc4_unlock_4_svc ( )
void* nlmproc4_unlock_msg_4 ( )
void* nlmproc4_unlock_msg_4_svc ( )
void* nlmproc4_unlock_res_4 ( )
void* nlmproc4_unlock_res_4_svc ( )
nlm4_shareres* nlmproc4_unshare_4 ( )
nlm4_shareres* nlmproc4_unshare_4_svc ( )
int nlmprog_4_freeresult ( )
bool_t xdr_fsh4_access ( )
bool_t xdr_fsh4_mode ( )
bool_t xdr_int32_t ( )
bool_t xdr_int64_t ( )
bool_t xdr_nlm4_cancargs ( )
bool_t xdr_nlm4_free_allargs ( )
bool_t xdr_nlm4_holder ( )
bool_t xdr_nlm4_lock ( )
bool_t xdr_nlm4_lockargs ( )
bool_t xdr_nlm4_res ( )
bool_t xdr_nlm4_share ( )
bool_t xdr_nlm4_shareargs ( )
bool_t xdr_nlm4_shareres ( )
bool_t xdr_nlm4_sm_notifyargs ( )
bool_t xdr_nlm4_stat ( )
bool_t xdr_nlm4_stats ( )
bool_t xdr_nlm4_testargs ( )
bool_t xdr_nlm4_testres ( )
bool_t xdr_nlm4_testrply ( )
bool_t xdr_nlm4_unlockargs ( )
bool_t xdr_uint32_t ( )
bool_t xdr_uint64_t ( )