Lines Matching refs:d
120 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk() argument
128 tmp = (s64)d->cpu_run_real_total; in delayacct_add_tsk()
130 d->cpu_run_real_total = (tmp < (s64)d->cpu_run_real_total) ? 0 : tmp; in delayacct_add_tsk()
133 tmp = (s64)d->cpu_scaled_run_real_total; in delayacct_add_tsk()
135 d->cpu_scaled_run_real_total = in delayacct_add_tsk()
136 (tmp < (s64)d->cpu_scaled_run_real_total) ? 0 : tmp; in delayacct_add_tsk()
146 d->cpu_count += t1; in delayacct_add_tsk()
148 tmp = (s64)d->cpu_delay_total + t2; in delayacct_add_tsk()
149 d->cpu_delay_total = (tmp < (s64)d->cpu_delay_total) ? 0 : tmp; in delayacct_add_tsk()
151 tmp = (s64)d->cpu_run_virtual_total + t3; in delayacct_add_tsk()
152 d->cpu_run_virtual_total = in delayacct_add_tsk()
153 (tmp < (s64)d->cpu_run_virtual_total) ? 0 : tmp; in delayacct_add_tsk()
161 tmp = d->blkio_delay_total + tsk->delays->blkio_delay; in delayacct_add_tsk()
162 d->blkio_delay_total = (tmp < d->blkio_delay_total) ? 0 : tmp; in delayacct_add_tsk()
163 tmp = d->swapin_delay_total + tsk->delays->swapin_delay; in delayacct_add_tsk()
164 d->swapin_delay_total = (tmp < d->swapin_delay_total) ? 0 : tmp; in delayacct_add_tsk()
165 tmp = d->freepages_delay_total + tsk->delays->freepages_delay; in delayacct_add_tsk()
166 d->freepages_delay_total = (tmp < d->freepages_delay_total) ? 0 : tmp; in delayacct_add_tsk()
167 tmp = d->thrashing_delay_total + tsk->delays->thrashing_delay; in delayacct_add_tsk()
168 d->thrashing_delay_total = (tmp < d->thrashing_delay_total) ? 0 : tmp; in delayacct_add_tsk()
169 d->blkio_count += tsk->delays->blkio_count; in delayacct_add_tsk()
170 d->swapin_count += tsk->delays->swapin_count; in delayacct_add_tsk()
171 d->freepages_count += tsk->delays->freepages_count; in delayacct_add_tsk()
172 d->thrashing_count += tsk->delays->thrashing_count; in delayacct_add_tsk()
266 void _trace_android_vh_delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk, int *ret) in _trace_android_vh_delayacct_add_tsk() argument
268 trace_android_vh_delayacct_add_tsk(d, tsk, ret); in _trace_android_vh_delayacct_add_tsk()