Lines Matching refs:val
192 u64 val) in cpuusage_write() argument
200 if (val) in cpuusage_write()
263 s64 val[CPUACCT_STAT_NSTATS]; in cpuacct_stats_show() local
267 memset(val, 0, sizeof(val)); in cpuacct_stats_show()
271 val[CPUACCT_STAT_USER] += cpustat[CPUTIME_USER]; in cpuacct_stats_show()
272 val[CPUACCT_STAT_USER] += cpustat[CPUTIME_NICE]; in cpuacct_stats_show()
273 val[CPUACCT_STAT_SYSTEM] += cpustat[CPUTIME_SYSTEM]; in cpuacct_stats_show()
274 val[CPUACCT_STAT_SYSTEM] += cpustat[CPUTIME_IRQ]; in cpuacct_stats_show()
275 val[CPUACCT_STAT_SYSTEM] += cpustat[CPUTIME_SOFTIRQ]; in cpuacct_stats_show()
281 (long long)nsec_to_clock_t(val[stat])); in cpuacct_stats_show()
345 void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field() argument
351 __this_cpu_add(ca->cpustat->cpustat[index], val); in cpuacct_account_field()