Lines Matching refs:fi_idx
210 unsigned int fi_idx; in gcov_info_reset() local
213 for (fi_idx = 0; fi_idx < info->n_functions; fi_idx++) { in gcov_info_reset()
214 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_reset()
250 unsigned int fi_idx; in gcov_info_add() local
254 for (fi_idx = 0; fi_idx < src->n_functions; fi_idx++) { in gcov_info_add()
255 dci_ptr = dst->functions[fi_idx]->ctrs; in gcov_info_add()
256 sci_ptr = src->functions[fi_idx]->ctrs; in gcov_info_add()
284 unsigned int fi_idx; /* function info idx */ in gcov_info_dup() local
310 for (fi_idx = 0; fi_idx < info->n_functions; fi_idx++) { in gcov_info_dup()
311 dup->functions[fi_idx] = kzalloc(fi_size, GFP_KERNEL); in gcov_info_dup()
312 if (!dup->functions[fi_idx]) in gcov_info_dup()
315 *(dup->functions[fi_idx]) = *(info->functions[fi_idx]); in gcov_info_dup()
317 sci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_dup()
318 dci_ptr = dup->functions[fi_idx]->ctrs; in gcov_info_dup()
350 unsigned int fi_idx; in gcov_info_free() local
359 for (fi_idx = 0; fi_idx < info->n_functions; fi_idx++) { in gcov_info_free()
360 if (!info->functions[fi_idx]) in gcov_info_free()
363 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_free()
368 kfree(info->functions[fi_idx]); in gcov_info_free()
388 unsigned int fi_idx; in convert_to_gcda() local
403 for (fi_idx = 0; fi_idx < info->n_functions; fi_idx++) { in convert_to_gcda()
404 fi_ptr = info->functions[fi_idx]; in convert_to_gcda()