Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
clntproc.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/nfs_fs.h>
#include <linux/utsname.h>
#include <linux/freezer.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/svc.h>
#include <linux/lockd/lockd.h>

Go to the source code of this file.

Macros

#define NLMDBG_FACILITY   NLMDBG_CLIENT
 
#define NLMCLNT_GRACE_WAIT   (5*HZ)
 
#define NLMCLNT_POLL_TIMEOUT   (30*HZ)
 
#define NLMCLNT_MAX_RETRIES   3
 

Functions

void nlmclnt_next_cookie (struct nlm_cookie *c)
 
int nlmclnt_proc (struct nlm_host *host, int cmd, struct file_lock *fl)
 
 EXPORT_SYMBOL_GPL (nlmclnt_proc)
 
struct nlm_rqst * nlm_alloc_call (struct nlm_host *host)
 
void nlmclnt_release_call (struct nlm_rqst *call)
 
int nlm_async_call (struct nlm_rqst *req, u32 proc, const struct rpc_call_ops *tk_ops)
 
int nlm_async_reply (struct nlm_rqst *req, u32 proc, const struct rpc_call_ops *tk_ops)
 
int nlmclnt_reclaim (struct nlm_host *host, struct file_lock *fl)
 

Macro Definition Documentation

#define NLMCLNT_GRACE_WAIT   (5*HZ)

Definition at line 22 of file clntproc.c.

#define NLMCLNT_MAX_RETRIES   3

Definition at line 24 of file clntproc.c.

#define NLMCLNT_POLL_TIMEOUT   (30*HZ)

Definition at line 23 of file clntproc.c.

#define NLMDBG_FACILITY   NLMDBG_CLIENT

Definition at line 21 of file clntproc.c.

Function Documentation

EXPORT_SYMBOL_GPL ( nlmclnt_proc  )
struct nlm_rqst* nlm_alloc_call ( struct nlm_host *  host)
read

Definition at line 193 of file clntproc.c.

int nlm_async_call ( struct nlm_rqst *  req,
u32  proc,
const struct rpc_call_ops tk_ops 
)

Definition at line 368 of file clntproc.c.

int nlm_async_reply ( struct nlm_rqst *  req,
u32  proc,
const struct rpc_call_ops tk_ops 
)

Definition at line 377 of file clntproc.c.

void nlmclnt_next_cookie ( struct nlm_cookie c)

Definition at line 41 of file clntproc.c.

int nlmclnt_proc ( struct nlm_host *  host,
int  cmd,
struct file_lock fl 
)

nlmclnt_proc - Perform a single client-side lock request : address of a valid nlm_host context representing the NLM server : fcntl-style file lock operation to perform : address of arguments for the lock operation

Definition at line 154 of file clntproc.c.

int nlmclnt_reclaim ( struct nlm_host *  host,
struct file_lock fl 
)

Definition at line 619 of file clntproc.c.

void nlmclnt_release_call ( struct nlm_rqst *  call)

Definition at line 214 of file clntproc.c.