Home
last modified time | relevance | path

Searched refs:bpf_prog_query (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_cgroup_attach.c367 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
371 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
379 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
387 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, in test_multiprog()
431 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
435 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, in test_multiprog()
494 assert(bpf_prog_query(cg, BPF_CGROUP_INET_EGRESS, 0, &attach_flags, in test_autodetach()
Dtest_lirc_mode2_user.c88 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()
Dtest_dev_cgroup.c59 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_DEVICE, 0, NULL, NULL, in main()
Dtest_netcnt.c89 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_INET_EGRESS, 0, NULL, NULL, in main()
/Linux-v5.4/tools/bpf/bpftool/
Dcgroup.c112 ret = bpf_prog_query(cgroup_fd, type, query_flags, NULL, in count_attached_bpf_progs()
131 ret = bpf_prog_query(cgroup_fd, type, query_flags, &attach_flags, in show_attached_bpf_progs()
Dnet.c234 err = bpf_prog_query(fd, BPF_FLOW_DISSECTOR, 0, in query_flow_dissector()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.map66 bpf_prog_query;
Dbpf.h164 LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
Dbpf.c499 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query() function
/Linux-v5.4/kernel/bpf/
Dsyscall.c2053 static int bpf_prog_query(const union bpf_attr *attr, in bpf_prog_query() function
2893 err = bpf_prog_query(&attr, uattr); in SYSCALL_DEFINE3()