Lines Matching refs:cache
210 struct cache { struct
211 HASHTABLE_DECLARE(cache, 1 << CACHE_HASH_BITS);
214 void cache_set(struct cache *cache, unsigned long key, int value);
215 int cache_get(struct cache *cache, unsigned long key);
216 void cache_init(struct cache *cache);
217 void cache_free(struct cache *cache);
219 static inline void cache_mark_expanded(struct cache *cache, void *addr) in cache_mark_expanded() argument
221 cache_set(cache, (unsigned long)addr, 1); in cache_mark_expanded()
224 static inline bool cache_was_expanded(struct cache *cache, void *addr) in cache_was_expanded() argument
226 return cache_get(cache, (unsigned long)addr) == 1; in cache_was_expanded()
253 struct cache expansion_cache;
259 typedef int (*die_callback_t)(struct state *state, struct die *cache,
264 int process_die_container(struct state *state, struct die *cache,