Lines Matching defs:cache
3 * \brief VFS buffer cache.
48 static struct bcache_client *cache[MAX_CACHES];
162 /* printf("'%s' is in cache\n", fname); */
181 /* printf("'%s' not in cache\n", fname); */
234 /* printf("deleting '%s' in cache\n", fname); */
236 /* printf("deleting '%s' not in cache\n", fname); */
370 struct bcache_client *bcc = cache[0];
402 struct bcache_client *bcc = cache[0];
423 struct bcache_client *bcc = cache[0];
427 printf("cache[%d] stats\n", disp_get_core_id());
490 // Check if in cache -- start cache transaction
495 // Cache doesn't have this block -- read it into cache
581 // Check if in cache -- start cache transaction
596 // Write into cache
820 * \brief Initialize buffer cache.
827 if(cache[0] != NULL) {
870 // Map the cache's memory
890 cache[num_caches] = client;