• Home
  • Raw
  • Download

Lines Matching refs:i

39 	long i;  in print_max_stack()  local
46 for (i = 0; i < stack_trace_nr_entries; i++) { in print_max_stack()
47 if (i + 1 == stack_trace_nr_entries) in print_max_stack()
48 size = stack_trace_index[i]; in print_max_stack()
50 size = stack_trace_index[i] - stack_trace_index[i+1]; in print_max_stack()
52 pr_emerg("%3ld) %8d %5d %pS\n", i, stack_trace_index[i], in print_max_stack()
53 size, (void *)stack_dump_trace[i]); in print_max_stack()
160 int i, x; in check_stack() local
196 for (i = 0; i < stack_trace_nr_entries; i++) { in check_stack()
197 if (stack_dump_trace[i] == ip) in check_stack()
205 if (i == stack_trace_nr_entries) in check_stack()
206 i = 0; in check_stack()
223 while (i < stack_trace_nr_entries) { in check_stack()
229 for (; p < top && i < stack_trace_nr_entries; p++) { in check_stack()
234 if ((READ_ONCE_NOCHECK(*p)) == stack_dump_trace[i]) { in check_stack()
235 stack_dump_trace[x] = stack_dump_trace[i++]; in check_stack()
257 i++; in check_stack()
417 static void trace_lookup_stack(struct seq_file *m, long i) in trace_lookup_stack() argument
419 unsigned long addr = stack_dump_trace[i]; in trace_lookup_stack()
437 long i; in t_show() local
452 i = *(long *)v; in t_show()
454 if (i >= stack_trace_nr_entries) in t_show()
457 if (i + 1 == stack_trace_nr_entries) in t_show()
458 size = stack_trace_index[i]; in t_show()
460 size = stack_trace_index[i] - stack_trace_index[i+1]; in t_show()
462 seq_printf(m, "%3ld) %8d %5d ", i, stack_trace_index[i], size); in t_show()
464 trace_lookup_stack(m, i); in t_show()