Home
last modified time | relevance | path

Searched refs:bpf_program__name (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dempty_skb.c117 bool at_egress = strstr(bpf_program__name(prog), "egress") != NULL; in test_empty_skb()
131 sprintf(buf, "err: %s [%s]", tests[i].msg, bpf_program__name(prog)); in test_empty_skb()
137 sprintf(buf, "ret: %s [%s]", tests[i].msg, bpf_program__name(prog)); in test_empty_skb()
Dkfunc_module_order.c16 if (!ASSERT_EQ((int)opts->retval, 0, bpf_program__name(prog))) in test_run_prog()
Dreference_tracking.c30 name = bpf_program__name(prog); in test_reference_tracking()
Dsubskeleton.c35 ASSERT_STREQ(bpf_program__name(lib->progs.lib_perf_handler), in subskeleton_lib_subresult()
Dexceptions.c99 ASSERT_OK_PTR(bpf_program__name(prog), bpf_program__name(prog)); \ in test_exceptions_success()
Dverifier_log.c62 if (strcmp(bpf_program__name(prog), name) == 0) in verif_log_subtest()
Dsk_lookup.c425 bpf_program__name(prog)); in attach_lookup_prog()
Dtc_redirect.c362 priority, bpf_program__name(prog)); in xgress_filter_add()
/linux-6.12.1/tools/bpf/bpftool/
Diter.c75 bpf_program__name(prog)); in do_pin()
86 bpf_program__name(prog), path); in do_pin()
Dgen.c576 ", obj_name, bpf_program__name(prog)); in codegen_attach_detach()
601 ", bpf_program__name(prog)); in codegen_attach_detach()
618 ", obj_name, bpf_program__name(prog)); in codegen_attach_detach()
635 ", bpf_program__name(prog)); in codegen_attach_detach()
665 ", bpf_program__name(prog)); in codegen_destroy()
950 i, bpf_program__name(prog)); in codegen_progs_skeleton()
957 i, bpf_program__name(prog)); in codegen_progs_skeleton()
1324 bpf_program__name(prog)); in do_skeleton()
1327 bpf_program__name(prog)); in do_skeleton()
1337 bpf_program__name(prog)); in do_skeleton()
[all …]
Dprog.c1474 bpf_program__name(prog)); in auto_attach_program()
1491 err = pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog)); in auto_attach_programs()
1504 if (pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog))) in auto_attach_programs()
/linux-6.12.1/samples/bpf/
Dsockex3_user.c58 if (!strcmp(bpf_program__name(prog), "main_prog")) in main()
Dxdp_sample_user.c1303 bpf_program__name(xdp_prog), ifindex, in sample_install_xdp()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_cpp.cpp90 prog_name = bpf_program__name(skel->progs.handle_sys_enter); in try_skeleton_template()
Dveristat.c940 const char *prog_name = bpf_program__name(prog); in fixup_obj()
993 const char *prog_name = bpf_program__name(prog); in process_prog()
1000 if (!should_process_file_prog(base_filename, bpf_program__name(prog))) { in process_prog()
1042 stats->prog_name = strdup(bpf_program__name(prog)); in process_prog()
1112 const char *prog_name = bpf_program__name(prog); in process_obj()
1123 const char *tprog_name = bpf_program__name(tprog); in process_obj()
Dtest_loader.c381 spec->prog_name = bpf_program__name(prog); in parse_test_spec()
935 if (strcmp(bpf_program__name(tprog_iter), spec->prog_name) == 0) { in run_subtest()
1086 bpf_program__name(prog)); in process_subtest()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.map139 bpf_program__name;
Dlibbpf.h338 LIBBPF_API const char *bpf_program__name(const struct bpf_program *prog);
Dlibbpf.c9158 const char *bpf_program__name(const struct bpf_program *prog) in bpf_program__name() function
13948 bpf_program__name(prog), err); in bpf_object__attach_skeleton()