expected_attach_type 533 include/linux/filter.h enum bpf_attach_type expected_attach_type; /* For some prog types */ expected_attach_type 415 include/uapi/linux/bpf.h __u32 expected_attach_type; expected_attach_type 1449 kernel/bpf/cgroup.c return prog->expected_attach_type == expected_attach_type 1456 kernel/bpf/cgroup.c return prog->expected_attach_type == expected_attach_type 1484 kernel/bpf/cgroup.c return prog->expected_attach_type == BPF_CGROUP_GETSOCKOPT; expected_attach_type 1573 kernel/bpf/syscall.c if (!attr->expected_attach_type) expected_attach_type 1574 kernel/bpf/syscall.c attr->expected_attach_type = expected_attach_type 1582 kernel/bpf/syscall.c enum bpf_attach_type expected_attach_type) expected_attach_type 1586 kernel/bpf/syscall.c switch (expected_attach_type) { expected_attach_type 1595 kernel/bpf/syscall.c switch (expected_attach_type) { expected_attach_type 1609 kernel/bpf/syscall.c switch (expected_attach_type) { expected_attach_type 1617 kernel/bpf/syscall.c switch (expected_attach_type) { expected_attach_type 1672 kernel/bpf/syscall.c if (bpf_prog_load_check_attach_type(type, attr->expected_attach_type)) expected_attach_type 1680 kernel/bpf/syscall.c prog->expected_attach_type = attr->expected_attach_type; expected_attach_type 1883 kernel/bpf/syscall.c return attach_type == prog->expected_attach_type ? 0 : -EINVAL; expected_attach_type 1886 kernel/bpf/syscall.c prog->expected_attach_type != attach_type ? expected_attach_type 6193 kernel/bpf/verifier.c if (env->prog->expected_attach_type == BPF_CGROUP_UDP4_RECVMSG || expected_attach_type 6194 kernel/bpf/verifier.c env->prog->expected_attach_type == BPF_CGROUP_UDP6_RECVMSG) expected_attach_type 6198 kernel/bpf/verifier.c if (env->prog->expected_attach_type == BPF_CGROUP_INET_EGRESS) { expected_attach_type 6037 net/core/filter.c switch (prog->expected_attach_type) { expected_attach_type 6730 net/core/filter.c prog->expected_attach_type); expected_attach_type 6928 net/core/filter.c switch (prog->expected_attach_type) { expected_attach_type 6939 net/core/filter.c switch (prog->expected_attach_type) { expected_attach_type 6950 net/core/filter.c switch (prog->expected_attach_type) { expected_attach_type 6959 net/core/filter.c switch (prog->expected_attach_type) { expected_attach_type 127 samples/bpf/hbm.c .expected_attach_type = BPF_CGROUP_INET_EGRESS, expected_attach_type 1098 tools/bpf/bpftool/prog.c enum bpf_attach_type expected_attach_type; expected_attach_type 1140 tools/bpf/bpftool/prog.c &expected_attach_type); expected_attach_type 1240 tools/bpf/bpftool/prog.c &expected_attach_type); expected_attach_type 1247 tools/bpf/bpftool/prog.c bpf_program__set_expected_attach_type(pos, expected_attach_type); expected_attach_type 415 tools/include/uapi/linux/bpf.h __u32 expected_attach_type; expected_attach_type 230 tools/lib/bpf/bpf.c attr.expected_attach_type = load_attr->expected_attach_type; expected_attach_type 325 tools/lib/bpf/bpf.c load_attr.expected_attach_type = 0; expected_attach_type 75 tools/lib/bpf/bpf.h enum bpf_attach_type expected_attach_type; expected_attach_type 189 tools/lib/bpf/libbpf.c enum bpf_attach_type expected_attach_type; expected_attach_type 3378 tools/lib/bpf/libbpf.c load_attr.expected_attach_type = prog->expected_attach_type; expected_attach_type 3440 tools/lib/bpf/libbpf.c load_attr.expected_attach_type = 0; expected_attach_type 4461 tools/lib/bpf/libbpf.c prog->expected_attach_type = type; expected_attach_type 4487 tools/lib/bpf/libbpf.c enum bpf_attach_type expected_attach_type; expected_attach_type 4589 tools/lib/bpf/libbpf.c enum bpf_attach_type *expected_attach_type) expected_attach_type 4601 tools/lib/bpf/libbpf.c *expected_attach_type = section_names[i].expected_attach_type; expected_attach_type 4644 tools/lib/bpf/libbpf.c enum bpf_attach_type *expected_attach_type) expected_attach_type 4647 tools/lib/bpf/libbpf.c expected_attach_type); expected_attach_type 4807 tools/lib/bpf/libbpf.c attr.expected_attach_type = 0; expected_attach_type 4817 tools/lib/bpf/libbpf.c enum bpf_attach_type expected_attach_type; expected_attach_type 4842 tools/lib/bpf/libbpf.c expected_attach_type = attr->expected_attach_type; expected_attach_type 4845 tools/lib/bpf/libbpf.c &expected_attach_type); expected_attach_type 4854 tools/lib/bpf/libbpf.c expected_attach_type); expected_attach_type 127 tools/lib/bpf/libbpf.h enum bpf_attach_type *expected_attach_type); expected_attach_type 348 tools/lib/bpf/libbpf.h enum bpf_attach_type expected_attach_type; expected_attach_type 76 tools/lib/bpf/libbpf_probes.c xattr.expected_attach_type = BPF_CGROUP_INET4_CONNECT; expected_attach_type 22 tools/testing/selftests/bpf/prog_tests/sockopt.c enum bpf_attach_type expected_attach_type; expected_attach_type 49 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = 0, expected_attach_type 61 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 72 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 93 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 117 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 143 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 159 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 186 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 204 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 220 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 247 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 269 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 288 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 310 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 325 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 339 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 374 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 394 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = 0, expected_attach_type 406 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_GETSOCKOPT, expected_attach_type 417 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 439 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 462 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 488 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 506 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 542 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 560 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 596 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 612 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 628 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 645 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 682 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 708 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 724 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 738 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 752 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 789 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 835 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = BPF_CGROUP_SETSOCKOPT, expected_attach_type 853 tools/testing/selftests/bpf/prog_tests/sockopt.c enum bpf_attach_type expected_attach_type) expected_attach_type 857 tools/testing/selftests/bpf/prog_tests/sockopt.c .expected_attach_type = expected_attach_type, expected_attach_type 883 tools/testing/selftests/bpf/prog_tests/sockopt.c prog_fd = load_prog(test->insns, test->expected_attach_type); expected_attach_type 124 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c .expected_attach_type = BPF_CGROUP_SOCK_OPS, expected_attach_type 14 tools/testing/selftests/bpf/test_section_names.c enum bpf_attach_type expected_attach_type; expected_attach_type 151 tools/testing/selftests/bpf/test_section_names.c enum bpf_attach_type expected_attach_type; expected_attach_type 156 tools/testing/selftests/bpf/test_section_names.c &expected_attach_type); expected_attach_type 172 tools/testing/selftests/bpf/test_section_names.c if (expected_attach_type != test->expected_load.expected_attach_type) { expected_attach_type 174 tools/testing/selftests/bpf/test_section_names.c expected_attach_type, test->sec_name); expected_attach_type 30 tools/testing/selftests/bpf/test_sock.c enum bpf_attach_type expected_attach_type; expected_attach_type 336 tools/testing/selftests/bpf/test_sock.c attr.expected_attach_type = attach_type; expected_attach_type 405 tools/testing/selftests/bpf/test_sock.c progfd = load_sock_prog(test->insns, test->expected_attach_type); expected_attach_type 64 tools/testing/selftests/bpf/test_sock_addr.c enum bpf_attach_type expected_attach_type; expected_attach_type 649 tools/testing/selftests/bpf/test_sock_addr.c load_attr.expected_attach_type = test->expected_attach_type; expected_attach_type 838 tools/testing/selftests/bpf/test_sock_addr.c attr.expected_attach_type = test->expected_attach_type; expected_attach_type 16 tools/testing/selftests/bpf/test_stub.c attr.expected_attach_type = 0; expected_attach_type 31 tools/testing/selftests/bpf/test_stub.c load_attr.expected_attach_type = 0; expected_attach_type 115 tools/testing/selftests/bpf/test_verifier.c enum bpf_attach_type expected_attach_type; expected_attach_type 941 tools/testing/selftests/bpf/test_verifier.c attr.expected_attach_type = test->expected_attach_type; expected_attach_type 12 tools/testing/selftests/bpf/verifier/wide_access.c .expected_attach_type = BPF_CGROUP_UDP6_SENDMSG, \ expected_attach_type 49 tools/testing/selftests/bpf/verifier/wide_access.c .expected_attach_type = BPF_CGROUP_UDP6_SENDMSG, \