Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
nfs4recover.c File Reference
#include <linux/file.h>
#include <linux/slab.h>
#include <linux/namei.h>
#include <linux/crypto.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/module.h>
#include <net/net_namespace.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
#include <linux/sunrpc/clnt.h>
#include <linux/nfsd/cld.h>
#include "nfsd.h"
#include "state.h"
#include "vfs.h"
#include "netns.h"

Go to the source code of this file.

Data Structures

struct  nfsd4_client_tracking_ops
 
struct  name_list
 
struct  cld_net
 
struct  cld_upcall
 

Macros

#define NFSDDBG_FACILITY   NFSDDBG_PROC
 
#define NFSD_PIPE_DIR   "nfsd"
 
#define NFSD_CLD_PIPE   "cld"
 

Typedefs

typedef intrecdir_func )(struct dentry *, struct dentry *)
 

Functions

__be32 nfs4_make_rec_clidname (char *dname, struct xdr_netobj *clname)
 
int nfs4_reset_recoverydir (char *recdir)
 
charnfs4_recoverydir (void)
 
int nfsd4_client_tracking_init (struct net *net)
 
void nfsd4_client_tracking_exit (struct net *net)
 
void nfsd4_client_record_create (struct nfs4_client *clp)
 
void nfsd4_client_record_remove (struct nfs4_client *clp)
 
int nfsd4_client_record_check (struct nfs4_client *clp)
 
void nfsd4_record_grace_done (struct net *net, time_t boot_time)
 
int register_cld_notifier (void)
 
void unregister_cld_notifier (void)
 

Macro Definition Documentation

#define NFSD_CLD_PIPE   "cld"

Definition at line 507 of file nfs4recover.c.

#define NFSD_PIPE_DIR   "nfsd"

Definition at line 506 of file nfs4recover.c.

#define NFSDDBG_FACILITY   NFSDDBG_PROC

Definition at line 52 of file nfs4recover.c.

Typedef Documentation

typedef int( recdir_func)(struct dentry *, struct dentry *)

Definition at line 196 of file nfs4recover.c.

Function Documentation

__be32 nfs4_make_rec_clidname ( char dname,
struct xdr_netobj *  clname 
)

Definition at line 106 of file nfs4recover.c.

char* nfs4_recoverydir ( void  )

Definition at line 475 of file nfs4recover.c.

int nfs4_reset_recoverydir ( char recdir)

Definition at line 457 of file nfs4recover.c.

int nfsd4_client_record_check ( struct nfs4_client clp)

Definition at line 979 of file nfs4recover.c.

void nfsd4_client_record_create ( struct nfs4_client clp)

Definition at line 965 of file nfs4recover.c.

void nfsd4_client_record_remove ( struct nfs4_client clp)

Definition at line 972 of file nfs4recover.c.

void nfsd4_client_tracking_exit ( struct net net)

Definition at line 956 of file nfs4recover.c.

int nfsd4_client_tracking_init ( struct net net)

Definition at line 930 of file nfs4recover.c.

void nfsd4_record_grace_done ( struct net net,
time_t  boot_time 
)

Definition at line 988 of file nfs4recover.c.

int register_cld_notifier ( void  )

Definition at line 1038 of file nfs4recover.c.

void unregister_cld_notifier ( void  )

Definition at line 1044 of file nfs4recover.c.