Lines Matching full:functions
3 * This code provides functions to handle gcc's profiling data format
71 * comdat functions was selected -- it points to the gcov_info object
89 * @merge: merge functions (null for unused counter type)
90 * @n_functions: number of instrumented functions
91 * @functions: pointer to pointers to function information
107 struct gcov_fn_info **functions; member
216 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_reset()
257 dci_ptr = dst->functions[fi_idx]->ctrs; in gcov_info_add()
258 sci_ptr = src->functions[fi_idx]->ctrs; in gcov_info_add()
297 dup->functions = NULL; in gcov_info_dup()
303 dup->functions = kcalloc(info->n_functions, in gcov_info_dup()
305 if (!dup->functions) in gcov_info_dup()
313 dup->functions[fi_idx] = kzalloc(fi_size, GFP_KERNEL); in gcov_info_dup()
314 if (!dup->functions[fi_idx]) in gcov_info_dup()
317 *(dup->functions[fi_idx]) = *(info->functions[fi_idx]); in gcov_info_dup()
319 sci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_dup()
320 dci_ptr = dup->functions[fi_idx]->ctrs; in gcov_info_dup()
356 if (!info->functions) in gcov_info_free()
362 if (!info->functions[fi_idx]) in gcov_info_free()
365 ci_ptr = info->functions[fi_idx]->ctrs; in gcov_info_free()
370 kfree(info->functions[fi_idx]); in gcov_info_free()
374 kfree(info->functions); in gcov_info_free()
406 fi_ptr = info->functions[fi_idx]; in convert_to_gcda()