Searched refs:str_has_pfx (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 15 #define str_has_pfx(str, pfx) \ macro 170 if (!in_regex && str_has_pfx(pattern, "{{")) { in compile_regex() 175 if (in_regex && str_has_pfx(pattern, "}}")) { in compile_regex() 276 if (str_has_pfx(str, "0x")) in parse_int() 451 if (str_has_pfx(s, TEST_TAG_DESCRIPTION_PFX)) { in parse_test_spec() 519 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX)) { in parse_test_spec() 534 } else if (str_has_pfx(s, TEST_TAG_LOG_LEVEL_PFX)) { in parse_test_spec() 566 } else if (str_has_pfx(s, TEST_TAG_ARCH)) { in parse_test_spec() 583 } else if (str_has_pfx(s, TEST_BTF_PATH)) { in parse_test_spec() 585 } else if (str_has_pfx(s, TEST_TAG_CAPS_UNPRIV)) { in parse_test_spec() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 1007 #define str_has_pfx(str, pfx) (strncmp(str, pfx, strlen(pfx)) == 0) macro 1063 if (!str_has_pfx(p, "scalar(")) { in parse_reg_state() 1089 if (!str_has_pfx(p, f->pfx)) in parse_reg_state() 1110 } else if (str_has_pfx(p, "var_off")) { in parse_reg_state() 1233 if (str_has_pfx(buf, "mark_precise: ")) in print_verifier_log()
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | libbpf.c | 2227 if (!str_has_pfx(buf, "CONFIG_")) in bpf_object__process_kconfig_line() 3770 return str_has_pfx(name, ".debug_"); in is_sec_name_dwarf() 3792 if (str_has_pfx(name, ".rel")) { in ignore_elf_section() 3934 str_has_pfx(name, DATA_SEC ".")) { in bpf_object__elf_collect() 3939 str_has_pfx(name, RODATA_SEC ".")) { in bpf_object__elf_collect() 3982 str_has_pfx(name, BSS_SEC "."))) { in bpf_object__elf_collect() 8437 if (str_has_pfx(ext->name, "CONFIG_")) { in bpf_object__resolve_externs() 9681 if (str_has_pfx(sec_name, sec_def->sec)) in sec_def_matches() 11729 opts.retprobe = str_has_pfx(prog->sec_name, "kretprobe/"); in attach_kprobe() 12613 if (str_has_pfx(prog->sec_name, "tp/")) in attach_tp() [all …]
|
| H A D | libbpf_internal.h | 119 #define str_has_pfx(str, pfx) \ macro
|