Searched refs:str_has_pfx (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/
H A Dtest_loader.c12 #define str_has_pfx(str, pfx) \ macro
124 if (str_has_pfx(str, "0x"))
212 if (str_has_pfx(s, TEST_TAG_DESCRIPTION_PFX)) {
234 } else if (str_has_pfx(s, TEST_TAG_EXPECT_MSG_PFX)) {
240 } else if (str_has_pfx(s, TEST_TAG_EXPECT_MSG_PFX_UNPRIV)) {
246 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX)) {
253 } else if (str_has_pfx(s, TEST_TAG_RETVAL_PFX_UNPRIV)) {
261 } else if (str_has_pfx(s, TEST_TAG_LOG_LEVEL_PFX)) {
266 } else if (str_has_pfx(s, TEST_TAG_PROG_FLAGS_PFX)) {
293 } else if (str_has_pfx(
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c994 #define str_has_pfx(str, pfx) (strncmp(str, pfx, strlen(pfx)) == 0) macro
1050 if (!str_has_pfx(p, "scalar(")) {
1076 if (!str_has_pfx(p, f->pfx))
1097 } else if (str_has_pfx(p, "var_off")) {
1220 if (str_has_pfx(buf, "mark_precise: "))
/linux-master/tools/lib/bpf/
H A Dlibbpf_internal.h118 #define str_has_pfx(str, pfx) \ macro
H A Dlibbpf.c2118 if (!str_has_pfx(buf, "CONFIG_"))
3658 return str_has_pfx(name, ".debug_");
3680 if (str_has_pfx(name, ".rel")) {
3822 str_has_pfx(name, DATA_SEC ".")) {
3827 str_has_pfx(name, RODATA_SEC ".")) {
3870 str_has_pfx(name, BSS_SEC "."))) {
7662 if (str_has_pfx(cur_line, "invalid func unknown#195896080\n")) {
7671 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_LDIMM64_MAP_PFX)) {
7680 } else if (str_has_pfx(cur_line, "invalid func unknown#"POISON_CALL_KFUNC_PFX)) {
8259 if (str_has_pfx(ex
[all...]

Completed in 189 milliseconds