Searched refs:fn_dup (Results 1 – 1 of 1) sorted by relevance
291 struct gcov_fn_info *fn_dup = kmemdup(fn, sizeof(*fn), in gcov_fn_info_dup() local293 if (!fn_dup) in gcov_fn_info_dup()295 INIT_LIST_HEAD(&fn_dup->head); in gcov_fn_info_dup()298 fn_dup->counters = kvmalloc(cv_size, GFP_KERNEL); in gcov_fn_info_dup()299 if (!fn_dup->counters) { in gcov_fn_info_dup()300 kfree(fn_dup); in gcov_fn_info_dup()304 memcpy(fn_dup->counters, fn->counters, cv_size); in gcov_fn_info_dup()306 return fn_dup; in gcov_fn_info_dup()330 struct gcov_fn_info *fn_dup = gcov_fn_info_dup(fn); in gcov_info_dup() local332 if (!fn_dup) in gcov_info_dup()[all …]