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

/netbsd-current/sys/coda/
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;
105 LIST_HEAD(,coda_cache) head;
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);
165 static struct coda_cache *
173 struct coda_cache *cncp;
208 return((struct coda_cache *)0);
219 struct coda_cache *cncp;
238 if (cncp != (struct coda_cache *)
[all...]

Completed in 188 milliseconds