Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/key.h>
#include <keys/user-type.h>
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | fscache_objlist_data |
Macros | |
#define | FSCACHE_DEBUG_LEVEL COOKIE |
#define | FSCACHE_OBJLIST_CONFIG_KEY 0x00000001 /* show object keys */ |
#define | FSCACHE_OBJLIST_CONFIG_AUX 0x00000002 /* show object auxdata */ |
#define | FSCACHE_OBJLIST_CONFIG_COOKIE 0x00000004 /* show objects with cookies */ |
#define | FSCACHE_OBJLIST_CONFIG_NOCOOKIE 0x00000008 /* show objects without cookies */ |
#define | FSCACHE_OBJLIST_CONFIG_BUSY 0x00000010 /* show busy objects */ |
#define | FSCACHE_OBJLIST_CONFIG_IDLE 0x00000020 /* show idle objects */ |
#define | FSCACHE_OBJLIST_CONFIG_PENDWR 0x00000040 /* show objects with pending writes */ |
#define | FSCACHE_OBJLIST_CONFIG_NOPENDWR 0x00000080 /* show objects without pending writes */ |
#define | FSCACHE_OBJLIST_CONFIG_READS 0x00000100 /* show objects with active reads */ |
#define | FSCACHE_OBJLIST_CONFIG_NOREADS 0x00000200 /* show objects without active reads */ |
#define | FSCACHE_OBJLIST_CONFIG_EVENTS 0x00000400 /* show objects with events */ |
#define | FSCACHE_OBJLIST_CONFIG_NOEVENTS 0x00000800 /* show objects without no events */ |
#define | FSCACHE_OBJLIST_CONFIG_WORK 0x00001000 /* show objects with work */ |
#define | FSCACHE_OBJLIST_CONFIG_NOWORK 0x00002000 /* show objects without work */ |
#define | FILTER(criterion, _yes, _no) |
Functions | |
void | fscache_objlist_add (struct fscache_object *obj) |
void | fscache_object_destroy (struct fscache_object *obj) |
EXPORT_SYMBOL (fscache_object_destroy) | |
Variables | |
struct file_operations | fscache_objlist_fops |
#define FILTER | ( | criterion, | |
_yes, | |||
_no | |||
) |
#define FSCACHE_DEBUG_LEVEL COOKIE |
Definition at line 12 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_AUX 0x00000002 /* show object auxdata */ |
Definition at line 26 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_BUSY 0x00000010 /* show busy objects */ |
Definition at line 29 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_COOKIE 0x00000004 /* show objects with cookies */ |
Definition at line 27 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_EVENTS 0x00000400 /* show objects with events */ |
Definition at line 35 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_IDLE 0x00000020 /* show idle objects */ |
Definition at line 30 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_KEY 0x00000001 /* show object keys */ |
Definition at line 25 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_NOCOOKIE 0x00000008 /* show objects without cookies */ |
Definition at line 28 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_NOEVENTS 0x00000800 /* show objects without no events */ |
Definition at line 36 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_NOPENDWR 0x00000080 /* show objects without pending writes */ |
Definition at line 32 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_NOREADS 0x00000200 /* show objects without active reads */ |
Definition at line 34 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_NOWORK 0x00002000 /* show objects without work */ |
Definition at line 38 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_PENDWR 0x00000040 /* show objects with pending writes */ |
Definition at line 31 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_READS 0x00000100 /* show objects with active reads */ |
Definition at line 33 of file object-list.c.
#define FSCACHE_OBJLIST_CONFIG_WORK 0x00001000 /* show objects with work */ |
Definition at line 37 of file object-list.c.
EXPORT_SYMBOL | ( | fscache_object_destroy | ) |
void fscache_object_destroy | ( | struct fscache_object * | obj | ) |
fscache_object_destroy - Note that a cache object is about to be destroyed : The object to be destroyed
Note the imminent destruction and deallocation of a cache object record.
Definition at line 79 of file object-list.c.
void fscache_objlist_add | ( | struct fscache_object * | obj | ) |
Definition at line 48 of file object-list.c.
struct file_operations fscache_objlist_fops |
Definition at line 426 of file object-list.c.