Searched refs:coda_cache (Results 1 – 2 of 2) sorted by relevance
101 struct coda_cache *coda_nc_heap; /* pointer to the cache entries */115 static struct coda_cache *119 coda_nc_remove(struct coda_cache *cncp, enum dc_status dcstat);125 #define TOTAL_CACHE_SIZE (sizeof(struct coda_cache) * coda_nc_size)142 CODA_ALLOC(coda_nc_heap, struct coda_cache *, TOTAL_CACHE_SIZE); in coda_nc_init()165 static struct coda_cache *173 struct coda_cache *cncp; in coda_nc_find()208 return((struct coda_cache *)0); in coda_nc_find()219 struct coda_cache *cncp; in coda_nc_enter()238 if (cncp != (struct coda_cache *) 0) { in coda_nc_enter()[all …]
83 #define DATA_SIZE (sizeof(struct coda_cache) - offsetof(struct coda_cache, cp))89 struct coda_cache { struct90 LIST_ENTRY(coda_cache) hash; /* Hash list */91 TAILQ_ENTRY(coda_cache) lru; /* LRU list */100 TAILQ_HEAD(,coda_cache) head; argument105 LIST_HEAD(,coda_cache) head;