Lines Matching defs:cachefiles_cache

88 struct cachefiles_cache {  struct
89 struct fscache_cache *cache; /* Cache cookie */
90 struct vfsmount *mnt; /* mountpoint holding the cache */
91 struct dentry *store; /* Directory into which live objects go */
92 struct dentry *graveyard; /* directory into which dead objects go */
93 struct file *cachefilesd; /* manager daemon handle */
94 struct list_head volumes; /* List of volume objects */
95 struct list_head object_list; /* List of active objects */
96 spinlock_t object_list_lock; /* Lock for volumes and object_list */
97 const struct cred *cache_cred; /* security override for accessing cache */
98 struct mutex daemon_mutex; /* command serialisation mutex */
99 wait_queue_head_t daemon_pollwq; /* poll waitqueue for daemon */
100 atomic_t gravecounter; /* graveyard uniquifier */
101 atomic_t f_released; /* number of objects released lately */
102 atomic_long_t b_released; /* number of blocks released lately */
103 atomic_long_t b_writing; /* Number of blocks being written */
104 unsigned frun_percent; /* when to stop culling (% files) */
105 unsigned fcull_percent; /* when to start culling (% files) */
106 unsigned fstop_percent; /* when to stop allocating (% files) */
107 unsigned brun_percent; /* when to stop culling (% blocks) */
108 unsigned bcull_percent; /* when to start culling (% blocks) */
109 unsigned bstop_percent; /* when to stop allocating (% blocks) */
110 unsigned bsize; /* cache's block size */
111 unsigned bshift; /* ilog2(bsize) */
112 uint64_t frun; /* when to stop culling */
136 static inline bool cachefiles_in_ondemand_mode(struct cachefiles_cache *cache) in cachefiles_in_ondemand_mode() argument