Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | FSCACHE_MIN_THREADS 4 |
#define | FSCACHE_MAX_THREADS 32 |
#define | fscache_hist(hist, start_jif) do {} while (0) |
#define | fscache_objlist_add(object) do {} while(0) |
#define | fscache_proc_init() (0) |
#define | fscache_proc_cleanup() do {} while (0) |
#define | __fscache_stat(stat) (NULL) |
#define | fscache_stat(stat) do {} while (0) |
#define | fscache_stat_d(stat) do {} while (0) |
#define | dbgprintk(FMT,...) printk(KERN_DEBUG "[%-6.6s] "FMT"\n", current->comm, ##__VA_ARGS__) |
#define | kenter(FMT,...) dbgprintk("==> %s("FMT")", __func__, ##__VA_ARGS__) |
#define | kleave(FMT,...) dbgprintk("<== %s()"FMT"", __func__, ##__VA_ARGS__) |
#define | kdebug(FMT,...) dbgprintk(FMT, ##__VA_ARGS__) |
#define | kjournal(FMT,...) no_printk(FMT, ##__VA_ARGS__) |
#define | _enter(FMT,...) no_printk("==> %s("FMT")", __func__, ##__VA_ARGS__) |
#define | _leave(FMT,...) no_printk("<== %s()"FMT"", __func__, ##__VA_ARGS__) |
#define | _debug(FMT,...) no_printk(FMT, ##__VA_ARGS__) |
#define | ____do_kdebug(LEVEL, POINT) |
#define | ___do_kdebug(LEVEL, POINT) ____do_kdebug(LEVEL, POINT) |
#define | __do_kdebug(POINT) ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT) |
#define | FSCACHE_DEBUG_CACHE 0 |
#define | FSCACHE_DEBUG_COOKIE 1 |
#define | FSCACHE_DEBUG_PAGE 2 |
#define | FSCACHE_DEBUG_OPERATION 3 |
#define | FSCACHE_POINT_ENTER 1 |
#define | FSCACHE_POINT_LEAVE 2 |
#define | FSCACHE_POINT_DEBUG 4 |
#define | FSCACHE_DEBUG_LEVEL CACHE |
#define | ASSERT(X) |
#define | ASSERTCMP(X, OP, Y) |
#define | ASSERTIF(C, X) |
#define | ASSERTIFCMP(C, X, OP, Y) |
Variables | |
struct list_head | fscache_cache_list |
struct rw_semaphore | fscache_addremove_sem |
struct kmem_cache * | fscache_cookie_jar |
struct fscache_cookie | fscache_fsdef_index |
struct fscache_cookie_def | fscache_fsdef_netfs_def |
unsigned | fscache_defer_lookup |
unsigned | fscache_defer_create |
unsigned | fscache_debug |
struct kobject * | fscache_root |
struct workqueue_struct * | fscache_object_wq |
struct workqueue_struct * | fscache_op_wq |
const char | fscache_object_states_short [FSCACHE_OBJECT__NSTATES][5] |
#define ____do_kdebug | ( | LEVEL, | |
POINT | |||
) |
Definition at line 365 of file internal.h.
#define ___do_kdebug | ( | LEVEL, | |
POINT | |||
) | ____do_kdebug(LEVEL, POINT) |
Definition at line 368 of file internal.h.
#define __do_kdebug | ( | POINT | ) | ___do_kdebug(FSCACHE_DEBUG_LEVEL, POINT) |
Definition at line 370 of file internal.h.
Definition at line 268 of file internal.h.
#define _debug | ( | FMT, | |
... | |||
) | no_printk(FMT, ##__VA_ARGS__) |
Definition at line 357 of file internal.h.
#define _enter | ( | FMT, | |
... | |||
) | no_printk("==> %s("FMT")", __func__, ##__VA_ARGS__) |
Definition at line 355 of file internal.h.
#define _leave | ( | FMT, | |
... | |||
) | no_printk("<== %s()"FMT"", __func__, ##__VA_ARGS__) |
Definition at line 356 of file internal.h.
#define ASSERT | ( | X | ) |
#define dbgprintk | ( | FMT, | |
... | |||
) | printk(KERN_DEBUG "[%-6.6s] "FMT"\n", current->comm, ##__VA_ARGS__) |
Definition at line 321 of file internal.h.
#define FSCACHE_DEBUG_CACHE 0 |
Definition at line 373 of file internal.h.
#define FSCACHE_DEBUG_COOKIE 1 |
Definition at line 374 of file internal.h.
#define FSCACHE_DEBUG_LEVEL CACHE |
Definition at line 383 of file internal.h.
#define FSCACHE_DEBUG_OPERATION 3 |
Definition at line 376 of file internal.h.
#define FSCACHE_DEBUG_PAGE 2 |
Definition at line 375 of file internal.h.
#define fscache_hist | ( | hist, | |
start_jif | |||
) | do {} while (0) |
Definition at line 75 of file internal.h.
#define FSCACHE_MAX_THREADS 32 |
Definition at line 29 of file internal.h.
#define FSCACHE_MIN_THREADS 4 |
Definition at line 28 of file internal.h.
#define fscache_objlist_add | ( | object | ) | do {} while(0) |
Definition at line 114 of file internal.h.
#define FSCACHE_POINT_DEBUG 4 |
Definition at line 380 of file internal.h.
#define FSCACHE_POINT_ENTER 1 |
Definition at line 378 of file internal.h.
#define FSCACHE_POINT_LEAVE 2 |
Definition at line 379 of file internal.h.
#define fscache_proc_cleanup | ( | void | ) | do {} while (0) |
Definition at line 137 of file internal.h.
#define fscache_proc_init | ( | void | ) | (0) |
Definition at line 136 of file internal.h.
#define fscache_stat | ( | stat | ) | do {} while (0) |
Definition at line 269 of file internal.h.
#define fscache_stat_d | ( | stat | ) | do {} while (0) |
Definition at line 270 of file internal.h.
#define kdebug | ( | FMT, | |
... | |||
) | dbgprintk(FMT, ##__VA_ARGS__) |
Definition at line 326 of file internal.h.
#define kenter | ( | FMT, | |
... | |||
) | dbgprintk("==> %s("FMT")", __func__, ##__VA_ARGS__) |
Definition at line 324 of file internal.h.
#define kjournal | ( | FMT, | |
... | |||
) | no_printk(FMT, ##__VA_ARGS__) |
Definition at line 328 of file internal.h.
#define kleave | ( | FMT, | |
... | |||
) | dbgprintk("<== %s()"FMT"", __func__, ##__VA_ARGS__) |
Definition at line 325 of file internal.h.
void __fscache_cookie_put | ( | struct fscache_cookie * | ) |
DECLARE_PER_CPU | ( | wait_queue_head_t | , |
fscache_object_cong_wait | |||
) |
void fscache_abort_object | ( | struct fscache_object * | ) |
Definition at line 245 of file operation.c.
int fscache_cancel_op | ( | struct fscache_operation * | ) |
Definition at line 286 of file operation.c.
void fscache_enqueue_object | ( | struct fscache_object * | ) |
void fscache_operation_gc | ( | struct work_struct * | ) |
Definition at line 387 of file operation.c.
|
read |
void fscache_start_operations | ( | struct fscache_object * | ) |
Definition at line 256 of file operation.c.
int fscache_submit_exclusive_op | ( | struct fscache_object * | , |
struct fscache_operation * | |||
) |
Definition at line 80 of file operation.c.
int fscache_submit_op | ( | struct fscache_object * | , |
struct fscache_operation * | |||
) |
Definition at line 180 of file operation.c.
void fscache_withdrawing_object | ( | struct fscache_cache * | , |
struct fscache_object * | |||
) |
struct rw_semaphore fscache_addremove_sem |
struct kmem_cache* fscache_cookie_jar |
struct fscache_cookie fscache_fsdef_index |
struct fscache_cookie_def fscache_fsdef_netfs_def |
struct workqueue_struct* fscache_object_wq |
struct workqueue_struct* fscache_op_wq |