head_t
reclaim_cache(head_t *chp, int dev)
set_cache(cache_t **ccp, head_t *chp, int noreclaim)
static head_t ic_head = cache_head(ic_head, cmp_icache, ic_t, ICACHE_SIZE);
static head_t dc_head = cache_head(dc_head, cmp_dcache, dc_t, DCACHE_SIZE);
static head_t bc_head = cache_head(bc_head, cmp_bcache, bc_t, BCACHE_SIZE);
static head_t *hdp[] = { &ic_head, &dc_head, &bc_head, 0};
head_t *hp = hdp[j];
get_cache(cache_t *cap, head_t *chp)