Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dempty_skb.c115 bool at_egress = strstr(bpf_program__name(prog), "egress") != NULL; in test_empty_skb()
129 sprintf(buf, "err: %s [%s]", tests[i].msg, bpf_program__name(prog)); in test_empty_skb()
135 sprintf(buf, "ret: %s [%s]", tests[i].msg, bpf_program__name(prog)); in test_empty_skb()
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()
Dverifier_log.c62 if (strcmp(bpf_program__name(prog), name) == 0) in verif_log_subtest()
Dtc_redirect.c274 priority, bpf_program__name(prog)); in xgress_filter_add()
Dsk_lookup.c485 bpf_program__name(prog)); in attach_lookup_prog()
/linux-6.6.21/tools/bpf/bpftool/
Diter.c75 bpf_program__name(prog)); in do_pin()
86 bpf_program__name(prog), path); in do_pin()
Dgen.c546 ", obj_name, bpf_program__name(prog)); in codegen_attach_detach()
571 ", bpf_program__name(prog)); in codegen_attach_detach()
588 ", obj_name, bpf_program__name(prog)); in codegen_attach_detach()
605 ", bpf_program__name(prog)); in codegen_attach_detach()
635 ", bpf_program__name(prog)); in codegen_destroy()
893 i, bpf_program__name(prog)); in codegen_progs_skeleton()
900 i, bpf_program__name(prog)); in codegen_progs_skeleton()
1054 bpf_program__name(prog)); in do_skeleton()
1057 bpf_program__name(prog)); in do_skeleton()
1064 bpf_program__name(prog)); in do_skeleton()
[all …]
Dprog.c1470 bpf_program__name(prog)); in auto_attach_program()
1487 err = pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog)); in auto_attach_programs()
1500 if (pathname_concat(buf, sizeof(buf), path, bpf_program__name(prog))) in auto_attach_programs()
/linux-6.6.21/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.6.21/tools/testing/selftests/bpf/
Dtest_cpp.cpp85 prog_name = bpf_program__name(skel->progs.handle_sys_enter); in try_skeleton_template()
Dtest_loader.c173 spec->prog_name = bpf_program__name(prog); in parse_test_spec()
574 if (strcmp(bpf_program__name(tprog_iter), spec->prog_name) == 0) { in run_subtest()
676 bpf_program__name(prog)); in process_subtest()
Dveristat.c905 const char *prog_name = bpf_program__name(prog); in fixup_obj()
957 const char *prog_name = bpf_program__name(prog); in process_prog()
965 if (!should_process_file_prog(base_filename, bpf_program__name(prog))) { in process_prog()
1005 stats->prog_name = strdup(bpf_program__name(prog)); in process_prog()
1074 const char *prog_name = bpf_program__name(prog); in process_obj()
1085 const char *tprog_name = bpf_program__name(tprog); in process_obj()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.map139 bpf_program__name;
Dlibbpf.h308 LIBBPF_API const char *bpf_program__name(const struct bpf_program *prog);
Dlibbpf.c8571 const char *bpf_program__name(const struct bpf_program *prog) in bpf_program__name() function
13180 bpf_program__name(prog), err); in bpf_object__attach_skeleton()