Home
last modified time | relevance | path

Searched refs:bpf_object__find_program_by_name (Results 1 – 25 of 54) sorted by relevance

123

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtest_overhead.c79 kprobe_prog = bpf_object__find_program_by_name(obj, kprobe_name); in test_test_overhead()
83 kretprobe_prog = bpf_object__find_program_by_name(obj, kretprobe_name); in test_test_overhead()
87 raw_tp_prog = bpf_object__find_program_by_name(obj, raw_tp_name); in test_test_overhead()
91 fentry_prog = bpf_object__find_program_by_name(obj, fentry_name); in test_test_overhead()
95 fexit_prog = bpf_object__find_program_by_name(obj, fexit_name); in test_test_overhead()
Dtailcalls.c34 prog = bpf_object__find_program_by_name(obj, "entry"); in test_tailcall_1()
53 prog = bpf_object__find_program_by_name(obj, prog_name); in test_tailcall_1()
83 prog = bpf_object__find_program_by_name(obj, prog_name); in test_tailcall_1()
104 prog = bpf_object__find_program_by_name(obj, prog_name); in test_tailcall_1()
170 prog = bpf_object__find_program_by_name(obj, "entry"); in test_tailcall_2()
189 prog = bpf_object__find_program_by_name(obj, prog_name); in test_tailcall_2()
247 prog = bpf_object__find_program_by_name(obj, "entry"); in test_tailcall_count()
263 prog = bpf_object__find_program_by_name(obj, "classifier_0"); in test_tailcall_count()
282 prog = bpf_object__find_program_by_name(fentry_obj, "fentry"); in test_tailcall_count()
306 prog = bpf_object__find_program_by_name(fexit_obj, "fexit"); in test_tailcall_count()
[all …]
Dcore_autosize.c134 prog = bpf_object__find_program_by_name(skel->obj, "handle_signed"); in test_core_autosize()
143 prog = bpf_object__find_program_by_name(skel->obj, "handle_samesize"); in test_core_autosize()
150 prog = bpf_object__find_program_by_name(skel->obj, "handle_downsize"); in test_core_autosize()
157 prog = bpf_object__find_program_by_name(skel->obj, "handle_probed"); in test_core_autosize()
Dconnect_force_port.c70 prog = bpf_object__find_program_by_name(obj, v4 ? in run_test()
86 prog = bpf_object__find_program_by_name(obj, v4 ? in run_test()
102 prog = bpf_object__find_program_by_name(obj, v4 ? in run_test()
Drcu_read_lock.c97 prog = bpf_object__find_program_by_name(skel->obj, inproper_region_tests[i]); in test_inproper_region()
124 prog = bpf_object__find_program_by_name(skel->obj, rcuptr_misuse_tests[i]); in test_rcuptr_misuse()
Dcb_refs.c38 prog = bpf_object__find_program_by_name(skel->obj, cb_refs_tests[i].prog_name); in test_cb_refs()
Dcpumask.c49 prog = bpf_object__find_program_by_name(skel->obj, prog_name); in verify_success()
Dreference_tracking.c41 p = bpf_object__find_program_by_name(obj, name); in test_reference_tracking()
Dload_bytes_relative.c43 prog = bpf_object__find_program_by_name(obj, "load_bytes_relative"); in test_load_bytes_relative()
Dstacktrace_map_raw_tp.c19 prog = bpf_object__find_program_by_name(obj, prog_name); in test_stacktrace_map_raw_tp()
Dtask_kfunc.c49 prog = bpf_object__find_program_by_name(skel->obj, prog_name); in run_success_test()
Dcgrp_kfunc.c61 prog = bpf_object__find_program_by_name(skel->obj, prog_name); in run_success_test()
Dstacktrace_map.c19 prog = bpf_object__find_program_by_name(obj, prog_name); in test_stacktrace_map()
Dkfunc_call.c121 prog = bpf_object__find_program_by_name(skel->obj, param->prog_name); in verify_success()
186 prog = bpf_object__find_program_by_name(skel->obj, param->prog_name); in verify_fail()
Dkfunc_dynptr_param.c83 prog = bpf_object__find_program_by_name(skel->obj, prog_name); in verify_success()
Dtest_bpf_ma.c44 prog = bpf_object__find_program_by_name(skel->obj, name); in do_bpf_ma_test()
Drdonly_maps.c50 prog = bpf_object__find_program_by_name(obj, t->prog_name); in test_rdonly_maps()
Dpreempted_bpf_ma_op.c63 prog = bpf_object__find_program_by_name(skel->obj, name); in test_preempted_bpf_ma_op()
/linux-6.12.1/tools/testing/selftests/bpf/
Dxdp_redirect_multi.c168 ingress_prog = bpf_object__find_program_by_name(obj, "xdp_redirect_map_all_prog"); in main()
169 egress_prog = bpf_object__find_program_by_name(obj, "xdp_devmap_prog"); in main()
Dflow_dissector_load.h27 main_prog = bpf_object__find_program_by_name(*obj, prog_name); in bpf_flow_load()
/linux-6.12.1/samples/bpf/
Dtracex1_user.c22 prog = bpf_object__find_program_by_name(obj, "bpf_prog1"); in main()
Dtracex7_user.c29 prog = bpf_object__find_program_by_name(obj, "bpf_prog1"); in main()
Dtracex5_user.c52 prog = bpf_object__find_program_by_name(obj, "bpf_prog1"); in main()
Dtest_current_task_under_cgroup_user.c31 prog = bpf_object__find_program_by_name(obj, "bpf_prog1"); in main()
Dtrace_output_user.c73 prog = bpf_object__find_program_by_name(obj, "bpf_prog1"); in main()

123