Home
last modified time | relevance | path

Searched refs:prog_attach_flags (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/bpf/bpftool/
Dcgroup.c231 __u32 prog_attach_flags[1024] = {0}; in show_attached_bpf_progs() local
241 p.prog_attach_flags = prog_attach_flags; in show_attached_bpf_progs()
253 attach_flags = prog_attach_flags[iter] ?: p.attach_flags; in show_attached_bpf_progs()
/linux-6.1.9/tools/lib/bpf/
Dbpf.h380 __u32 *prog_attach_flags; member
382 #define bpf_prog_query_opts__last_field prog_attach_flags
Dbpf.c838 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c40 p.prog_attach_flags = malloc(sizeof(u32) * p.prog_cnt); in query_prog_cnt()
59 free(p.prog_attach_flags); in query_prog_cnt()
/linux-6.1.9/kernel/bpf/
Dcgroup.c1022 __u32 __user *prog_attach_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in __cgroup_bpf_query() local
1033 if (effective_query && prog_attach_flags) in __cgroup_bpf_query()
1038 prog_ids && !prog_attach_flags) in __cgroup_bpf_query()
1101 if (prog_attach_flags) { in __cgroup_bpf_query()
1105 if (copy_to_user(prog_attach_flags + i, in __cgroup_bpf_query()
1108 prog_attach_flags += cnt; in __cgroup_bpf_query()
Dsyscall.c3551 #define BPF_PROG_QUERY_LAST_FIELD query.prog_attach_flags
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h1464 __aligned_u64 prog_attach_flags; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h1464 __aligned_u64 prog_attach_flags; member