Searched defs:prog_fd (Results 1 - 25 of 133) sorted by last modified time

123456

/linux-master/tools/lib/bpf/
H A Dlibbpf.c8349 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 Dnetlink.c322 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 Dlibbpf.h1246 int prog_fd; member in struct:bpf_tc_opts
H A Dfeatures.c347 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 Dbpf.h463 int prog_fd; member in struct:bpf_prog_test_run_attr
[all...]
H A Dbpf.c115 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 Dbpf_lock_contention.c191 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 Dbpf_counter.c108 int prog_fd; local
/linux-master/tools/perf/
H A Dbuiltin-trace.c3463 int prog_fd; local
3512 int prog_fd; local
/linux-master/tools/testing/selftests/bpf/
H A Dtesting_helpers.c283 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 Dtoken.c638 int err, token_fd = -1, prog_fd = -1; local
[all...]
H A Dtask_local_storage.c82 int err, map_fd, prog_fd, task_fd; local
170 int i, prog_fd, err; local
H A Dspin_lock.c117 int err, prog_fd = *(u32 *) arg; local
134 int prog_fd, i; local
H A Dmptcp.c158 int client_fd, prog_fd, map_fd, err; local
H A Dfib_lookup.c233 int prog_fd, err, ret, i; local
H A Dctx_rewrite.c701 int err = 0, prog_fd = 0; local
H A Dbtf.c4793 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 Dtimer.c11 int i, err, prog_fd = *(int *)arg; local
26 int i, err, prog_fd; local
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1600 __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 Dprog.c219 static void *find_metadata(int prog_fd, struct bpf_map_info *map_info) argument
H A Dlink.c238 int err, prog_fd; local
/linux-master/kernel/bpf/
H A Dbpf_struct_ops.c599 int prog_fd, err; local
/linux-master/include/uapi/linux/
H A Dbpf.h1600 __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 Dhid_bpf_dispatch.c248 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 Dhid_bpf_jmp_table.c308 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

Completed in 394 milliseconds

123456