CHECK_ATTR 558 kernel/bpf/syscall.c err = CHECK_ATTR(BPF_MAP_CREATE); CHECK_ATTR 750 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_LOOKUP_ELEM)) CHECK_ATTR 885 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_UPDATE_ELEM)) CHECK_ATTR 996 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_DELETE_ELEM)) CHECK_ATTR 1047 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_GET_NEXT_KEY)) CHECK_ATTR 1114 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_LOOKUP_AND_DELETE_ELEM)) CHECK_ATTR 1173 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_FREEZE)) CHECK_ATTR 1640 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_LOAD)) CHECK_ATTR 1776 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_OBJ) || attr->file_flags != 0) CHECK_ATTR 1784 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_OBJ) || attr->bpf_fd != 0 || CHECK_ATTR 1907 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_ATTACH)) CHECK_ATTR 2001 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_DETACH)) CHECK_ATTR 2060 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_QUERY)) CHECK_ATTR 2106 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_TEST_RUN)) CHECK_ATTR 2138 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_OBJ_GET_NEXT_ID) || next_id >= INT_MAX) CHECK_ATTR 2164 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_PROG_GET_FD_BY_ID)) CHECK_ATTR 2197 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_MAP_GET_FD_BY_ID) || CHECK_ATTR 2667 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_OBJ_GET_INFO_BY_FD)) CHECK_ATTR 2693 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_BTF_LOAD)) CHECK_ATTR 2706 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_BTF_GET_FD_BY_ID)) CHECK_ATTR 2775 kernel/bpf/syscall.c if (CHECK_ATTR(BPF_TASK_FD_QUERY)) CHECK_ATTR 13 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK_ATTR(memcmp(&got, &expected, sizeof(got)) != 0, \ CHECK_ATTR 474 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK_ATTR(tattr.data_size_out != sizeof(flow_keys) || CHECK_ATTR 517 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK_ATTR(err, tests[i].name, "bpf_map_lookup_elem %d\n", err); CHECK_ATTR 519 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK_ATTR(err, tests[i].name, "skb-less err %d\n", err); CHECK_ATTR 523 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK_ATTR(err, tests[i].name, "bpf_map_delete_elem %d\n", err); CHECK_ATTR 20 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c if (CHECK_ATTR(err, "load", "err %d errno %d\n", err, errno)) CHECK_ATTR 26 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(err != -1 || errno != ENOSPC || tattr.retval, "run", CHECK_ATTR 29 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(tattr.data_size_out != sizeof(pkt_v4), "data_size_out", CHECK_ATTR 33 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(buf[5] != 0, "overflow", CHECK_ATTR 41 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(err || errno || tattr.retval, "run_no_output", CHECK_ATTR 46 tools/testing/selftests/bpf/prog_tests/prog_run_xattr.c CHECK_ATTR(err != -EINVAL, "run_wrong_size_out", "err %d\n", err); CHECK_ATTR 28 tools/testing/selftests/bpf/prog_tests/skb_ctx.c if (CHECK_ATTR(err, "load", "err %d errno %d\n", err, errno)) CHECK_ATTR 35 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "ctx_size_in", "err %d errno %d\n", err, errno); CHECK_ATTR 42 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "ctx_size_out", "err %d errno %d\n", err, errno); CHECK_ATTR 49 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "len", "err %d errno %d\n", err, errno); CHECK_ATTR 54 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "tc_index", "err %d errno %d\n", err, errno); CHECK_ATTR 61 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "hash", "err %d errno %d\n", err, errno); CHECK_ATTR 66 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err == 0, "sk", "err %d errno %d\n", err, errno); CHECK_ATTR 70 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(err != 0 || tattr.retval, CHECK_ATTR 75 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(tattr.ctx_size_out != sizeof(skb), CHECK_ATTR 81 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(skb.cb[i] != i + 2, CHECK_ATTR 85 tools/testing/selftests/bpf/prog_tests/skb_ctx.c CHECK_ATTR(skb.priority != 7,