Searched refs:str_has_pfx (Results 1 – 4 of 4) sorted by relevance
| /tools/testing/selftests/bpf/ |
| 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() 445 if (str_has_pfx(s, TEST_TAG_DESCRIPTION_PFX)) { in parse_test_spec() 513 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX)) { in parse_test_spec() 528 } else if (str_has_pfx(s, TEST_TAG_LOG_LEVEL_PFX)) { in parse_test_spec() 560 } else if (str_has_pfx(s, TEST_TAG_ARCH)) { in parse_test_spec() 577 } else if (str_has_pfx(s, TEST_BTF_PATH)) { in parse_test_spec() 579 } else if (str_has_pfx(s, TEST_TAG_CAPS_UNPRIV)) { in parse_test_spec() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | reg_bounds.c | 1021 #define str_has_pfx(str, pfx) (strncmp(str, pfx, strlen(pfx)) == 0) macro 1077 if (!str_has_pfx(p, "scalar(")) { in parse_reg_state() 1103 if (!str_has_pfx(p, f->pfx)) in parse_reg_state() 1124 } else if (str_has_pfx(p, "var_off")) { in parse_reg_state() 1247 if (str_has_pfx(buf, "mark_precise: ")) in print_verifier_log()
|
| /tools/lib/bpf/ |
| A D | libbpf_internal.h | 119 #define str_has_pfx(str, pfx) \ macro
|
| A D | libbpf.c | 2221 if (!str_has_pfx(buf, "CONFIG_")) in bpf_object__process_kconfig_line() 3764 return str_has_pfx(name, ".debug_"); in is_sec_name_dwarf() 3786 if (str_has_pfx(name, ".rel")) { in ignore_elf_section() 3928 str_has_pfx(name, DATA_SEC ".")) { in bpf_object__elf_collect() 3933 str_has_pfx(name, RODATA_SEC ".")) { in bpf_object__elf_collect() 3976 str_has_pfx(name, BSS_SEC "."))) { in bpf_object__elf_collect() 8443 if (str_has_pfx(ext->name, "CONFIG_")) { in bpf_object__resolve_externs() 9713 if (str_has_pfx(sec_name, sec_def->sec)) in sec_def_matches() 11764 opts.retprobe = str_has_pfx(prog->sec_name, "kretprobe/"); in attach_kprobe() 12635 if (str_has_pfx(prog->sec_name, "tp/")) in attach_tp() [all …]
|
Completed in 36 milliseconds