#include <linux/kmod.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/slab.h>
#include <linux/sunrpc/cache.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
#include <net/net_namespace.h>
#include "cache_lib.h"
Go to the source code of this file.
|
| module_param_string (cache_getent, nfs_cache_getent_prog, sizeof(nfs_cache_getent_prog), 0600) |
|
| MODULE_PARM_DESC (cache_getent,"Path to the client cache upcall program") |
|
| module_param_named (cache_getent_timeout, nfs_cache_getent_timeout, ulong, 0600) |
|
| MODULE_PARM_DESC (cache_getent_timeout,"Timeout (in seconds) after which ""the cache upcall is assumed to have failed") |
|
int | nfs_cache_upcall (struct cache_detail *cd, char *entry_name) |
|
void | nfs_cache_defer_req_put (struct nfs_cache_defer_req *dreq) |
|
struct nfs_cache_defer_req * | nfs_cache_defer_req_alloc (void) |
|
int | nfs_cache_wait_for_upcall (struct nfs_cache_defer_req *dreq) |
|
int | nfs_cache_register_sb (struct super_block *sb, struct cache_detail *cd) |
|
int | nfs_cache_register_net (struct net *net, struct cache_detail *cd) |
|
void | nfs_cache_unregister_sb (struct super_block *sb, struct cache_detail *cd) |
|
void | nfs_cache_unregister_net (struct net *net, struct cache_detail *cd) |
|
void | nfs_cache_init (struct cache_detail *cd) |
|
void | nfs_cache_destroy (struct cache_detail *cd) |
|
#define NFS_CACHE_UPCALL_PATHLEN 256 |
#define NFS_CACHE_UPCALL_TIMEOUT 15 |
module_param_named |
( |
cache_getent_timeout |
, |
|
|
nfs_cache_getent_timeout |
, |
|
|
ulong |
, |
|
|
0600 |
|
|
) |
| |
module_param_string |
( |
cache_getent |
, |
|
|
nfs_cache_getent_prog |
, |
|
|
sizeof(nfs_cache_getent_prog) |
, |
|
|
0600 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
cache_getent |
, |
|
|
"Path to the client cache upcall program" |
|
|
) |
| |