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 atomic_t f_released; /* number of objects released lately */
71 atomic_long_t b_released; /* number of blocks released lately */
72 unsigned frun_percent; /* when to stop culling (% files) */
73 unsigned fcull_percent; /* when to start culling (% files) */
74 unsigned fstop_percent; /* when to stop allocating (% files) */
75 unsigned brun_percent; /* when to stop culling (% blocks) */
76 unsigned bcull_percent; /* when to start culling (% blocks) */
77 unsigned bstop_percent; /* when to stop allocating (% blocks) */
78 unsigned bsize; /* cache's block size */
79 unsigned bshift; /* min(ilog2(PAGE_SIZE / bsize), 0) */
80 uint64_t frun; /* when to stop culling */
81 uint64_t fcull; /* when to start culling */
82 uint64_t fstop; /* when to stop allocating */
83 sector_t brun; /* when to stop culling */
84 sector_t bcull; /* when to start culling */
85 sector_t bstop; /* when to stop allocating */
86 unsigned long flags;
91 char *rootdirname; /* name of cache root directory */
92 char *secctx; /* LSM security context */
93 char *tag; /* cache binding tag */