#include <linux/module.h>
#include <linux/slab.h>
#include "internal.h"
Go to the source code of this file.
#define FSCACHE_DEBUG_LEVEL CACHE |
fscache_add_cache - Declare a cache as being open for business : The record describing the cache : The record of the cache object describing the top-level index : The tag describing this cache
Add a cache to the system, making it available for netfs's to use.
See Documentation/filesystems/caching/backend-api.txt for a complete description.
Definition at line 217 of file cache.c.
fscache_init_cache - Initialise a cache record : The cache record to be initialised : The cache operations to be installed in that record : Format string to define identifier ..: sprintf-style arguments
Initialise a record of a cache and fill in the name.
See Documentation/filesystems/caching/backend-api.txt for a complete description.
Definition at line 182 of file cache.c.
fscache_io_error - Note a cache I/O error : The record describing the cache
Note that an I/O error occurred in a cache and that it should no longer be used for anything. This also reports the error into the kernel log.
See Documentation/filesystems/caching/backend-api.txt for a complete description.
Definition at line 315 of file cache.c.
fscache_withdraw_cache - Withdraw a cache from the active service : The record describing the cache
Withdraw a cache from service, unbinding all its cache objects from the netfs cookies they're currently representing.
See Documentation/filesystems/caching/backend-api.txt for a complete description.
Definition at line 364 of file cache.c.