Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/file.h>
#include <linux/slab.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/kmod.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/ctype.h>
#include <asm/uaccess.h>
#include <linux/poll.h>
#include <linux/seq_file.h>
#include <linux/proc_fs.h>
#include <linux/net.h>
#include <linux/workqueue.h>
#include <linux/mutex.h>
#include <linux/pagemap.h>
#include <asm/ioctls.h>
#include <linux/sunrpc/types.h>
#include <linux/sunrpc/cache.h>
#include <linux/sunrpc/stats.h>
#include <linux/sunrpc/rpc_pipe_fs.h>
#include "netns.h"
Go to the source code of this file.
Data Structures | |
struct | thread_deferred_req |
struct | cache_queue |
struct | cache_request |
struct | cache_reader |
struct | handle |
Macros | |
#define | RPCDBG_FACILITY RPCDBG_CACHE |
#define | DFR_HASHSIZE (PAGE_SIZE/sizeof(struct list_head)) |
#define | DFR_HASH(item) ((((long)item)>>4 ^ (((long)item)>>13)) % DFR_HASHSIZE) |
#define | DFR_MAX 300 /* ??? */ |
#define | isodigit(c) (isdigit(c) && c <= '7') |
Variables | |
struct file_operations | cache_file_operations_pipefs |
struct file_operations | content_file_operations_pipefs |
struct file_operations | cache_flush_operations_pipefs |
#define RPCDBG_FACILITY RPCDBG_CACHE |
int cache_check | ( | struct cache_detail * | detail, |
struct cache_head * | h, | ||
struct cache_req * | rqstp | ||
) |
|
read |
void cache_destroy_net | ( | struct cache_detail * | cd, |
struct net * | net | ||
) |
void cache_purge | ( | struct cache_detail * | detail | ) |
int cache_register_net | ( | struct cache_detail * | cd, |
struct net * | net | ||
) |
void cache_unregister_net | ( | struct cache_detail * | cd, |
struct net * | net | ||
) |
EXPORT_SYMBOL_GPL | ( | sunrpc_cache_lookup | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_cache_update | ) |
EXPORT_SYMBOL_GPL | ( | cache_check | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_init_cache_detail | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_destroy_cache_detail | ) |
EXPORT_SYMBOL_GPL | ( | cache_flush | ) |
EXPORT_SYMBOL_GPL | ( | cache_purge | ) |
EXPORT_SYMBOL_GPL | ( | qword_add | ) |
EXPORT_SYMBOL_GPL | ( | qword_addhex | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_cache_pipe_upcall | ) |
EXPORT_SYMBOL_GPL | ( | qword_get | ) |
EXPORT_SYMBOL_GPL | ( | cache_register_net | ) |
EXPORT_SYMBOL_GPL | ( | cache_unregister_net | ) |
EXPORT_SYMBOL_GPL | ( | cache_create_net | ) |
EXPORT_SYMBOL_GPL | ( | cache_destroy_net | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_cache_register_pipefs | ) |
EXPORT_SYMBOL_GPL | ( | sunrpc_cache_unregister_pipefs | ) |
|
read |
int sunrpc_cache_pipe_upcall | ( | struct cache_detail * | detail, |
struct cache_head * | h, | ||
void(*)(struct cache_detail *, struct cache_head *, char **, int *) | cache_request | ||
) |
void sunrpc_cache_unregister_pipefs | ( | struct cache_detail * | cd | ) |
|
read |
void sunrpc_destroy_cache_detail | ( | struct cache_detail * | cd | ) |
void sunrpc_init_cache_detail | ( | struct cache_detail * | cd | ) |
struct file_operations cache_file_operations_pipefs |
struct file_operations cache_flush_operations_pipefs |