• Home
  • Raw
  • Download

Lines Matching refs:info

99 	struct gcov_info *info;  member
111 static struct gcov_iterator *gcov_iter_new(struct gcov_info *info) in gcov_iter_new() argument
117 size = convert_to_gcda(NULL, info); in gcov_iter_new()
123 iter->info = info; in gcov_iter_new()
125 convert_to_gcda(iter->buffer, info); in gcov_iter_new()
146 return iter->info; in gcov_iter_get_info()
269 struct gcov_info *info; in get_accumulated_info() local
273 info = gcov_info_dup(node->unloaded_info); in get_accumulated_info()
275 info = gcov_info_dup(node->loaded_info[i++]); in get_accumulated_info()
276 if (!info) in get_accumulated_info()
279 gcov_info_add(info, node->loaded_info[i]); in get_accumulated_info()
281 return info; in get_accumulated_info()
293 struct gcov_info *info; in gcov_seq_open() local
302 info = get_accumulated_info(node); in gcov_seq_open()
303 if (!info) in gcov_seq_open()
305 iter = gcov_iter_new(info); in gcov_seq_open()
320 gcov_info_free(info); in gcov_seq_open()
331 struct gcov_info *info; in gcov_seq_release() local
336 info = gcov_iter_get_info(iter); in gcov_seq_release()
338 gcov_info_free(info); in gcov_seq_release()
351 struct gcov_info *info; in get_node_by_name() local
354 info = get_node_info(node); in get_node_by_name()
355 if (info && (strcmp(gcov_info_filename(info), name) == 0)) in get_node_by_name()
386 struct gcov_info *info; in gcov_seq_write() local
390 info = gcov_iter_get_info(seq->private); in gcov_seq_write()
392 node = get_node_by_name(gcov_info_filename(info)); in gcov_seq_write()
401 gcov_info_reset(info); in gcov_seq_write()
520 static void init_node(struct gcov_node *node, struct gcov_info *info, in init_node() argument
527 node->loaded_info[0] = info; in init_node()
540 struct gcov_info *info, const char *name) in new_node() argument
547 if (info) { in new_node()
553 init_node(node, info, name, parent); in new_node()
555 if (info) { in new_node()
560 if (info) in new_node()
674 static void add_node(struct gcov_info *info) in add_node() argument
682 filename = kstrdup(gcov_info_filename(info), GFP_KERNEL); in add_node()
708 node = new_node(parent, info, curr); in add_node()
724 static void add_info(struct gcov_node *node, struct gcov_info *info) in add_info() argument
737 gcov_info_filename(info)); in add_info()
742 loaded_info[num] = info; in add_info()
749 if (!gcov_info_is_compatible(node->unloaded_info, info)) { in add_info()
752 gcov_info_filename(info)); in add_info()
761 if (!gcov_info_is_compatible(node->loaded_info[0], info)) { in add_info()
763 "version)\n", gcov_info_filename(info)); in add_info()
777 static int get_info_index(struct gcov_node *node, struct gcov_info *info) in get_info_index() argument
782 if (node->loaded_info[i] == info) in get_info_index()
791 static void save_info(struct gcov_node *node, struct gcov_info *info) in save_info() argument
794 gcov_info_add(node->unloaded_info, info); in save_info()
796 node->unloaded_info = gcov_info_dup(info); in save_info()
800 gcov_info_filename(info)); in save_info()
809 static void remove_info(struct gcov_node *node, struct gcov_info *info) in remove_info() argument
813 i = get_info_index(node, info); in remove_info()
816 gcov_info_filename(info)); in remove_info()
820 save_info(node, info); in remove_info()
838 void gcov_event(enum gcov_action action, struct gcov_info *info) in gcov_event() argument
843 node = get_node_by_name(gcov_info_filename(info)); in gcov_event()
847 add_info(node, info); in gcov_event()
849 add_node(info); in gcov_event()
853 remove_info(node, info); in gcov_event()
856 gcov_info_filename(info)); in gcov_event()