nfs-ganesha 1.4
Modules | Functions

NLM protocol functions.

Mount protocol functions.

Modules

 ocs RQUOTA protocol functions.

Functions

int nlm_Null (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 The NLM proc null function, for all versions.
int nlm4_Test (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Lock (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Set a range lock.
int nlm4_Cancel (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Cancel a blocked range lock.
int nlm4_Unlock (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Free a range lock.
int nlm4_Sm_Notify (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 NSM notification.
int nlm4_Test_Message (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Test lock Message.
int nlm4_Cancel_Message (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Lock_Message (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Unlock_Message (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
 Unlock Message.
int nlm4_Granted_Res (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Share (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Unshare (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)
int nlm4_Free_All (nfs_arg_t *parg, exportlist_t *pexport, fsal_op_context_t *pcontext, nfs_worker_data_t *pworker, struct svc_req *preq, nfs_res_t *pres)

Function Documentation

int nlm4_Cancel ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Cancel a blocked range lock.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 55 of file nlm_Cancel.c.

int nlm4_Cancel_Message ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Cancel_Message: Cancel Lock Message

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 181 of file nlm_Cancel.c.

int nlm4_Free_All ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Free_All: Free All Locks

Parameters:
parg[IN]
pexportlist[IN]
pcontextp[IN]
ht[INOUT]
preq[IN]
pres[OUT]

Definition at line 54 of file nlm_Free_All.c.

int nlm4_Granted_Res ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t dummy_pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Granted_Res: Lock Granted Result Handler

Parameters:
[in]parg
[in]pexport
[in]dummy_pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 54 of file nlm_Granted_Res.c.

int nlm4_Lock ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Set a range lock.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 54 of file nlm_Lock.c.

int nlm4_Lock_Message ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Lock_Message: Lock Message

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 210 of file nlm_Lock.c.

int nlm4_Share ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Share: Set a share reservation

Parameters:
parg[IN]
pexportlist[IN]
pcontextp[IN]
ht[INOUT]
preq[IN]
pres[OUT]

Definition at line 54 of file nlm_Share.c.

int nlm4_Sm_Notify ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

NSM notification.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 53 of file nlm_Sm_Notify.c.

int nlm4_Test ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Test: Test lock

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 55 of file nlm_Test.c.

int nlm4_Test_Message ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Test lock Message.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 197 of file nlm_Test.c.

int nlm4_Unlock ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Free a range lock.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 53 of file nlm_Unlock.c.

int nlm4_Unlock_Message ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

Unlock Message.

Parameters:
[in]parg
[in]pexport
[in]pcontext
[in]pworker
[in]preq
[out]pres

Definition at line 179 of file nlm_Unlock.c.

int nlm4_Unshare ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

nlm4_Unshare: Set a share reservation

Parameters:
parg[IN]
pexportlist[IN]
pcontextp[IN]
ht[INOUT]
preq[IN]
pres[OUT]

Definition at line 54 of file nlm_Unshare.c.

int nlm_Null ( nfs_arg_t parg,
exportlist_t pexport,
fsal_op_context_t pcontext,
nfs_worker_data_t pworker,
struct svc_req *  preq,
nfs_res_t pres 
)

The NLM proc null function, for all versions.

The NLM proc null function, for all versions.

Parameters:
[in]pargIgnored
[in]pexportIgnored
[in]pcontextIgnored
[in]pworkerIgnored
[in]preqIgnored
[out]presIgnored

Definition at line 56 of file nlm_Null.c.