Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
bind.h File Reference
#include <linux/lockd/nlm.h>
#include <linux/lockd/xdr.h>

Go to the source code of this file.

Data Structures

struct  nlmsvc_binding
 
struct  nlmclnt_initdata
 

Functions

struct nlm_host * nlmclnt_init (const struct nlmclnt_initdata *nlm_init)
 
void nlmclnt_done (struct nlm_host *host)
 
int nlmclnt_proc (struct nlm_host *host, int cmd, struct file_lock *fl)
 
int lockd_up (struct net *net)
 
void lockd_down (struct net *net)
 

Variables

struct nlmsvc_bindingnlmsvc_ops
 

Function Documentation

void lockd_down ( struct net net)

Definition at line 404 of file svc.c.

int lockd_up ( struct net net)

Definition at line 362 of file svc.c.

void nlmclnt_done ( struct nlm_host *  host)

nlmclnt_done - Release resources allocated by nlmclnt_init() : nlm_host structure reserved by nlmclnt_init()

Definition at line 81 of file clntlock.c.

struct nlm_host* nlmclnt_init ( const struct nlmclnt_initdata nlm_init)
read

nlmclnt_init - Set up per-NFS mount point lockd data structures : pointer to arguments structure

Returns pointer to an appropriate nlm_host struct, or an ERR_PTR value.

Definition at line 53 of file clntlock.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.

Variable Documentation

struct nlmsvc_binding* nlmsvc_ops

Definition at line 46 of file svc.c.