Lines Matching refs:time_in_state
51 p->time_in_state = NULL; in cpufreq_task_times_init()
63 temp = kcalloc(max_state, sizeof(p->time_in_state[0]), GFP_ATOMIC); in cpufreq_task_times_alloc()
68 p->time_in_state = temp; in cpufreq_task_times_alloc()
79 temp = krealloc(p->time_in_state, max_state * sizeof(u64), GFP_ATOMIC); in cpufreq_task_times_realloc_locked()
82 p->time_in_state = temp; in cpufreq_task_times_realloc_locked()
83 memset(p->time_in_state + p->max_state, 0, in cpufreq_task_times_realloc_locked()
94 if (!p->time_in_state) in cpufreq_task_times_exit()
98 temp = p->time_in_state; in cpufreq_task_times_exit()
99 p->time_in_state = NULL; in cpufreq_task_times_exit()
124 p->time_in_state) in proc_time_in_state_show()
125 cputime = p->time_in_state[freqs->offset + i]; in proc_time_in_state_show()
147 p->time_in_state) in cpufreq_acct_update_power()
148 p->time_in_state[state] += cputime; in cpufreq_acct_update_power()