|
#define | CACHEFILES_DEBUG_KENTER 1 |
|
#define | CACHEFILES_DEBUG_KLEAVE 2 |
|
#define | CACHEFILES_DEBUG_KDEBUG 4 |
|
#define | CACHEFILES_OBJECT_ACTIVE 0 /* T if marked active */ |
|
#define | CACHEFILES_OBJECT_BURIED 1 /* T if preemptively buried */ |
|
#define | CACHEFILES_READY 0 /* T if cache prepared */ |
|
#define | CACHEFILES_DEAD 1 /* T if cache dead */ |
|
#define | CACHEFILES_CULLING 2 /* T if cull engaged */ |
|
#define | CACHEFILES_STATE_CHANGED 3 /* T if state changed (poll trigger) */ |
|
#define | cachefiles_proc_init() (0) |
|
#define | cachefiles_proc_cleanup() do {} while (0) |
|
#define | cachefiles_hist(hist, start_jif) do {} while (0) |
|
#define | kerror(FMT,...) printk(KERN_ERR "CacheFiles: "FMT"\n", ##__VA_ARGS__) |
|
#define | cachefiles_io_error(___cache, FMT,...) |
|
#define | cachefiles_io_error_obj(object, FMT,...) |
|
#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 | _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 | ASSERT(X) |
|
#define | ASSERTCMP(X, OP, Y) |
|
#define | ASSERTIF(C, X) |
|
#define | ASSERTIFCMP(C, X, OP, Y) |
|
|
int | cachefiles_daemon_bind (struct cachefiles_cache *cache, char *args) |
|
void | cachefiles_daemon_unbind (struct cachefiles_cache *cache) |
|
int | cachefiles_has_space (struct cachefiles_cache *cache, unsigned fnr, unsigned bnr) |
|
char * | cachefiles_cook_key (const u8 *raw, int keylen, uint8_t type) |
|
int | cachefiles_delete_object (struct cachefiles_cache *cache, struct cachefiles_object *object) |
|
int | cachefiles_walk_to_object (struct cachefiles_object *parent, struct cachefiles_object *object, const char *key, struct cachefiles_xattr *auxdata) |
|
struct dentry * | cachefiles_get_directory (struct cachefiles_cache *cache, struct dentry *dir, const char *name) |
|
int | cachefiles_cull (struct cachefiles_cache *cache, struct dentry *dir, char *filename) |
|
int | cachefiles_check_in_use (struct cachefiles_cache *cache, struct dentry *dir, char *filename) |
|
int | cachefiles_read_or_alloc_page (struct fscache_retrieval *, struct page *, gfp_t) |
|
int | cachefiles_read_or_alloc_pages (struct fscache_retrieval *, struct list_head *, unsigned *, gfp_t) |
|
int | cachefiles_allocate_page (struct fscache_retrieval *, struct page *, gfp_t) |
|
int | cachefiles_allocate_pages (struct fscache_retrieval *, struct list_head *, unsigned *, gfp_t) |
|
int | cachefiles_write_page (struct fscache_storage *, struct page *) |
|
void | cachefiles_uncache_page (struct fscache_object *, struct page *) |
|
int | cachefiles_get_security_ID (struct cachefiles_cache *cache) |
|
int | cachefiles_determine_cache_security (struct cachefiles_cache *cache, struct dentry *root, const struct cred **_saved_cred) |
|
int | cachefiles_check_object_type (struct cachefiles_object *object) |
|
int | cachefiles_set_object_xattr (struct cachefiles_object *object, struct cachefiles_xattr *auxdata) |
|
int | cachefiles_update_object_xattr (struct cachefiles_object *object, struct cachefiles_xattr *auxdata) |
|
int | cachefiles_check_object_xattr (struct cachefiles_object *object, struct cachefiles_xattr *auxdata) |
|
int | cachefiles_remove_object_xattr (struct cachefiles_cache *cache, struct dentry *dentry) |
|