Home
last modified time | relevance | path

Searched refs:coda_cache (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/coda/
H A Dcoda_namecache.c101 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 …]
H A Dcoda_namecache.h83 #define DATA_SIZE (sizeof(struct coda_cache) - offsetof(struct coda_cache, cp))
89 struct coda_cache { struct
90 LIST_ENTRY(coda_cache) hash; /* Hash list */
91 TAILQ_ENTRY(coda_cache) lru; /* LRU list */
100 TAILQ_HEAD(,coda_cache) head; argument
105 LIST_HEAD(,coda_cache) head;