Searched refs:str_has_pfx (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 15 static inline const char *str_has_pfx(const char *str, const char *pfx) macro 153 if (!in_regex && (next = str_has_pfx(pattern, "{{"))) { 158 if (in_regex && (next = str_has_pfx(pattern, "}}"))) { 261 if (str_has_pfx(str, "0x")) in push_disasm_msg() 453 if ((val = str_has_pfx(s, "test_description="))) { in parse_test_spec() 475 } else if ((msg = str_has_pfx(s, "test_expect_msg="))) { in parse_test_spec() 480 } else if ((msg = str_has_pfx(s, "test_expect_not_msg="))) { in parse_test_spec() 485 } else if ((msg = str_has_pfx(s, "test_expect_msg_unpriv="))) { in parse_test_spec() 490 } else if ((msg = str_has_pfx(s, "test_expect_not_msg_unpriv="))) { in parse_test_spec() 495 } else if ((msg = str_has_pfx( in parse_test_spec() [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 1094 #define str_has_pfx(str, pfx) (strncmp(str, pfx, strlen(pfx)) == 0) macro 1150 if (!str_has_pfx(p, "scalar(")) { in parse_reg_state() 1176 if (!str_has_pfx(p, f->pfx)) in parse_reg_state() 1197 } else if (str_has_pfx(p, "var_off")) { in parse_reg_state() 1336 if (str_has_pfx(buf, "mark_precise: ")) in print_verifier_log()
|
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 2251 if (!str_has_pfx(buf, "CONFIG_")) in bpf_object__process_kconfig_line() 3841 return str_has_pfx(name, ".debug_"); in cmp_progs() 3863 if (str_has_pfx(name, ".rel")) { in bpf_object__elf_collect() 4005 str_has_pfx(name, DATA_SEC ".")) { in bpf_object__elf_collect() 4010 str_has_pfx(name, RODATA_SEC ".")) { in bpf_object__elf_collect() 4060 str_has_pfx(name, BSS_SEC "."))) { in sym_is_subprog() 8192 if (str_has_pfx(cur_line, "invalid func unknown#195896080\n")) { in bpf_program_record_relos() 8201 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_LDIMM64_MAP_PFX)) { in bpf_program_record_relos() 8210 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_CALL_KFUNC_PFX)) { 8806 if (str_has_pfx(ex in bpf_object__resolve_externs() [all...] |
| H A D | libbpf_internal.h | 121 #define str_has_pfx(str, pfx) \ macro
|