Home
last modified time | relevance | path

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

/linux/drivers/base/
H A Dcacheinfo.c39 static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf, in cache_leaves_are_shared()
40 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
59 struct cacheinfo *llc; in last_level_cache_is_valid()
72 struct cacheinfo *llc_x, *llc_y; in last_level_cache_is_shared()
121 static void cache_size(struct cacheinfo *this_leaf, struct device_node *np) in cache_size()
133 static void cache_get_line_size(struct cacheinfo *this_leaf, in cache_get_line_size()
155 static void cache_nr_sets(struct cacheinfo *this_leaf, struct device_node *np) in cache_nr_sets()
166 static void cache_associativity(struct cacheinfo *this_leaf) in cache_associativity()
180 static bool cache_node_is_unified(struct cacheinfo *this_leaf, in cache_node_is_unified()
186 static void cache_of_set_props(struct cacheinfo *this_leaf, in cache_of_set_props()
[all …]
/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()
/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()
H A Dresctrl.h111 struct cacheinfo *ci;
/linux/arch/loongarch/kernel/
H A Dcacheinfo.c3 * LoongArch cacheinfo support
7 #include <linux/cacheinfo.h>
24 static inline bool cache_leaves_are_shared(struct cacheinfo *this_leaf, in cache_leaves_are_shared()
25 struct cacheinfo *sib_leaf) in cache_leaves_are_shared()
34 struct cacheinfo *this_leaf, *sib_leaf; in cache_cpumap_setup()
72 struct cacheinfo *this_leaf = this_cpu_ci->info_list; in populate_cache_leaves()
/linux/arch/x86/kernel/cpu/
H A Dcacheinfo.c362 static ssize_t show_cache_disable(struct cacheinfo *this_leaf, char *buf, in show_cache_disable()
380 struct cacheinfo *this_leaf = dev_get_drvdata(dev); \
448 static ssize_t store_cache_disable(struct cacheinfo *this_leaf, in store_cache_disable()
480 struct cacheinfo *this_leaf = dev_get_drvdata(dev); \
489 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in subcaches_show()
499 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in subcaches_store()
524 struct cacheinfo *this_leaf = dev_get_drvdata(dev); in cache_private_attrs_is_visible()
575 cache_get_priv_group(struct cacheinfo *this_leaf) in cache_get_priv_group()
886 struct cacheinfo *this_leaf; in __cache_amd_cpumap_setup()
943 struct cacheinfo *this_leaf, *sibling_leaf; in __cache_cpumap_setup()
[all …]
/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()
/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/drivers/acpi/
H A Dpptt.c357 static void update_cache_properties(struct cacheinfo *this_leaf, in update_cache_properties()
426 struct cacheinfo *this_leaf; in cache_setup_acpi_cpu()
/linux/drivers/cache/
H A Dsifive_ccache.c194 static const struct attribute_group *ccache_get_priv_group(struct cacheinfo in ccache_get_priv_group()
/linux/arch/powerpc/kernel/
H A DMakefile70 signal.o sysfs.o cacheinfo.o time.o \
/linux/Documentation/translations/zh_CN/core-api/
H A Dcpu_hotplug.rst561 142: base/cacheinfo:online
/linux/Documentation/core-api/
H A Dcpu_hotplug.rst638 142: base/cacheinfo:online