Home
last modified time | relevance | path

Searched refs:str_has_pfx (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c15 #define str_has_pfx(str, pfx) \ macro
163 if (!in_regex && str_has_pfx(pattern, "{{")) { in compile_regex()
168 if (in_regex && str_has_pfx(pattern, "}}")) { in compile_regex()
269 if (str_has_pfx(str, "0x")) in parse_int()
443 if (str_has_pfx(s, TEST_TAG_DESCRIPTION_PFX)) { in parse_test_spec()
511 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX)) { in parse_test_spec()
518 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX_UNPRIV)) { in parse_test_spec()
526 } else if (str_has_pfx(s, TEST_TAG_LOG_LEVEL_PFX)) { in parse_test_spec()
531 } else if (str_has_pfx(s, TEST_TAG_PROG_FLAGS_PFX)) { in parse_test_spec()
558 } else if (str_has_pfx( in parse_test_spec()
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c1007 #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/tools/lib/bpf/
H A Dlibbpf.c2209 if (!str_has_pfx(buf, "CONFIG_")) in bpf_object__process_kconfig_line()
3752 return str_has_pfx(name, ".debug_"); in is_sec_name_dwarf()
3774 if (str_has_pfx(name, ".rel")) { in ignore_elf_section()
3916 str_has_pfx(name, DATA_SEC ".")) { in bpf_object__elf_collect()
3921 str_has_pfx(name, RODATA_SEC ".")) { in bpf_object__elf_collect()
3964 str_has_pfx(name, BSS_SEC "."))) { in bpf_object__elf_collect()
7805 if (str_has_pfx(cur_line, "invalid func unknown#195896080\n")) { in fixup_verifier_log()
7814 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_LDIMM64_MAP_PFX)) { in fixup_verifier_log()
7823 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_CALL_KFUNC_PFX)) { in fixup_verifier_log()
8411 if (str_has_pfx(ext->name, "CONFIG_")) { in bpf_object__resolve_externs()
[all …]