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