Searched refs:bpf_prog_query (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | test_cgrp2_attach2.c | 341 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/ |
D | test_lirc_mode2_user.c | 86 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()
|
D | test_dev_cgroup.c | 62 if (bpf_prog_query(cgroup_fd, BPF_CGROUP_DEVICE, 0, NULL, NULL, in main()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | cgroup.c | 103 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/ |
D | bpf.h | 106 int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
|
D | bpf.c | 370 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/ |
D | syscall.c | 1701 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()
|