Lines Matching refs:fn
227 struct gcov_fn_info *fn; in gcov_info_reset() local
229 list_for_each_entry(fn, &info->functions, head) in gcov_info_reset()
230 memset(fn->counters, 0, in gcov_info_reset()
231 sizeof(fn->counters[0]) * fn->num_counters); in gcov_info_reset()
288 static struct gcov_fn_info *gcov_fn_info_dup(struct gcov_fn_info *fn) in gcov_fn_info_dup() argument
291 struct gcov_fn_info *fn_dup = kmemdup(fn, sizeof(*fn), in gcov_fn_info_dup()
297 cv_size = fn->num_counters * sizeof(fn->counters[0]); in gcov_fn_info_dup()
304 memcpy(fn_dup->counters, fn->counters, cv_size); in gcov_fn_info_dup()
318 struct gcov_fn_info *fn; in gcov_info_dup() local
329 list_for_each_entry(fn, &info->functions, head) { in gcov_info_dup()
330 struct gcov_fn_info *fn_dup = gcov_fn_info_dup(fn); in gcov_info_dup()
350 struct gcov_fn_info *fn, *tmp; in gcov_info_free() local
352 list_for_each_entry_safe(fn, tmp, &info->functions, head) { in gcov_info_free()
353 kvfree(fn->counters); in gcov_info_free()
354 list_del(&fn->head); in gcov_info_free()
355 kfree(fn); in gcov_info_free()