Home
last modified time | relevance | path

Searched refs:cache_map (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/arch/x86/kernel/cpu/mtrr/
Dgeneric.c36 struct cache_map { struct
79 static struct cache_map init_cache_map[CACHE_MAP_MAX] __initdata;
80 static struct cache_map *cache_map __refdata = init_cache_map;
165 memmove(cache_map + idx, cache_map + idx + 1, in rm_map_entry_at()
166 sizeof(*cache_map) * (cache_map_n - idx)); in rm_map_entry_at()
188 struct cache_map *prev = cache_map + idx - 1; in add_map_entry_at()
195 struct cache_map *next = cache_map + idx; in add_map_entry_at()
202 cache_map[idx - 1].end = cache_map[idx].end; in add_map_entry_at()
207 cache_map[idx - 1].end = end; in add_map_entry_at()
211 cache_map[idx].start = start; in add_map_entry_at()
[all …]
/linux-6.6.21/drivers/perf/
Darm_pmu.c121 armpmu_map_cache_event(const unsigned (*cache_map) in armpmu_map_cache_event()
141 if (!cache_map) in armpmu_map_cache_event()
144 ret = (int)(*cache_map)[cache_type][cache_op][cache_result]; in armpmu_map_cache_event()
176 const unsigned (*cache_map) in armpmu_map_event()
192 return armpmu_map_cache_event(cache_map, config); in armpmu_map_event()
/linux-6.6.21/arch/sparc/kernel/
Dperf_event.c159 const cache_map_t *cache_map; member
323 .cache_map = &ultra3_cache_map,
461 .cache_map = &niagara1_cache_map,
596 .cache_map = &niagara2_cache_map,
753 .cache_map = &niagara4_cache_map,
783 .cache_map = &niagara4_cache_map,
1201 if (!sparc_pmu->cache_map) in sparc_map_cache_event()
1216 pmap = &((*sparc_pmu->cache_map)[cache_type][cache_op][cache_result]); in sparc_map_cache_event()
/linux-6.6.21/include/linux/perf/
Darm_pmu.h132 const unsigned (*cache_map)[PERF_COUNT_HW_CACHE_MAX]
/linux-6.6.21/drivers/md/
Ddm-cache-target.c2631 static int cache_map(struct dm_target *ti, struct bio *bio) in cache_map() function
3441 .map = cache_map,