Lines Matching defs:cache
113 dimm_sid_cache_t *cache;
119 cache = (dimm_sid_cache_t *)kmem_zalloc(sizeof (dimm_sid_cache_t) *
125 cache[i].mcid = plat_make_fru_cpuid(bd, 0, p);
128 return (cache);
132 plat_populate_sid_cache_one(dimm_sid_cache_t *cache, int bd)
150 * Each entry in the cache represents one mc.
156 if (cache[index].state != MC_DIMM_SIDS_REQUESTED)
162 dimmsidsp = cache[index].sids;
177 cache[index].state = MC_DIMM_SIDS_AVAILABLE;
182 plat_populate_sid_cache(dimm_sid_cache_t *cache, int max_entries)
193 if (cache[i].state == MC_DIMM_SIDS_REQUESTED) {
245 plat_populate_sid_cache_one(cache, bd);