Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dkernel_stat.h34 struct kernel_cpustat { struct
44 DECLARE_PER_CPU(struct kernel_cpustat, kernel_cpustat); argument
48 #define kcpustat_this_cpu this_cpu_ptr(&kernel_cpustat)
50 #define kcpustat_cpu(cpu) per_cpu(kernel_cpustat, cpu)
/Linux-v4.19/kernel/sched/
Dcpuacct.c32 struct kernel_cpustat __percpu *cpustat;
53 .cpustat = &kernel_cpustat,
74 ca->cpustat = alloc_percpu(struct kernel_cpustat); in cpuacct_css_alloc()
Dcputime.c106 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); in task_group_account_field()
Dcore.c2968 DEFINE_PER_CPU(struct kernel_cpustat, kernel_cpustat);
2971 EXPORT_PER_CPU_SYMBOL(kernel_cpustat);