Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c717 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, in test_tc_opts_query_target()
[all...]
/linux/kernel/bpf/
H A Dcgroup.c1213 __u32 __user *prog_attach_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in __cgroup_bpf_query() local
1225 if (effective_query && prog_attach_flags) in __cgroup_bpf_query()
1230 prog_ids && !prog_attach_flags) in __cgroup_bpf_query()
1297 if (prog_attach_flags) { in __cgroup_bpf_query()
1301 if (copy_to_user(prog_attach_flags + i, in __cgroup_bpf_query()
1304 prog_attach_flags += cnt; in __cgroup_bpf_query()
H A Dmprog.c421 uprog_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in bpf_mprog_query()
/linux/tools/bpf/bpftool/
H A Dnet.c474 optq.prog_attach_flags = prog_flags; in __show_dev_tc_bpf()
/linux/include/uapi/linux/
H A Dbpf.h1741 __aligned_u64 prog_attach_flags;
1715 __aligned_u64 prog_attach_flags; global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h1741 __aligned_u64 prog_attach_flags;
1715 __aligned_u64 prog_attach_flags; global() member