Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dtest_cgrp2_attach2.c341 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
345 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
353 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
361 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, in test_multiprog()
405 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, BPF_F_QUERY_EFFECTIVE, in test_multiprog()
409 assert(bpf_prog_query(cg5, BPF_CGROUP_INET_EGRESS, 0, in test_multiprog()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lirc_mode2_user.c86 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main()
129 ret = bpf_prog_query(lircfd, BPF_LIRC_MODE2, 0, prog_flags, prog_ids, in main()
Dtest_dev_cgroup.c62 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_DEVICE, 0, NULL, NULL, in main()
/Linux-v4.19/tools/bpf/bpftool/
Dcgroup.c103 ret = bpf_prog_query(cgroup_fd, type, 0, NULL, NULL, &prog_cnt); in count_attached_bpf_progs()
121 ret = bpf_prog_query(cgroup_fd, type, 0, &attach_flags, prog_ids, in show_attached_bpf_progs()
/Linux-v4.19/tools/lib/bpf/
Dbpf.h106 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
Dbpf.c370 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags, in bpf_prog_query() function
/Linux-v4.19/kernel/bpf/
Dsyscall.c1701 static int bpf_prog_query(const union bpf_attr *attr, in bpf_prog_query() function
2387 err = bpf_prog_query(&attr, uattr); in SYSCALL_DEFINE3()