Lines Matching refs:ra_show
22 } *ra_show;
33 ra_show = kzalloc(sizeof(struct reclaimacct_show), GFP_KERNEL);
34 if (!ra_show)
43 kfree(ra_show);
44 ra_show = NULL;
52 if (ra_show)
53 memset(ra_show, 0, sizeof(struct reclaimacct_show));
61 kfree(ra_show);
62 ra_show = NULL;
74 ra_show->delay[level][i] += ra->delay[i];
75 ra_show->count[level][i] += ra->count[i];
78 if (ra->delay[RA_RECLAIM] > ra_show->max_delay) {
79 ra_show->max_delay = ra->delay[RA_RECLAIM];
80 ra_show->max_delay_time = sched_clock();
92 if (!ra_show || !current->reclaim_acct)
115 if (!ra_show)
119 memcpy(&show, ra_show, sizeof(struct reclaimacct_show));