Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dkernel_stat.h36 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 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()
/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()
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 Dcore.c5465 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat);
5468 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
/linux/drivers/leds/trigger/
H A Dledtrig-activity.c61 struct kernel_cpustat kcpustat; in led_activity_function()
/linux/drivers/macintosh/
H A Drack-meter.c83 struct kernel_cpustat *kcpustat = &kcpustat_cpu(cpu); in get_cpu_idle_time()
/linux/kernel/cgroup/
H A Drstat.c571 struct kernel_cpustat kcpustat; in root_cgroup_cputime()
/linux/kernel/
H A Dwatchdog.c388 struct kernel_cpustat kcpustat; in update_cpustat()
/linux/kernel/rcu/
H A Dtree_stall.h446 struct kernel_cpustat *kcsp = &kcpustat_cpu(cpu); in print_cpu_stat_info()
H A Dtree.c932 struct kernel_cpustat *kcsp; in rcu_watching_snap_recheck()
/linux/drivers/cpufreq/
H A Dcpufreq.c131 struct kernel_cpustat kcpustat; in get_cpu_idle_time_jiffy()