• Home
  • Raw
  • Download

Lines Matching refs:index

401 	unsigned long			index;  member
441 if ((void *)rec >= (void *)&pg->records[pg->index]) { in function_stat_next()
580 pg->index = 0; in ftrace_profile_reset()
743 if (stat->pages->index == PROFILES_PER_PAGE) { in ftrace_profile_alloc()
749 rec = &stat->pages->records[stat->pages->index++]; in ftrace_profile_alloc()
1102 int index; member
1518 for (_____i = 0; _____i < pg->index; _____i++) { \
1560 if (pg->index == 0 || in ftrace_location_range()
1562 start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE)) in ftrace_location_range()
1564 rec = bsearch(&key, pg->records, pg->index, in ftrace_location_range()
2454 int index; member
2476 iter->index = 0; in ftrace_rec_iter_start()
2479 while (iter->pg && !iter->pg->index) in ftrace_rec_iter_start()
2496 iter->index++; in ftrace_rec_iter_next()
2498 if (iter->index >= iter->pg->index) { in ftrace_rec_iter_next()
2500 iter->index = 0; in ftrace_rec_iter_next()
2503 while (iter->pg && !iter->pg->index) in ftrace_rec_iter_next()
2521 return &iter->pg->records[iter->index]; in ftrace_rec_iter_record()
2972 for (i = 0; i < pg->index; i++) { in ftrace_update_code()
3335 if (iter->idx >= iter->pg->index) { in t_func_next()
3789 long index = simple_strtoul(func_g->search, NULL, 0); in add_rec_by_index() local
3794 if (--index < 0) in add_rec_by_index()
3798 if (pg->index <= index) { in add_rec_by_index()
3799 index -= pg->index; in add_rec_by_index()
3803 rec = &pg->records[index]; in add_rec_by_index()
5699 end_offset = (pg->index+1) * sizeof(pg->records[0]); in ftrace_process_locs()
5707 rec = &pg->records[pg->index++]; in ftrace_process_locs()
5793 for (i = 0; i < pg->index; i++) { in clear_mod_from_hash()
5881 ftrace_update_tot_cnt -= pg->index; in ftrace_release_mod()
6223 start >= (pg->records[pg->index - 1].ip + MCOUNT_INSN_SIZE)) in ftrace_free_mem()
6226 rec = bsearch(&key, pg->records, pg->index, in ftrace_free_mem()
6238 pg->index--; in ftrace_free_mem()
6240 if (!pg->index) { in ftrace_free_mem()
6254 (pg->index - (rec - pg->records)) * sizeof(*rec)); in ftrace_free_mem()