Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 25 of 151) sorted by relevance

1234567

/tools/testing/selftests/bpf/prog_tests/
Dcustom_sec_handlers.c13 static int custom_setup_prog(struct bpf_program *prog, long cookie) in custom_setup_prog()
21 static int custom_prepare_load_prog(struct bpf_program *prog, in custom_prepare_load_prog()
32 static int custom_attach_prog(const struct bpf_program *prog, long cookie, in custom_attach_prog()
Dtailcalls.c19 struct bpf_program *prog; in test_tailcall_1() local
155 struct bpf_program *prog; in test_tailcall_2() local
234 struct bpf_program *prog; in test_tailcall_count() local
415 struct bpf_program *prog; in test_tailcall_4() local
505 struct bpf_program *prog; in test_tailcall_5() local
595 struct bpf_program *prog; in test_tailcall_bpf2bpf_1() local
679 struct bpf_program *prog; in test_tailcall_bpf2bpf_2() local
759 struct bpf_program *prog; in test_tailcall_bpf2bpf_3() local
854 struct bpf_program *prog; in test_tailcall_bpf2bpf_4() local
1018 struct bpf_program *prog; in test_tailcall_bpf2bpf_fentry_entry() local
[all …]
Dcheck_mtu.c44 struct bpf_program *prog; in test_check_mtu_xdp_attach() local
79 struct bpf_program *prog, in test_check_mtu_run_xdp()
132 struct bpf_program *prog, in test_check_mtu_run_tc()
Drecursive_attach.c40 struct bpf_program *prog; in test_recursive_fentry_chain() local
117 struct bpf_program *prog; in test_fentry_attach_btf_presence() local
Dparse_tcp_hdr_opt.c31 struct bpf_program *prog; in test_parse_opt() local
61 struct bpf_program *prog; in test_parse_opt_dynptr() local
Dtrampoline_count.c13 struct bpf_program *prog; in load_prog() local
39 struct bpf_program *prog; in serial_test_trampoline_count() local
Drcu_read_lock.c89 struct bpf_program *prog; in test_inproper_region() local
116 struct bpf_program *prog; in test_rcuptr_misuse() local
Dtest_overhead.c18 static int test_task_rename(const char *prog) in test_task_rename()
42 static void test_run(const char *prog) in test_run()
Dfexit_bpf2bpf.c66 struct bpf_program **prog = NULL, *p; in test_fexit_bpf2bpf_common() local
233 struct bpf_program *prog = NULL; in test_second_attach() local
291 struct bpf_program *prog; in test_fmod_ret_freplace() local
359 struct bpf_program *prog; in test_obj_load_failure_common() local
Dxdp_adjust_tail.c146 struct bpf_program *prog; in test_xdp_adjust_frags_tail_shrink() local
213 struct bpf_program *prog; in test_xdp_adjust_frags_tail_grow() local
Dflow_dissector_load_bytes.c8 struct bpf_insn prog[] = { in serial_test_flow_dissector_load_bytes() local
Dhelper_restricted.c21 struct bpf_program *prog = *test->skeleton->progs[j].prog; in test_helper_restricted() local
Dkfunc_module_order.c7 static int test_run_prog(const struct bpf_program *prog, in test_run_prog()
Dtest_skb_pkt_end.c7 static int sanity_run(struct bpf_program *prog) in sanity_run()
Dreference_tracking.c13 struct bpf_program *prog; in test_reference_tracking() local
Dlink_pinning.c11 void test_link_pinning_subtest(struct bpf_program *prog, in test_link_pinning_subtest()
Dtest_profiler.c9 static int sanity_run(struct bpf_program *prog) in sanity_run()
Dsignal_pending.c12 struct bpf_insn prog[4096]; in test_signal_pending_by_type() local
Dcb_refs.c25 struct bpf_program *prog; in test_cb_refs() local
Dtest_bpf_ma.c15 struct bpf_program *prog; in do_bpf_ma_test() local
/tools/lib/bpf/
Dlibbpf.c750 void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload()
761 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
798 bpf_object__init_prog(struct bpf_object *obj, struct bpf_program *prog, in bpf_object__init_prog()
863 struct bpf_program *prog, *progs; in bpf_object__add_programs() local
1054 const struct bpf_program *prog) in is_valid_st_ops_program()
1073 struct bpf_program *prog, *slot_prog; in bpf_object_adjust_struct_ops_autoload() local
1158 struct bpf_program *prog; in bpf_map__init_kern_struct_ops() local
3414 static bool prog_needs_vmlinux_btf(struct bpf_program *prog) in prog_needs_vmlinux_btf()
3436 struct bpf_program *prog; in obj_needs_vmlinux_btf() local
3518 struct bpf_program *prog = &obj->programs[i]; in bpf_object__sanitize_and_load_btf() local
[all …]
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c396 struct sock_fprog prog = { in TEST() local
430 struct sock_fprog prog = { }; in TEST() local
467 struct sock_fprog prog = { }; in TEST() local
504 struct sock_fprog prog = { in TEST() local
527 struct sock_fprog prog = { in TEST() local
552 struct sock_fprog prog = { in TEST() local
569 struct sock_fprog prog = { in TEST() local
588 struct sock_fprog prog = { in TEST() local
610 struct sock_fprog prog = { in TEST_SIGNAL() local
632 struct sock_fprog prog = { in TEST_SIGNAL() local
[all …]
/tools/testing/selftests/bpf/progs/
Dmetadata_unused.c10 int prog(struct xdp_md *ctx) in prog() function
Dmetadata_used.c10 int prog(struct xdp_md *ctx) in prog() function
/tools/rcu/
Drcu-cbs.py20 def get_rdp0(prog): argument

1234567