Searched refs:prog_attach_flags (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H A D | cgroup.c | 231 __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()
|
H A D | net.c | 462 optq.prog_attach_flags = prog_flags; in __show_dev_tc_bpf()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 40 p.prog_attach_flags = malloc(sizeof(u32) * p.prog_cnt); in query_prog_cnt() 60 free(p.prog_attach_flags); in query_prog_cnt()
|
H A D | tc_opts.c | 717 optq.prog_attach_flags = prog_flags; in test_tc_opts_replace_target() 734 ASSERT_EQ(optq.prog_attach_flags[0], 0, "prog_flags[0]"); in test_tc_opts_replace_target() 735 ASSERT_EQ(optq.prog_attach_flags[1], 0, "prog_flags[1]"); in test_tc_opts_replace_target() 736 ASSERT_EQ(optq.prog_attach_flags[2], 0, "prog_flags[2]"); in test_tc_opts_replace_target() 1521 optq.prog_attach_flags = prog_flags; in test_tc_opts_mixed_target() 1538 ASSERT_EQ(optq.prog_attach_flags[0], 0, "prog_flags[0]"); in test_tc_opts_mixed_target() 1542 ASSERT_EQ(optq.prog_attach_flags[1], 0, "prog_flags[1]"); in test_tc_opts_mixed_target() 1546 ASSERT_EQ(optq.prog_attach_flags[2], 0, "prog_flags[2]"); in test_tc_opts_mixed_target() 1550 ASSERT_EQ(optq.prog_attach_flags[3], 0, "prog_flags[3]"); in test_tc_opts_mixed_target() 2571 ASSERT_EQ(attr.query.prog_attach_flags, 0, "prog_attach_flags"); in test_tc_opts_query_target() [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 1040 __u32 __user *prog_attach_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in __cgroup_bpf_query() local 1051 if (effective_query && prog_attach_flags) in __cgroup_bpf_query() 1056 prog_ids && !prog_attach_flags) in __cgroup_bpf_query() 1119 if (prog_attach_flags) { in __cgroup_bpf_query() 1123 if (copy_to_user(prog_attach_flags + i, in __cgroup_bpf_query() 1126 prog_attach_flags += cnt; in __cgroup_bpf_query()
|
H A D | mprog.c | 421 uprog_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in bpf_mprog_query()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 563 __u32 *prog_attach_flags; member
|
H A D | bpf.c | 922 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts()
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1562 __aligned_u64 prog_attach_flags; member
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1562 __aligned_u64 prog_attach_flags; member
|