#include <linux/fs.h>
#include <linux/namei.h>
#include "internal.h"
static bool __cachefiles_mark_inode_in_use(struct cachefiles_object *object,
struct inode *inode)
{ … }
static bool cachefiles_mark_inode_in_use(struct cachefiles_object *object,
struct inode *inode)
{ … }
static void __cachefiles_unmark_inode_in_use(struct cachefiles_object *object,
struct inode *inode)
{ … }
static void cachefiles_do_unmark_inode_in_use(struct cachefiles_object *object,
struct inode *inode)
{ … }
void cachefiles_unmark_inode_in_use(struct cachefiles_object *object,
struct file *file)
{ … }
struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache,
struct dentry *dir,
const char *dirname,
bool *_is_new)
{ … }
void cachefiles_put_directory(struct dentry *dir)
{ … }
static int cachefiles_unlink(struct cachefiles_cache *cache,
struct cachefiles_object *object,
struct dentry *dir, struct dentry *dentry,
enum fscache_why_object_killed why)
{ … }
int cachefiles_bury_object(struct cachefiles_cache *cache,
struct cachefiles_object *object,
struct dentry *dir,
struct dentry *rep,
enum fscache_why_object_killed why)
{ … }
int cachefiles_delete_object(struct cachefiles_object *object,
enum fscache_why_object_killed why)
{ … }
struct file *cachefiles_create_tmpfile(struct cachefiles_object *object)
{ … }
static bool cachefiles_create_file(struct cachefiles_object *object)
{ … }
static bool cachefiles_open_file(struct cachefiles_object *object,
struct dentry *dentry)
{ … }
bool cachefiles_look_up_object(struct cachefiles_object *object)
{ … }
bool cachefiles_commit_tmpfile(struct cachefiles_cache *cache,
struct cachefiles_object *object)
{ … }
static struct dentry *cachefiles_lookup_for_cull(struct cachefiles_cache *cache,
struct dentry *dir,
char *filename)
{ … }
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)
{ … }