Searched refs:kernel_cpustat (Results 1 – 13 of 13) sorted by relevance
/linux/include/linux/ |
H A D | kernel_stat.h | 36 struct kernel_cpustat { struct 46 DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); argument 50 #define kcpustat_this_cpu this_cpu_ptr(&kernel_cpustat) 52 #define kcpustat_cpu(cpu) per_cpu(kernel_cpustat, cpu) 103 extern u64 kcpustat_field(struct kernel_cpustat *kcpustat, 105 extern void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu); 107 static inline u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field() 113 static inline void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch() 127 extern u64 get_idle_time(struct kernel_cpustat *kcs, int cpu);
|
/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()
|
/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() 973 u64 kcpustat_field(struct kernel_cpustat *kcpustat, in kcpustat_field() 1007 static int kcpustat_cpu_fetch_vtime(struct kernel_cpustat *dst, in kcpustat_cpu_fetch_vtime() 1008 const struct kernel_cpustat *src, in kcpustat_cpu_fetch_vtime() 1060 void kcpustat_cpu_fetch(struct kernel_cpustat *dst, int cpu) in kcpustat_cpu_fetch() 1062 const struct kernel_cpustat *src = &kcpustat_cpu(cpu); in kcpustat_cpu_fetch()
|
H A D | core.c | 5465 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat); 5468 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
|
/linux/drivers/leds/trigger/ |
H A D | ledtrig-activity.c | 61 struct kernel_cpustat kcpustat; in led_activity_function()
|
/linux/drivers/macintosh/ |
H A D | rack-meter.c | 83 struct kernel_cpustat *kcpustat = &kcpustat_cpu(cpu); in get_cpu_idle_time()
|
/linux/kernel/cgroup/ |
H A D | rstat.c | 571 struct kernel_cpustat kcpustat; in root_cgroup_cputime()
|
/linux/kernel/ |
H A D | watchdog.c | 388 struct kernel_cpustat kcpustat; in update_cpustat()
|
/linux/kernel/rcu/ |
H A D | tree_stall.h | 446 struct kernel_cpustat *kcsp = &kcpustat_cpu(cpu); in print_cpu_stat_info()
|
H A D | tree.c | 932 struct kernel_cpustat *kcsp; in rcu_watching_snap_recheck()
|
/linux/drivers/cpufreq/ |
H A D | cpufreq.c | 131 struct kernel_cpustat kcpustat; in get_cpu_idle_time_jiffy()
|