Lines Matching refs:func_g
4727 add_rec_by_index(struct ftrace_hash *hash, struct ftrace_glob *func_g, in add_rec_by_index() argument
4735 if (kstrtoul(func_g->search, 0, &index) || --index < 0) in add_rec_by_index()
4770 ftrace_match_record(struct dyn_ftrace *rec, struct ftrace_glob *func_g, in ftrace_match_record() argument
4805 if (!func_g->len) in ftrace_match_record()
4809 return ftrace_match(str, func_g); in ftrace_match_record()
4817 struct ftrace_glob func_g = { .type = MATCH_FULL }; in match_records() local
4826 func_g.type = filter_parse_regex(func, len, &func_g.search, in match_records()
4828 func_g.len = strlen(func_g.search); in match_records()
4842 if (func_g.type == MATCH_INDEX) in match_records()
4843 return add_rec_by_index(hash, &func_g, clear_filter); in match_records()
4850 if (ftrace_match_record(rec, &func_g, mod_match, exclude_mod)) { in match_records()
5480 struct ftrace_glob func_g; in unregister_ftrace_function_probe_func() local
5492 func_g.search = NULL; in unregister_ftrace_function_probe_func()
5496 func_g.type = filter_parse_regex(glob, strlen(glob), in unregister_ftrace_function_probe_func()
5497 &func_g.search, ¬); in unregister_ftrace_function_probe_func()
5498 func_g.len = strlen(func_g.search); in unregister_ftrace_function_probe_func()
5547 if (func_g.search) { in unregister_ftrace_function_probe_func()
5550 if (!ftrace_match(str, &func_g)) in unregister_ftrace_function_probe_func()
6814 struct ftrace_glob func_g; in ftrace_graph_set_hash() local
6822 func_g.type = filter_parse_regex(buffer, strlen(buffer), in ftrace_graph_set_hash()
6823 &func_g.search, ¬); in ftrace_graph_set_hash()
6825 func_g.len = strlen(func_g.search); in ftrace_graph_set_hash()
6837 if (ftrace_match_record(rec, &func_g, NULL, 0)) { in ftrace_graph_set_hash()