/linux-master/tools/lib/bpf/ |
H A D | libbpf.c | 8349 int prog_fd; local 10604 int prog_fd, link_fd = -1, err; local 7315 bpf_object_load_prog(struct bpf_object *obj, struct bpf_program *prog, struct bpf_insn *insns, int insns_cnt, const char *license, __u32 kern_version, int *prog_fd) argument 11332 int err, link_fd, prog_fd; local 11753 int err = 0, link_fd, prog_fd; local 12279 int prog_fd, pfd; local 12352 int prog_fd, pfd; local 12418 int prog_fd, link_fd; local 12576 int prog_fd, link_fd; local 12620 int prog_fd, link_fd; local [all...] |
H A D | netlink.c | 322 int bpf_xdp_attach(int ifindex, int prog_fd, __u32 flags, const struct bpf_xdp_attach_opts *opts) argument 721 int ret, ifindex, attach_point, prog_fd; local 797 int ret, ifindex, attach_point, prog_fd; local 868 int ret, ifindex, attach_point, prog_fd; local [all...] |
H A D | libbpf.h | 1246 int prog_fd; member in struct:bpf_tc_opts
|
H A D | features.c | 347 int prog_fd, link_fd, err; local 379 int prog_fd, link_fd, err; local 466 int prog_fd, btf_fd, insn_cnt = ARRAY_SIZE(insns); local [all...] |
H A D | bpf.h | 463 int prog_fd; member in struct:bpf_prog_test_run_attr [all...] |
H A D | bpf.c | 115 int prog_fd; local 629 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, argument 639 int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type, argument 677 int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type, argument 719 bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) argument 724 bpf_link_create(int prog_fd, int target_fd, enum bpf_attach_type attach_type, const struct bpf_link_create_opts *opts) argument 976 bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) argument 1156 bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len) argument 1176 bpf_raw_tracepoint_open(const char *name, int prog_fd) argument 1283 bpf_prog_bind_map(int prog_fd, int map_fd, const struct bpf_prog_bind_opts *opts) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | bpf_lock_contention.c | 191 int prog_fd = bpf_program__fd(skel->progs.end_timestamp); local 435 int prog_fd = bpf_program__fd(skel->progs.collect_lock_syms); local
|
H A D | bpf_counter.c | 108 int prog_fd; local
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 3463 int prog_fd; local 3512 int prog_fd; local
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 283 bpf_prog_test_load(const char *file, enum bpf_prog_type type, struct bpf_object **pobj, int *prog_fd) argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | token.c | 638 int err, token_fd = -1, prog_fd = -1; local [all...] |
H A D | task_local_storage.c | 82 int err, map_fd, prog_fd, task_fd; local 170 int i, prog_fd, err; local
|
H A D | spin_lock.c | 117 int err, prog_fd = *(u32 *) arg; local 134 int prog_fd, i; local
|
H A D | mptcp.c | 158 int client_fd, prog_fd, map_fd, err; local
|
H A D | fib_lookup.c | 233 int prog_fd, err, ret, i; local
|
H A D | ctx_rewrite.c | 701 int err = 0, prog_fd = 0; local
|
H A D | btf.c | 4793 int i, err, prog_fd; local 6489 test_get_finfo(const struct prog_info_raw_test *test, int prog_fd) argument 6570 test_get_linfo(const struct prog_info_raw_test *test, const void *patched_linfo, __u32 cnt, int prog_fd) argument 6792 int btf_fd = -1, prog_fd = -1, err = 0; local [all...] |
H A D | timer.c | 11 int i, err, prog_fd = *(int *)arg; local 26 int i, err, prog_fd; local
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 1600 __u32 prog_fd; member in struct:bpf_attr::__anon3140 1666 __u32 prog_fd; member in struct:bpf_attr::__anon3147 1705 __u32 prog_fd; /* eBPF program to attach */ member in union:bpf_attr::__anon3150::__anon3151 1810 __u32 prog_fd; member in struct:bpf_attr::__anon3170 [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | prog.c | 219 static void *find_metadata(int prog_fd, struct bpf_map_info *map_info) argument
|
H A D | link.c | 238 int err, prog_fd; local
|
/linux-master/kernel/bpf/ |
H A D | bpf_struct_ops.c | 599 int prog_fd, err; local
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 1600 __u32 prog_fd; member in struct:bpf_attr::__anon2599 1666 __u32 prog_fd; member in struct:bpf_attr::__anon2606 1705 __u32 prog_fd; /* eBPF program to attach */ member in union:bpf_attr::__anon2609::__anon2610 1810 __u32 prog_fd; member in struct:bpf_attr::__anon2629 [all...] |
/linux-master/drivers/hid/bpf/ |
H A D | hid_bpf_dispatch.c | 248 static int do_hid_bpf_attach_prog(struct hid_device *hdev, int prog_fd, struct bpf_prog *prog, argument 297 hid_bpf_attach_prog(unsigned int hid_id, int prog_fd, __u32 flags) argument
|
H A D | hid_bpf_jmp_table.c | 308 static int hid_bpf_insert_prog(int prog_fd, struct bpf_prog *prog) argument 397 __hid_bpf_attach_prog(struct hid_device *hdev, enum hid_bpf_prog_type prog_type, int prog_fd, struct bpf_prog *prog, __u32 flags) argument
|