Home
last modified time | relevance | path

Searched refs:bpf_program (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/tools/lib/bpf/
Dlibbpf.h89 struct bpf_program *
108 struct bpf_program;
109 struct bpf_program *bpf_program__next(struct bpf_program *prog,
117 typedef void (*bpf_program_clear_priv_t)(struct bpf_program *,
120 int bpf_program__set_priv(struct bpf_program *prog, void *priv,
123 void *bpf_program__priv(struct bpf_program *prog);
124 void bpf_program__set_ifindex(struct bpf_program *prog, __u32 ifindex);
126 const char *bpf_program__title(struct bpf_program *prog, bool needs_copy);
128 int bpf_program__fd(struct bpf_program *prog);
129 int bpf_program__pin_instance(struct bpf_program *prog, const char *path,
[all …]
Dlibbpf.c133 struct bpf_program { struct
187 struct bpf_program *programs; argument
231 static void bpf_program__unload(struct bpf_program *prog) in bpf_program__unload()
254 static void bpf_program__exit(struct bpf_program *prog) in bpf_program__exit()
278 struct bpf_program *prog) in bpf_program__init()
318 struct bpf_program prog, *progs; in bpf_object__add_program()
353 struct bpf_program *prog; in bpf_object__init_prog_names()
866 static struct bpf_program *
869 struct bpf_program *prog; in bpf_object__find_prog_by_idx()
880 struct bpf_program *
[all …]
/Linux-v4.19/include/uapi/linux/netfilter/
Dxt_bpf.h16 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
34 struct sock_filter bpf_program[XT_BPF_MAX_NUM_INSTR]; member
/Linux-v4.19/arch/um/drivers/
Dpcap_user.c51 pri->compiled = uml_kmalloc(sizeof(struct bpf_program), in pcap_open()
59 (struct bpf_program *) pri->compiled, in pcap_open()
/Linux-v4.19/net/netfilter/
Dxt_bpf.c71 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check()
81 return __bpf_mt_check_bytecode(info->bpf_program, in bpf_mt_check_v1()
/Linux-v4.19/samples/bpf/
Dxdp_fwd_user.c69 struct bpf_program *prog; in main()
/Linux-v4.19/tools/perf/util/
Dbpf-loader.c131 clear_prog_priv(struct bpf_program *prog __maybe_unused, in clear_prog_priv()
328 config_bpf_program(struct bpf_program *prog) in config_bpf_program()
427 preproc_gen_prologue(struct bpf_program *prog, int n, in preproc_gen_prologue()
583 static int hook_load_preprocessor(struct bpf_program *prog) in hook_load_preprocessor()
646 struct bpf_program *prog; in bpf__probe()
707 struct bpf_program *prog; in bpf__unprobe()
762 struct bpf_program *prog; in bpf__foreach_event()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_libbpf_open.c60 struct bpf_program *prog; in test_walk_progs()
Dtest_socket_cookie.c140 struct bpf_program *prog; in run_test()
Dtest_select_reuseport.c87 struct bpf_program *prog; in prepare_bpf_obj()
Dtest_sockmap.c1308 struct bpf_program *prog; in populate_progs()
Dtest_btf.c1998 struct bpf_program *prog; in do_test_file()
/Linux-v4.19/tools/bpf/bpftool/
Dprog.c707 struct bpf_program *prog; in do_load()