| /linux/drivers/base/ |
| H A D | cacheinfo.c | 40 static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf, in cache_leaves_are_shared() 41 struct cacheinfo *sib_leaf) in cache_leaves_are_shared() 60 struct cacheinfo *llc; in last_level_cache_is_valid() 73 struct cacheinfo *llc_x, *llc_y; in last_level_cache_is_shared() 122 static void cache_size(struct cacheinfo *this_leaf, struct device_node *np) in cache_size() 134 static void cache_get_line_size(struct cacheinfo *this_leaf, in cache_get_line_size() 156 static void cache_nr_sets(struct cacheinfo *this_leaf, struct device_node *np) in cache_nr_sets() 167 static void cache_associativity(struct cacheinfo *this_leaf) in cache_associativity() 181 static bool cache_node_is_unified(struct cacheinfo *this_leaf, in cache_node_is_unified() 210 static void cache_of_set_id(struct cacheinfo *this_leaf, in cache_of_set_id() [all …]
|
| H A D | Makefile | 8 topology.o container.o property.o cacheinfo.o \
|
| /linux/arch/riscv/kernel/ |
| H A D | cacheinfo.c | 20 cache_get_priv_group(struct cacheinfo *this_leaf) in cache_get_priv_group() 27 static struct cacheinfo *get_cacheinfo(u32 level, enum cache_type type) in get_cacheinfo() 39 struct cacheinfo *this_leaf; in get_cacheinfo() 53 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_size() 60 struct cacheinfo *this_leaf = get_cacheinfo(level, type); in get_cache_geometry() 67 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() 82 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
|
| H A D | Makefile | 69 obj-y += cacheinfo.o
|
| /linux/include/linux/ |
| H A D | cacheinfo.h | 50 struct cacheinfo { struct 76 struct cacheinfo *info_list; argument 114 const struct attribute_group *cache_get_priv_group(struct cacheinfo *this_leaf); 121 static inline struct cacheinfo *get_cpu_cacheinfo_level(int cpu, int level) in get_cpu_cacheinfo_level() 145 struct cacheinfo *ci = get_cpu_cacheinfo_level(cpu, level); in get_cpu_cacheinfo_id()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | amd_cache_disable.c | 62 static ssize_t show_cache_disable(struct cacheinfo *ci, char *buf, unsigned int slot) in show_cache_disable() 79 struct cacheinfo *ci = dev_get_drvdata(dev); \ 148 static ssize_t store_cache_disable(struct cacheinfo *ci, const char *buf, in store_cache_disable() 179 struct cacheinfo *ci = dev_get_drvdata(dev); \ 189 struct cacheinfo *ci = dev_get_drvdata(dev); in subcaches_show() 199 struct cacheinfo *ci = dev_get_drvdata(dev); in subcaches_store() 223 struct cacheinfo *ci = dev_get_drvdata(dev); in cache_private_attrs_is_visible() 273 const struct attribute_group *cache_get_priv_group(struct cacheinfo *ci) in cache_get_priv_group()
|
| H A D | cacheinfo.c | 492 struct cacheinfo *ci; in __cache_amd_cpumap_setup() 552 struct cacheinfo *ci, *sibling_ci; in __cache_cpumap_setup() 584 static void ci_info_init(struct cacheinfo *ci, const struct _cpuid4_info *id4, in ci_info_init() 613 struct cacheinfo *ci = this_cpu_ci->info_list; in populate_cache_leaves()
|
| H A D | Makefile | 20 obj-y := cacheinfo.o scattered.o
|
| /linux/arch/s390/kernel/ |
| H A D | cache.c | 70 struct cacheinfo *cache; in show_cacheinfo() 103 static void ci_leaf_init(struct cacheinfo *this_leaf, int private, in ci_leaf_init() 150 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
|
| /linux/arch/arm64/kernel/ |
| H A D | cacheinfo.c | 34 static void ci_leaf_init(struct cacheinfo *this_leaf, in ci_leaf_init() 104 struct cacheinfo *infos = this_cpu_ci->info_list; in populate_cache_leaves()
|
| H A D | Makefile | 34 cpufeature.o alternative.o cacheinfo.o \
|
| /linux/arch/openrisc/kernel/ |
| H A D | cacheinfo.c | 17 static inline void ci_leaf_init(struct cacheinfo *this_leaf, enum cache_type type, in ci_leaf_init() 88 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
|
| H A D | Makefile | 10 sys_call_table.o unwinder.o cacheinfo.o
|
| /linux/arch/riscv/include/asm/ |
| H A D | cacheinfo.h | 12 const struct attribute_group * (*get_priv_group)(struct cacheinfo
|
| /linux/arch/mips/kernel/ |
| H A D | cacheinfo.c | 81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
|
| H A D | Makefile | 11 vdso.o cacheinfo.o
|
| /linux/arch/loongarch/kernel/ |
| H A D | Makefile | 10 obj-y += head.o cpu-probe.o cacheinfo.o env.o setup.o entry.o genex.o \
|
| /linux/arch/powerpc/kernel/ |
| H A D | Makefile | 70 signal.o sysfs.o cacheinfo.o time.o \
|
| /linux/fs/resctrl/ |
| H A D | pseudo_lock.c | 228 struct cacheinfo *ci; in pseudo_lock_region_init()
|
| H A D | rdtgroup.c | 1527 struct cacheinfo *ci; in rdtgroup_cbm_to_size()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | cpu_hotplug.rst | 561 142: base/cacheinfo:online
|
| /linux/drivers/cpufreq/ |
| H A D | intel_pstate.c | 955 struct cpu_cacheinfo *cacheinfo = get_cpu_cacheinfo(cpu); in hybrid_has_l3() local 958 if (!cacheinfo) in hybrid_has_l3() 961 for (i = 0; i < cacheinfo->num_leaves; i++) { in hybrid_has_l3() 962 if (cacheinfo->info_list[i].level == 3) in hybrid_has_l3()
|
| /linux/arch/x86/kernel/cpu/resctrl/ |
| H A D | core.c | 531 struct cacheinfo *ci; in l3_mon_domain_setup()
|
| /linux/Documentation/core-api/ |
| H A D | cpu_hotplug.rst | 638 142: base/cacheinfo:online
|