Home
last modified time | relevance | path

Searched refs:kernel_cpustat (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/include/linux/
Dkernel_stat.h37 struct kernel_cpustat { struct
47 DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); argument
51 #define kcpustat_this_cpu this_cpu_ptr(&kernel_cpustat)
53 #define kcpustat_cpu(cpu) per_cpu(kernel_cpustat, cpu)
84 extern u64 kcpustat_field(struct kernel_cpustat *kcpustat,
86 extern void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu);
88 static inline u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field()
94 static inline void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch()
108 extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu);
/linux-6.1.9/fs/proc/
Dstat.c27 u64 get_idle_time(struct kernel_cpustat *kcs, int cpu) in get_idle_time()
37 static u64 get_iowait_time(struct kernel_cpustat *kcs, int cpu) in get_iowait_time()
49 u64 get_idle_time(struct kernel_cpustat *kcs, int cpu) in get_idle_time()
65 static u64 get_iowait_time(struct kernel_cpustat *kcs, int cpu) in get_iowait_time()
126 struct kernel_cpustat kcpustat; in show_stat()
166 struct kernel_cpustat kcpustat; in show_stat()
Duptime.c22 struct kernel_cpustat kcs; in uptime_proc_show()
/linux-6.1.9/kernel/sched/
Dcpuacct.c28 struct kernel_cpustat __percpu *cpustat;
49 .cpustat = &kernel_cpustat,
70 ca->cpustat = alloc_percpu(struct kernel_cpustat); in cpuacct_css_alloc()
Dcputime.c107 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
976 u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field()
1010 static int kcpustat_cpu_fetch_vtime(struct kernel_cpustat *dst, in kcpustat_cpu_fetch_vtime()
1011 const struct kernel_cpustat *src, in kcpustat_cpu_fetch_vtime()
1063 void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch()
1065 const struct kernel_cpustat *src = &kcpustat_cpu(cpu); in kcpustat_cpu_fetch()
Dcore.c5373 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat);
5376 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
/linux-6.1.9/drivers/leds/trigger/
Dledtrig-activity.c61 struct kernel_cpustat kcpustat; in led_activity_function()
/linux-6.1.9/kernel/cgroup/
Drstat.c464 struct kernel_cpustat kcpustat; in root_cgroup_cputime()
/linux-6.1.9/drivers/macintosh/
Drack-meter.c83 struct kernel_cpustat *kcpustat = &kcpustat_cpu(cpu); in get_cpu_idle_time()
/linux-6.1.9/drivers/cpufreq/
Dcpufreq.c125 struct kernel_cpustat kcpustat; in get_cpu_idle_time_jiffy()