coda_cache
struct coda_cache *coda_nc_heap; /* pointer to the cache entries */
static struct coda_cache *
coda_nc_remove(struct coda_cache *cncp, enum dc_status dcstat);
#define TOTAL_CACHE_SIZE (sizeof(struct coda_cache) * coda_nc_size)
CODA_ALLOC(coda_nc_heap, struct coda_cache *, TOTAL_CACHE_SIZE);
static struct coda_cache *
struct coda_cache *cncp;
return((struct coda_cache *)0);
struct coda_cache *cncp;
if (cncp != (struct coda_cache *) 0) {
struct coda_cache *cncp;
if (cncp == (struct coda_cache *) 0) {
coda_nc_remove(struct coda_cache *cncp, enum dc_status dcstat)
struct coda_cache *cncp, *ncncp;
struct coda_cache *cncp, *ncncp;
struct coda_cache *cncp;
struct coda_cache *cncp, *ncncp;
struct coda_cache *cncp;
struct coda_cache *cncp;
struct coda_cache *cncp;
TAILQ_HEAD(,coda_cache) head;
LIST_HEAD(,coda_cache) head;
#define DATA_SIZE (sizeof(struct coda_cache) - offsetof(struct coda_cache, cp))
LIST_ENTRY(coda_cache) hash; /* Hash list */
TAILQ_ENTRY(coda_cache) lru; /* LRU list */