Searched refs:kernel_cpustat (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | kernel_stat.h | 37 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 D | stat.c | 25 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 D | uptime.c | 22 struct kernel_cpustat kcs; in uptime_proc_show()
|
/openbmc/linux/kernel/sched/ |
H A D | cpuacct.c | 28 struct kernel_cpustat __percpu *cpustat; 49 .cpustat = &kernel_cpustat, 70 ca->cpustat = alloc_percpu(struct kernel_cpustat); in cpuacct_css_alloc()
|
H A D | cputime.c | 111 __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 D | core.c | 5517 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat); 5520 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
|
/openbmc/linux/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 61 struct kernel_cpustat kcpustat; in led_activity_function()
|
/openbmc/linux/kernel/cgroup/ |
H A D | rstat.c | 454 struct kernel_cpustat kcpustat; in root_cgroup_cputime()
|
/openbmc/linux/drivers/macintosh/ |
H A D | rack-meter.c | 83 struct kernel_cpustat *kcpustat = &kcpustat_cpu(cpu); in get_cpu_idle_time()
|
/openbmc/linux/kernel/rcu/ |
H A D | tree_stall.h | 441 struct kernel_cpustat *kcsp = &kcpustat_cpu(cpu); in print_cpu_stat_info()
|
H A D | tree.c | 884 struct kernel_cpustat *kcsp; in rcu_implicit_dynticks_qs()
|
/openbmc/linux/drivers/cpufreq/ |
H A D | cpufreq.c | 131 struct kernel_cpustat kcpustat; in get_cpu_idle_time_jiffy()
|