Home
last modified time | relevance | path

Searched refs:cache_info (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/sun4u/io/
H A Dmem_cache.c520 get_tag_addr(cache_info_t *cache_info) in get_tag_addr() argument
524 switch (cache_info->cache) { in get_tag_addr()
527 tag_addr = (uint64_t)(cache_info->index << in get_tag_addr()
529 scratch = (uint64_t)(cache_info->way << in get_tag_addr()
536 tag_addr = (uint64_t)(cache_info->index << in get_tag_addr()
538 scratch = (uint64_t)(cache_info->way << in get_tag_addr()
554 mem_cache_ioctl_ops(int cmd, int mode, cache_info_t *cache_info) in mem_cache_ioctl_ops() argument
565 if (cache_info->way >= PN_CACHE_NWAYS) in mem_cache_ioctl_ops()
567 switch (cache_info->cache) { in mem_cache_ioctl_ops()
570 if (cache_info->index >= in mem_cache_ioctl_ops()
[all …]
/titanic_50/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_cache.c45 cache_info_t cache_info; in cma_cache_way_retire() local
124 cache_info.cpu_id = cpuid; in cma_cache_way_retire()
125 cache_info.way = way; in cma_cache_way_retire()
126 cache_info.bit = bit; in cma_cache_way_retire()
127 cache_info.index = index; in cma_cache_way_retire()
128 cache_info.cache = type == FM_FMRI_CPU_CACHE_TYPE_L3 ? in cma_cache_way_retire()
131 ret = ioctl(fd, MEM_CACHE_RETIRE, &cache_info); in cma_cache_way_retire()
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/
H A Dcmd_Lxcache.c708 cache_info_t cache_info; in get_tagdata() local
720 cache_info.cache = L2_CACHE_TAG; in get_tagdata()
724 cache_info.cache = L3_CACHE_TAG; in get_tagdata()
727 cache_info.cpu_id = cpu->cpu_cpuid; in get_tagdata()
728 cache_info.index = index; in get_tagdata()
729 cache_info.datap = tag_data; in get_tagdata()
730 cache_info.way = 0; in get_tagdata()
734 if (ioctl(fd, MEM_CACHE_READ_ERROR_INJECTED_TAGS, &cache_info) in get_tagdata()
744 if (ioctl(fd, MEM_CACHE_READ_TAGS, &cache_info) in get_tagdata()
780 cache_info_t cache_info; in cmd_cache_way_retire() local
[all …]
/titanic_50/usr/src/uts/sun4u/sys/
H A Dmem_cache.h82 typedef struct cache_info { struct