Lines Matching defs:cachefiles_cache
59 struct cachefiles_cache { struct
60 struct fscache_cache cache; /* FS-Cache record */
61 struct vfsmount *mnt; /* mountpoint holding the cache */
62 struct dentry *graveyard; /* directory into which dead objects go */
63 struct file *cachefilesd; /* manager daemon handle */
64 const struct cred *cache_cred; /* security override for accessing cache */
65 struct mutex daemon_mutex; /* command serialisation mutex */
66 wait_queue_head_t daemon_pollwq; /* poll waitqueue for daemon */
67 struct rb_root active_nodes; /* active nodes (can't be culled) */
68 rwlock_t active_lock; /* lock for active_nodes */
69 atomic_t gravecounter; /* graveyard uniquifier */
70 unsigned frun_percent; /* when to stop culling (% files) */
71 unsigned fcull_percent; /* when to start culling (% files) */
72 unsigned fstop_percent; /* when to stop allocating (% files) */
73 unsigned brun_percent; /* when to stop culling (% blocks) */
74 unsigned bcull_percent; /* when to start culling (% blocks) */
75 unsigned bstop_percent; /* when to stop allocating (% blocks) */
76 unsigned bsize; /* cache's block size */
77 unsigned bshift; /* min(ilog2(PAGE_SIZE / bsize), 0) */
78 uint64_t frun; /* when to stop culling */
79 uint64_t fcull; /* when to start culling */
80 uint64_t fstop; /* when to stop allocating */
81 sector_t brun; /* when to stop culling */
82 sector_t bcull; /* when to start culling */
83 sector_t bstop; /* when to stop allocating */
84 unsigned long flags;
89 char *rootdirname; /* name of cache root directory */
90 char *secctx; /* LSM security context */
91 char *tag; /* cache binding tag */