Lines Matching refs:i
21 int i; in stars() local
23 for (i = 0; i < (width * val / max) - 1 && i < width - 1; i++) in stars()
24 str[i] = '*'; in stars()
26 str[i - 1] = '+'; in stars()
27 str[i] = '\0'; in stars()
53 int i, ind; in print_hist_for_pid() local
62 for (i = 0; i < nr_cpus; i++) in print_hist_for_pid()
63 value += values[i]; in print_hist_for_pid()
75 for (i = 1; i <= max_ind + 1; i++) { in print_hist_for_pid()
76 stars(starstr, data[i - 1], max_value, MAX_STARS); in print_hist_for_pid()
78 (1l << i) >> 1, (1l << i) - 1, data[i - 1], in print_hist_for_pid()
88 int i; in print_hist() local
93 for (i = 0; i < task_cnt; i++) in print_hist()
94 if (memcmp(&tasks[i], &next_key, SIZE) == 0) in print_hist()
101 for (i = 0; i < task_cnt; i++) { in print_hist()
103 (__u32) tasks[i].pid_tgid, in print_hist()
104 tasks[i].comm, in print_hist()
105 (__u32) tasks[i].uid_gid); in print_hist()
106 print_hist_for_pid(fd, &tasks[i]); in print_hist()
124 int i, j = 0; in main() local
168 for (i = 0; i < 5; i++) { in main()