Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
main.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <linux/completion.h>
#include <linux/slab.h>
#include <linux/seq_file.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define FSCACHE_DEBUG_LEVEL   CACHE
 

Functions

 MODULE_DESCRIPTION ("FS Cache Manager")
 
 MODULE_AUTHOR ("Red Hat, Inc.")
 
 MODULE_LICENSE ("GPL")
 
 module_param_named (defer_lookup, fscache_defer_lookup, uint, S_IWUSR|S_IRUGO)
 
 MODULE_PARM_DESC (fscache_defer_lookup,"Defer cookie lookup to background thread")
 
 module_param_named (defer_create, fscache_defer_create, uint, S_IWUSR|S_IRUGO)
 
 MODULE_PARM_DESC (fscache_defer_create,"Defer cookie creation to background thread")
 
 module_param_named (debug, fscache_debug, uint, S_IWUSR|S_IRUGO)
 
 MODULE_PARM_DESC (fscache_debug,"FS-Cache debugging mask")
 
 DEFINE_PER_CPU (wait_queue_head_t, fscache_object_cong_wait)
 
 fs_initcall (fscache_init)
 
 module_exit (fscache_exit)
 
int fscache_wait_bit (void *flags)
 
 EXPORT_SYMBOL (fscache_wait_bit)
 
int fscache_wait_bit_interruptible (void *flags)
 
 EXPORT_SYMBOL (fscache_wait_bit_interruptible)
 

Variables

unsigned fscache_defer_lookup = 1
 
unsigned fscache_defer_create = 1
 
unsigned fscache_debug
 
struct kobjectfscache_root
 
struct workqueue_structfscache_object_wq
 
struct workqueue_structfscache_op_wq
 

Macro Definition Documentation

#define FSCACHE_DEBUG_LEVEL   CACHE

Definition at line 12 of file main.c.

Function Documentation

DEFINE_PER_CPU ( wait_queue_head_t  ,
fscache_object_cong_wait   
)
EXPORT_SYMBOL ( fscache_wait_bit  )
EXPORT_SYMBOL ( fscache_wait_bit_interruptible  )
fs_initcall ( fscache_init  )
int fscache_wait_bit ( void flags)

Definition at line 203 of file main.c.

int fscache_wait_bit_interruptible ( void flags)

Definition at line 213 of file main.c.

MODULE_AUTHOR ( "Red  Hat,
Inc."   
)
MODULE_DESCRIPTION ( "FS Cache Manager"  )
module_exit ( fscache_exit  )
MODULE_LICENSE ( "GPL"  )
module_param_named ( defer_lookup  ,
fscache_defer_lookup  ,
uint  ,
S_IWUSR S_IRUGO 
)
module_param_named ( defer_create  ,
fscache_defer_create  ,
uint  ,
S_IWUSR S_IRUGO 
)
module_param_named ( debug  ,
fscache_debug  ,
uint  ,
S_IWUSR S_IRUGO 
)
MODULE_PARM_DESC ( fscache_defer_lookup  ,
"Defer cookie lookup to background thread  
)
MODULE_PARM_DESC ( fscache_defer_create  ,
"Defer cookie creation to background thread  
)
MODULE_PARM_DESC ( fscache_debug  ,
"FS-Cache debugging mask  
)

Variable Documentation

unsigned fscache_debug

Definition at line 37 of file main.c.

unsigned fscache_defer_create = 1

Definition at line 31 of file main.c.

unsigned fscache_defer_lookup = 1

Definition at line 25 of file main.c.

struct workqueue_struct* fscache_object_wq

Definition at line 44 of file main.c.

struct workqueue_struct* fscache_op_wq

Definition at line 45 of file main.c.

struct kobject* fscache_root

Definition at line 43 of file main.c.