Home
last modified time | relevance | path

Searched refs:glob_match (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/lib/
H A Dglob.c13 * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0)
28 * An example of the worst case is glob_match("*aaaaa", "aaaaaaaaaa");
40 bool __pure glob_match(char const *pat, char const *str) in glob_match() function
123 EXPORT_SYMBOL(glob_match); variable
H A Dglobtest.c21 bool match = glob_match(pat, str); in test()
50 * 1. Expected glob_match result: '1' or '0'.
55 * a glob_match result character.
/kernel/linux/linux-6.6/lib/
H A Dglob.c13 * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0)
28 * An example of the worst case is glob_match("*aaaaa", "aaaaaaaaaa");
40 bool __pure glob_match(char const *pat, char const *str) in glob_match() function
123 EXPORT_SYMBOL(glob_match); variable
H A Dglobtest.c21 bool match = glob_match(pat, str); in test()
50 * 1. Expected glob_match result: '1' or '0'.
55 * a glob_match result character.
/kernel/linux/linux-5.10/drivers/base/
H A Dsoc.c198 (!attr->machine || !glob_match(match->machine, attr->machine))) in soc_device_match_attr()
202 (!attr->family || !glob_match(match->family, attr->family))) in soc_device_match_attr()
206 (!attr->revision || !glob_match(match->revision, attr->revision))) in soc_device_match_attr()
210 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id))) in soc_device_match_attr()
/kernel/linux/linux-6.6/drivers/base/
H A Dsoc.c215 (!attr->machine || !glob_match(match->machine, attr->machine))) in soc_device_match_attr()
219 (!attr->family || !glob_match(match->family, attr->family))) in soc_device_match_attr()
223 (!attr->revision || !glob_match(match->revision, attr->revision))) in soc_device_match_attr()
227 (!attr->soc_id || !glob_match(match->soc_id, attr->soc_id))) in soc_device_match_attr()
/kernel/linux/linux-5.10/include/linux/
H A Dglob.h8 bool __pure glob_match(char const *pat, char const *str);
/kernel/linux/linux-6.6/include/linux/
H A Dglob.h8 bool __pure glob_match(char const *pat, char const *str);
/kernel/linux/linux-6.6/lib/kunit/
H A Dexecutor.c61 /* glob_match() needs NULL terminated strings, so we need a copy of filter_glob_param. */
109 if (!test_glob || glob_match(test_glob, test_case->name)) in kunit_filter_glob_tests()
128 if (!test_glob || glob_match(test_glob, test_case->name)) in kunit_filter_glob_tests()
197 if (!glob_match(parsed_glob.suite_glob, filtered_suite->name)) in kunit_filter_suites()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_progs.c110 static bool glob_match(const char *str, const char *pat) in glob_match() function
125 if (glob_match(str++, pat)) in glob_match()
165 if (glob_match(name, sel->blacklist.tests[i].name) && in should_run()
171 if (glob_match(name, sel->whitelist.tests[i].name)) in should_run()
190 if (glob_match(test_name, sel->blacklist.tests[i].name)) { in should_run_subtest()
195 if (glob_match(subtest_name, in should_run_subtest()
203 if (glob_match(test_name, sel->whitelist.tests[i].name)) { in should_run_subtest()
208 if (glob_match(subtest_name, in should_run_subtest()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Delf.c410 if (!glob_match(sym->name, pattern)) in elf_resolve_pattern_offsets()
H A Dlibbpf_internal.h597 bool glob_match(const char *str, const char *pat);
H A Dlibbpf.c10644 bool glob_match(const char *str, const char *pat) in glob_match() function
10664 if (glob_match(str++, pat)) in glob_match()
10736 if (!glob_match(sym_name, res->pattern)) in libbpf_available_kallsyms_parse()
10810 if (!glob_match(sym_name, res->pattern)) in libbpf_available_kprobes_parse()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_filter.c870 if (glob_match(r->pattern, str)) in regex_match_glob()
H A Dftrace.c3924 if (glob_match(g->search, str)) in ftrace_match()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_events_filter.c1061 if (glob_match(r->pattern, str)) in regex_match_glob()
H A Dftrace.c4167 if (glob_match(g->search, str)) in ftrace_match()
/kernel/linux/linux-5.10/drivers/ata/
H A Dlibata-core.c4059 if (glob_match(ad->model_num, model_num)) { in ata_dev_blacklisted()
4062 if (glob_match(ad->model_rev, model_rev)) in ata_dev_blacklisted()
/kernel/linux/linux-6.6/drivers/ata/
H A Dlibata-core.c4271 if (glob_match(ad->model_num, model_num)) { in ata_dev_blacklisted()
4274 if (glob_match(ad->model_rev, model_rev)) in ata_dev_blacklisted()

Completed in 61 milliseconds