Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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)
96 extern u64 kcpustat_field(struct kernel_cpustat *kcpustat,
98 extern void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu);
100 static inline u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field()
106 static inline void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch()
120 extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu);
/openbmc/linux/fs/proc/
H A Dstat.c25 u64 get_idle_time(struct kernel_cpustat *kcs, int cpu) in get_idle_time()
41 static u64 get_iowait_time(struct kernel_cpustat *kcs, int cpu) in get_iowait_time()
100 struct kernel_cpustat kcpustat; in show_stat()
140 struct kernel_cpustat kcpustat; in show_stat()
H A Duptime.c22 struct kernel_cpustat kcs; in uptime_proc_show()
/openbmc/linux/kernel/sched/
H A Dcpuacct.c28 struct kernel_cpustat __percpu *cpustat;
49 .cpustat = &kernel_cpustat,
70 ca->cpustat = alloc_percpu(struct kernel_cpustat); in cpuacct_css_alloc()
H A Dcputime.c111 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
986 u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field()
1020 static int kcpustat_cpu_fetch_vtime(struct kernel_cpustat *dst, in kcpustat_cpu_fetch_vtime()
1021 const struct kernel_cpustat *src, in kcpustat_cpu_fetch_vtime()
1073 void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch()
1075 const struct kernel_cpustat *src = &kcpustat_cpu(cpu); in kcpustat_cpu_fetch()
H A Dcore.c5517 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat);
5520 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-activity.c61 struct kernel_cpustat kcpustat; in led_activity_function()
/openbmc/linux/kernel/cgroup/
H A Drstat.c454 struct kernel_cpustat kcpustat; in root_cgroup_cputime()
/openbmc/linux/drivers/macintosh/
H A Drack-meter.c83 struct kernel_cpustat *kcpustat = &kcpustat_cpu(cpu); in get_cpu_idle_time()
/openbmc/linux/kernel/rcu/
H A Dtree_stall.h441 struct kernel_cpustat *kcsp = &kcpustat_cpu(cpu); in print_cpu_stat_info()
H A Dtree.c884 struct kernel_cpustat *kcsp; in rcu_implicit_dynticks_qs()
/openbmc/linux/drivers/cpufreq/
H A Dcpufreq.c131 struct kernel_cpustat kcpustat; in get_cpu_idle_time_jiffy()