Searched refs:bpf_prog_query (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_attach_multi.c | 155 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_multi() 159 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_multi() 168 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_multi() 177 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, NULL, in test_cgroup_attach_multi() 273 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_multi() 278 CHECK_FAIL(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, NULL, in test_cgroup_attach_multi()
|
D | cgroup_link.c | 76 err = bpf_prog_query(cgs[0].fd, BPF_CGROUP_INET_EGRESS, in test_cgroup_link() 85 err = bpf_prog_query(cgs[last_cg].fd, BPF_CGROUP_INET_EGRESS, in test_cgroup_link() 95 err = bpf_prog_query(cgs[last_cg].fd, BPF_CGROUP_INET_EGRESS, in test_cgroup_link()
|
D | cgroup_attach_autodetach.c | 59 if (CHECK(bpf_prog_query(cg, BPF_CGROUP_INET_EGRESS, 0, &attach_flags, in test_cgroup_attach_autodetach()
|
D | flow_dissector_reattach.c | 27 err = bpf_prog_query(netns, BPF_FLOW_DISSECTOR, 0, NULL, in query_attached_prog_id()
|
D | sk_lookup.c | 543 err = bpf_prog_query(net_fd, BPF_SK_LOOKUP, 0 /* query flags */, in query_lookup_prog()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 88 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main() 156 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main()
|
D | test_dev_cgroup.c | 48 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_DEVICE, 0, NULL, NULL, in main()
|
D | test_netcnt.c | 76 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_INET_EGRESS, 0, NULL, NULL, in main()
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | cgroup.c | 96 ret = bpf_prog_query(cgroup_fd, type, query_flags, NULL, in count_attached_bpf_progs() 134 ret = bpf_prog_query(cgroup_fd, type, query_flags, &attach_flags, in show_attached_bpf_progs()
|
D | net.c | 499 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
D | libbpf.map | 66 bpf_prog_query;
|
D | bpf.h | 234 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
|
D | bpf.c | 655 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query() function
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | syscall.c | 3076 static int bpf_prog_query(const union bpf_attr *attr, in bpf_prog_query() function 4435 err = bpf_prog_query(&attr, uattr); in SYSCALL_DEFINE3()
|