#include <linux/slab.h>
#include <linux/statfs.h>
#include <linux/namei.h>
#include <trace/events/fscache.h>
#include "internal.h"
int cachefiles_add_cache(struct cachefiles_cache *cache)
{ … }
int cachefiles_has_space(struct cachefiles_cache *cache,
unsigned fnr, unsigned bnr,
enum cachefiles_has_space_for reason)
{ … }
static void cachefiles_withdraw_objects(struct cachefiles_cache *cache)
{ … }
static void cachefiles_withdraw_fscache_volumes(struct cachefiles_cache *cache)
{ … }
static void cachefiles_withdraw_volumes(struct cachefiles_cache *cache)
{ … }
static void cachefiles_sync_cache(struct cachefiles_cache *cache)
{ … }
void cachefiles_withdraw_cache(struct cachefiles_cache *cache)
{ … }