Searched refs:bpf_program (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/tools/lib/bpf/ |
D | libbpf.h | 89 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 …]
|
D | libbpf.c | 133 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/ |
D | xt_bpf.h | 16 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/ |
D | pcap_user.c | 51 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/ |
D | xt_bpf.c | 71 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/ |
D | xdp_fwd_user.c | 69 struct bpf_program *prog; in main()
|
/Linux-v4.19/tools/perf/util/ |
D | bpf-loader.c | 131 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/ |
D | test_libbpf_open.c | 60 struct bpf_program *prog; in test_walk_progs()
|
D | test_socket_cookie.c | 140 struct bpf_program *prog; in run_test()
|
D | test_select_reuseport.c | 87 struct bpf_program *prog; in prepare_bpf_obj()
|
D | test_sockmap.c | 1308 struct bpf_program *prog; in populate_progs()
|
D | test_btf.c | 1998 struct bpf_program *prog; in do_test_file()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | prog.c | 707 struct bpf_program *prog; in do_load()
|