Home
last modified time | relevance | path

Searched refs:cacheinfo (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/base/
H A Dcacheinfo.c40 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 DMakefile8 topology.o container.o property.o cacheinfo.o \
/linux/arch/riscv/kernel/
H A Dcacheinfo.c20 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 DMakefile69 obj-y += cacheinfo.o
/linux/include/linux/
H A Dcacheinfo.h50 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 Damd_cache_disable.c62 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 Dcacheinfo.c492 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 DMakefile20 obj-y := cacheinfo.o scattered.o
/linux/arch/s390/kernel/
H A Dcache.c70 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 Dcacheinfo.c34 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 DMakefile34 cpufeature.o alternative.o cacheinfo.o \
/linux/arch/openrisc/kernel/
H A Dcacheinfo.c17 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 DMakefile10 sys_call_table.o unwinder.o cacheinfo.o
/linux/arch/riscv/include/asm/
H A Dcacheinfo.h12 const struct attribute_group * (*get_priv_group)(struct cacheinfo
/linux/arch/mips/kernel/
H A Dcacheinfo.c81 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
H A DMakefile11 vdso.o cacheinfo.o
/linux/arch/loongarch/kernel/
H A DMakefile10 obj-y += head.o cpu-probe.o cacheinfo.o env.o setup.o entry.o genex.o \
/linux/arch/powerpc/kernel/
H A DMakefile70 signal.o sysfs.o cacheinfo.o time.o \
/linux/fs/resctrl/
H A Dpseudo_lock.c228 struct cacheinfo *ci; in pseudo_lock_region_init()
H A Drdtgroup.c1527 struct cacheinfo *ci; in rdtgroup_cbm_to_size()
/linux/Documentation/translations/zh_CN/core-api/
H A Dcpu_hotplug.rst561 142: base/cacheinfo:online
/linux/drivers/cpufreq/
H A Dintel_pstate.c955 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 Dcore.c531 struct cacheinfo *ci; in l3_mon_domain_setup()
/linux/Documentation/core-api/
H A Dcpu_hotplug.rst638 142: base/cacheinfo:online