CHECK 675 drivers/hwmon/smsc47m1.c case CHECK: CHECK 871 drivers/hwmon/smsc47m1.c err = smsc47m1_handle_resources(address, sio_data->type, CHECK, NULL); CHECK 293 drivers/usb/gadget/udc/aspeed-vhub/epn.c CHECK(ep, is_last_desc == (len < ep->ep.maxpacket || CHECK 307 drivers/usb/gadget/udc/aspeed-vhub/epn.c CHECK(ep, d_last == ep->epn.d_last, CHECK 553 fs/ext2/super.c clear_opt (opts->s_mount_opt, CHECK); CHECK 248 include/linux/amba/clcd.h if (CHECK(right_margin, (5+1), 256) || /* back porch */ CHECK 249 include/linux/amba/clcd.h CHECK(left_margin, (5+1), 256) || /* front porch */ CHECK 250 include/linux/amba/clcd.h CHECK(hsync_len, (5+1), 256) || CHECK 272 include/linux/amba/clcd.h (CHECK(xres) || CHECK 273 include/linux/amba/clcd.h CHECK(yres) || CHECK 274 include/linux/amba/clcd.h CHECK(bits_per_pixel) || CHECK 275 include/linux/amba/clcd.h CHECK(pixclock) || CHECK 276 include/linux/amba/clcd.h CHECK(left_margin) || CHECK 277 include/linux/amba/clcd.h CHECK(right_margin) || CHECK 278 include/linux/amba/clcd.h CHECK(upper_margin) || CHECK 279 include/linux/amba/clcd.h CHECK(lower_margin) || CHECK 280 include/linux/amba/clcd.h CHECK(hsync_len) || CHECK 281 include/linux/amba/clcd.h CHECK(vsync_len) || CHECK 282 include/linux/amba/clcd.h CHECK(sync))) CHECK 36 lib/percpu_test.c CHECK(l, long_counter, -1); CHECK 40 lib/percpu_test.c CHECK(l, long_counter, 0); CHECK 47 lib/percpu_test.c CHECK(ul, ulong_counter, 1); CHECK 51 lib/percpu_test.c CHECK(ul, ulong_counter, 0); CHECK 55 lib/percpu_test.c CHECK(ul, ulong_counter, -1); CHECK 62 lib/percpu_test.c CHECK(ul, ulong_counter, -1); CHECK 63 lib/percpu_test.c CHECK(ul, ulong_counter, ULONG_MAX); CHECK 67 lib/percpu_test.c CHECK(l, long_counter, 0xffffffff); CHECK 71 lib/percpu_test.c CHECK(l, long_counter, (long)0x100000000LL); CHECK 79 lib/percpu_test.c CHECK(l, long_counter, -1); CHECK 86 lib/percpu_test.c CHECK(l, long_counter, 1); CHECK 90 lib/percpu_test.c CHECK(l, long_counter, (long)0x100000000LL); CHECK 97 lib/percpu_test.c CHECK(l, long_counter, -1); CHECK 98 lib/percpu_test.c CHECK(l, long_counter, ULONG_MAX); CHECK 105 lib/percpu_test.c CHECK(ul, ulong_counter, 1); CHECK 112 lib/percpu_test.c CHECK(ul, ulong_counter, -1); CHECK 113 lib/percpu_test.c CHECK(ul, ulong_counter, ULONG_MAX); CHECK 119 lib/percpu_test.c CHECK(ul, ulong_counter, 2); CHECK 122 lib/percpu_test.c CHECK(ul, ulong_counter, 1); CHECK 112 lib/test_bitfield.c CHECK(u8, 0x0f); CHECK 113 lib/test_bitfield.c CHECK(u8, 0xf0); CHECK 114 lib/test_bitfield.c CHECK(u8, 0x38); CHECK 116 lib/test_bitfield.c CHECK(u16, 0x0038); CHECK 117 lib/test_bitfield.c CHECK(u16, 0x0380); CHECK 118 lib/test_bitfield.c CHECK(u16, 0x3800); CHECK 119 lib/test_bitfield.c CHECK(u16, 0x8000); CHECK 121 lib/test_bitfield.c CHECK(u32, 0x80000000); CHECK 122 lib/test_bitfield.c CHECK(u32, 0x7f000000); CHECK 123 lib/test_bitfield.c CHECK(u32, 0x07e00000); CHECK 124 lib/test_bitfield.c CHECK(u32, 0x00018000); CHECK 126 lib/test_bitfield.c CHECK(u64, 0x8000000000000000ull); CHECK 127 lib/test_bitfield.c CHECK(u64, 0x7f00000000000000ull); CHECK 128 lib/test_bitfield.c CHECK(u64, 0x0001800000000000ull); CHECK 129 lib/test_bitfield.c CHECK(u64, 0x0000000080000000ull); CHECK 130 lib/test_bitfield.c CHECK(u64, 0x000000007f000000ull); CHECK 131 lib/test_bitfield.c CHECK(u64, 0x0000000018000000ull); CHECK 132 lib/test_bitfield.c CHECK(u64, 0x0000001f8000000ull); CHECK 400 lib/zlib_inflate/inflate.c state->mode = CHECK; CHECK 689 lib/zlib_inflate/inflate.c case CHECK: CHECK 729 lib/zlib_inflate/inflate.c if (state->wsize || (state->mode < CHECK && out != strm->avail_out)) CHECK 196 scripts/dtc/checks.c CHECK(always_fail, check_always_fail, NULL); CHECK 323 scripts/dtc/checks.c CHECK(node_name_chars_strict, check_node_name_chars_strict, PROPNODECHARSSTRICT); CHECK 405 scripts/dtc/checks.c CHECK(property_name_chars_strict, check_property_name_chars_strict, PROPNODECHARSSTRICT); CHECK 1526 scripts/dtc/checks.c CHECK(deprecated_gpio_property, check_deprecated_gpio_property, NULL); CHECK 62 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "setup_cgroup_environment", "err %d errno %d\n", err, CHECK 67 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(cgroup_fd < 0, "create_and_get_cgroup", "err %d errno %d\n", CHECK 72 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "join_cgroup", "err %d errno %d\n", err, errno)) CHECK 76 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "bpf_prog_load", "err %d errno %d\n", err, errno)) CHECK 80 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(cgidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", CHECK 85 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(pidmap_fd < 0, "bpf_find_map", "err %d errno %d\n", CHECK 95 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) CHECK 99 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(bytes <= 0 || bytes >= sizeof(buf), "read", CHECK 113 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(pmu_fd < 0, "perf_event_open", "err %d errno %d\n", pmu_fd, CHECK 118 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "perf_event_ioc_enable", "err %d errno %d\n", err, CHECK 123 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "perf_event_ioc_set_bpf", "err %d errno %d\n", err, CHECK 131 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(err, "bpf_map_lookup_elem", "err %d errno %d\n", err, errno)) CHECK 135 tools/testing/selftests/bpf/get_cgroup_id_user.c if (CHECK(kcgid != ucgid, "compare_cgroup_id", CHECK 151 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(btf_fd == -1, "bpf_load_btf", "btf_fd:%d errno:%d\n", CHECK 158 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(map_fd == -1, CHECK 418 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "setrlimit(RLIMIT_NOFILE)", "rlim_new:%lu errno:%d", CHECK 434 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "test_sk_storage_map_stress_free", "err:%d\n", err); CHECK 457 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "test_sk_storage_map_stress_change", "err:%d\n", err); CHECK 470 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(btf_fd == -1, "bpf_load_btf", "btf_fd:%d errno:%d\n", CHECK 475 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(sk_fd == -1, "socket()", "sk_fd:%d errno:%d\n", CHECK 479 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(map_fd == -1, "bpf_create_map_xattr(good_xattr)", CHECK 486 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "bpf_map_update_elem(BPF_NOEXIST|BPF_F_LOCK)", CHECK 490 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, CHECK 499 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "bpf_map_update_elem(BPF_EXIST|BPF_F_LOCK)", CHECK 503 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, CHECK 511 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "bpf_map_update_elem(BPF_EXIST)", CHECK 515 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, CHECK 524 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EEXIST, CHECK 528 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EEXIST, "bpf_map_update_elem(BPF_NOEXIST)", CHECK 533 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, CHECK 541 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "bpf_map_update_elem()", "err:%d errno:%d\n", CHECK 545 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err || lookup_value.cnt != value.cnt, CHECK 552 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(err, "bpf_map_delete_elem()", "err:%d errno:%d\n", CHECK 556 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != ENOENT, CHECK 560 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != ENOENT, "bpf_map_delete_elem()", CHECK 566 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EINVAL, "bap_create_map_xattr(bad_xattr)", CHECK 572 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EINVAL, "bap_create_map_xattr(bad_xattr)", CHECK 578 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EINVAL, "bap_create_map_xattr(bad_xattr)", CHECK 584 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(!err || errno != EINVAL, "bap_create_map_xattr(bad_xattr)", CHECK 628 tools/testing/selftests/bpf/map_tests/sk_storage_map.c CHECK(1, "Invalid test_name", "%s\n", test_name); CHECK 47 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(base_addr < 0, "get_base_addr", CHECK 54 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(err, "obj_load", "err %d errno %d\n", err, errno)) CHECK 58 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(!kprobe_prog, "find_probe", CHECK 62 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(!kretprobe_prog, "find_probe", CHECK 66 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(!uprobe_prog, "find_probe", CHECK 70 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(!uretprobe_prog, "find_probe", CHECK 76 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(results_map_fd < 0, "find_results_map", CHECK 83 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", CHECK 91 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(IS_ERR(kretprobe_link), "attach_kretprobe", CHECK 101 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(IS_ERR(uprobe_link), "attach_uprobe", CHECK 111 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(IS_ERR(uretprobe_link), "attach_uretprobe", CHECK 121 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(err, "get_kprobe_res", CHECK 124 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(res != kprobe_idx + 1, "check_kprobe_res", CHECK 129 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(err, "get_kretprobe_res", CHECK 132 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(res != kretprobe_idx + 1, "check_kretprobe_res", CHECK 140 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(err, "get_uprobe_res", CHECK 143 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(res != uprobe_idx + 1, "check_uprobe_res", CHECK 148 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(err, "get_uretprobe_res", CHECK 151 tools/testing/selftests/bpf/prog_tests/attach_probe.c if (CHECK(res != uretprobe_idx + 1, "check_uretprobe_res", CHECK 32 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(err >= 0 || errno != ENOENT, CHECK 36 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(err >= 0 || errno != ENOENT, CHECK 68 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (CHECK(err || CHECK 109 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (CHECK(err || CHECK 154 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (CHECK(prog_fd < 0, "get-prog-fd(next_id)", CHECK 174 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (CHECK(!err || errno != EFAULT, CHECK 187 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(err || info_len != sizeof(struct bpf_prog_info) || CHECK 197 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(nr_id_found != nr_iters, CHECK 215 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c if (CHECK(map_fd < 0, "get-map-fd(next_id)", CHECK 234 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(err || info_len != sizeof(struct bpf_map_info) || CHECK 245 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c CHECK(nr_id_found != nr_iters, CHECK 309 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(IS_ERR_OR_NULL(obj), "obj_open", CHECK 315 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(!prog, "find_probe", CHECK 325 tools/testing/selftests/bpf/prog_tests/core_reloc.c CHECK(!err, "obj_load_fail", CHECK 329 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(err, "obj_load", CHECK 336 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", CHECK 341 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(!data_map, "find_data_map", "data map not found\n")) CHECK 349 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(err, "update_data_map", CHECK 357 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(err, "get_result", CHECK 363 tools/testing/selftests/bpf/prog_tests/core_reloc.c if (CHECK(!equal, "check_result", CHECK 490 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK(err, "bpf_prog_attach", "err %d errno %d\n", err, errno); CHECK 493 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK(tap_fd < 0, "create_tap", "tap_fd %d errno %d\n", tap_fd, errno); CHECK 495 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK(err, "ifup", "err %d errno %d\n", err, errno); CHECK 514 tools/testing/selftests/bpf/prog_tests/flow_dissector.c CHECK(err < 0, "tx_tap", "err %d errno %d\n", err, errno); CHECK 34 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c CHECK(fd < 0, CHECK 41 tools/testing/selftests/bpf/prog_tests/flow_dissector_load_bytes.c CHECK(size != sizeof(flow_keys) || err || retval != 1, CHECK 77 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c CHECK(!good_kern_stack, "kern_stack", "corrupted kernel stack\n"); CHECK 79 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c CHECK(!good_user_stack, "user_stack", "corrupted user stack\n"); CHECK 98 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(err >= 0, "prog_load raw tp", "err %d errno %d\n", err, errno)) CHECK 102 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(err, "prog_load raw tp", "err %d errno %d\n", err, errno)) CHECK 106 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(!prog, "find_probe", "prog '%s' not found\n", prog_name)) CHECK 110 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(!map, "bpf_find_map", "not found\n")) CHECK 114 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(err < 0, "load_kallsyms", "err %d errno %d\n", err, errno)) CHECK 120 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(err, "set_affinity", "err %d, errno %d\n", err, errno)) CHECK 124 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) CHECK 129 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) CHECK 138 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c if (err < 0 && CHECK(err < 0, "pb__poll", "err %d\n", err)) CHECK 33 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || num != tests[i].num, tests[i].name, CHECK 62 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || memcmp(str, tests[i].str, sizeof(str)), CHECK 96 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || memcmp(&val, &tests[i].val, sizeof(val)), CHECK 120 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(!err || errno != EPERM, "test .rodata read-only map", CHECK 132 tools/testing/selftests/bpf/prog_tests/global_data.c if (CHECK(err, "load program", "error %d loading %s\n", err, file)) CHECK 137 tools/testing/selftests/bpf/prog_tests/global_data.c CHECK(err || retval, "pass global data run", CHECK 53 tools/testing/selftests/bpf/prog_tests/l4lb_all.c CHECK(err || retval != 7/*TC_ACT_REDIRECT*/ || size != 54 || CHECK 60 tools/testing/selftests/bpf/prog_tests/l4lb_all.c CHECK(err || retval != 7/*TC_ACT_REDIRECT*/ || size != 74 || CHECK 40 tools/testing/selftests/bpf/prog_tests/obj_name.c CHECK((tests[i].success && fd < 0) || CHECK 61 tools/testing/selftests/bpf/prog_tests/obj_name.c CHECK((tests[i].success && fd < 0) || CHECK 15 tools/testing/selftests/bpf/prog_tests/perf_buffer.c CHECK(cpu_data != cpu, "check_cpu_data", CHECK 36 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(nr_cpus < 0, "nr_cpus", "err %d\n", nr_cpus)) CHECK 41 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(err, "nr_on_cpus", "err %d\n", err)) CHECK 50 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(err, "obj_load", "err %d errno %d\n", err, errno)) { CHECK 56 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(!prog, "find_probe", "prog '%s' not found\n", prog_name)) CHECK 61 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(!perf_buf_map, "find_perf_buf_map", "not found\n")) CHECK 67 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(IS_ERR(link), "attach_kprobe", "err %ld\n", PTR_ERR(link))) CHECK 74 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) CHECK 90 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (err && CHECK(err, "set_affinity", "cpu #%d, err %d\n", CHECK 99 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(err < 0, "perf_buffer__poll", "err %d\n", err)) CHECK 102 tools/testing/selftests/bpf/prog_tests/perf_buffer.c if (CHECK(CPU_COUNT(&cpu_seen) != nr_on_cpus, "seen_cpu_cnt", CHECK 17 tools/testing/selftests/bpf/prog_tests/pkt_access.c CHECK(err || retval, "ipv4", CHECK 23 tools/testing/selftests/bpf/prog_tests/pkt_access.c CHECK(err || retval, "ipv6", CHECK 17 tools/testing/selftests/bpf/prog_tests/pkt_md_access.c CHECK(err || retval, "", CHECK 67 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c CHECK(err || retval || size != sizeof(pkt_v4) || iph->daddr != val, CHECK 75 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c CHECK(err || retval != 2 /* TC_ACT_SHOT */|| size != sizeof(pkt_v4), CHECK 87 tools/testing/selftests/bpf/prog_tests/queue_stack_map.c CHECK(i != MAP_SIZE && (err || val != vals[i] * 5), CHECK 30 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c if (CHECK(bpf_fd < 0, "bpf_raw_tracepoint_writable load", CHECK 35 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_reject_nbd_invalid.c if (CHECK(tp_fd >= 0, "bpf_raw_tracepoint_writable open", CHECK 28 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c if (CHECK(bpf_fd < 0, "bpf_raw_tracepoint_writable loaded", CHECK 46 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c if (CHECK(filter_fd < 0, "test_program_loaded", "failed: %d errno %d\n", CHECK 51 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c if (CHECK(tp_fd < 0, "bpf_raw_tracepoint_writable opened", CHECK 62 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c CHECK(err != 42, "test_run", CHECK 64 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c CHECK(prog_ret != 0, "test_run_ret", CHECK 71 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c CHECK(err != 0, "test_run_notrace", CHECK 73 tools/testing/selftests/bpf/prog_tests/raw_tp_writable_test_run.c CHECK(prog_ret != 0, "test_run_ret_notrace", CHECK 36 tools/testing/selftests/bpf/prog_tests/reference_tracking.c CHECK(err, title, "\n"); CHECK 24 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pipe(pipe_c2p), test_name, CHECK 28 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pipe(pipe_p2c), test_name, CHECK 36 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pid < 0, test_name, "fork error: %s\n", strerror(errno))) { CHECK 77 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(err < 0, test_name, "bpf_prog_load error: %s\n", CHECK 83 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(pmu_fd < 0, test_name, "perf_event_open error: %s\n", CHECK 90 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(err < 0, test_name, "ioctl perf_event_ioc_enable error: %s\n", CHECK 95 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(err < 0, test_name, "ioctl perf_event_ioc_set_bpf error: %s\n", CHECK 101 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(info_map_fd < 0, test_name, "find map %s error\n", "info_map")) CHECK 105 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(status_map_fd < 0, test_name, "find map %s error\n", "status_map")) CHECK 121 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(err < 0, test_name, "reading pipe error: %s\n", strerror(errno))) CHECK 123 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(err == 0, test_name, "reading pipe error: size 0\n")) { CHECK 128 tools/testing/selftests/bpf/prog_tests/send_signal.c CHECK(buf[0] != '2', test_name, "incorrect result\n"); CHECK 157 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(efd < 0, "tracepoint", CHECK 164 tools/testing/selftests/bpf/prog_tests/send_signal.c if (CHECK(bytes <= 0 || bytes >= sizeof(buf), "tracepoint", CHECK 26 tools/testing/selftests/bpf/prog_tests/signal_pending.c CHECK(prog_fd < 0, "test-run", "errno %d\n", errno); CHECK 29 tools/testing/selftests/bpf/prog_tests/signal_pending.c CHECK(err, "test-run-signal-sigaction", "errno %d\n", errno); CHECK 32 tools/testing/selftests/bpf/prog_tests/signal_pending.c CHECK(err, "test-run-signal-timer", "errno %d\n", errno); CHECK 36 tools/testing/selftests/bpf/prog_tests/signal_pending.c CHECK(duration > 500000000, /* 500ms */ CHECK 22 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "prog_load", "err %d errno %d\n", err, errno)) CHECK 26 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) CHECK 30 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(IS_ERR(link), "attach_tp", "err %ld\n", PTR_ERR(link))) CHECK 35 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(control_map_fd < 0, "bpf_find_map control_map", CHECK 40 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(stackid_hmap_fd < 0, "bpf_find_map stackid_hmap", CHECK 45 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(stackmap_fd < 0, "bpf_find_map stackmap", "err %d errno %d\n", CHECK 50 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(stack_amap_fd < 0, "bpf_find_map stack_amap", CHECK 67 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", CHECK 72 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", CHECK 78 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "get build_id with readelf", CHECK 83 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "get_next_key from stackmap", CHECK 91 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(err, "lookup_elem from stackmap", CHECK 118 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c if (CHECK(build_id_matches < 1, "build id match", CHECK 125 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c CHECK(err, "compare_stack_ips stackmap vs. stack_amap", CHECK 42 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "prog_load", "err %d errno %d\n", err, errno)) CHECK 46 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) CHECK 57 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(pmu_fd < 0, "perf_event_open", "err %d errno %d\n", CHECK 62 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(IS_ERR(link), "attach_perf_event", CHECK 70 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(control_map_fd < 0, "bpf_find_map control_map", CHECK 75 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(stackid_hmap_fd < 0, "bpf_find_map stackid_hmap", CHECK 80 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(stackmap_fd < 0, "bpf_find_map stackmap", "err %d errno %d\n", CHECK 85 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(stack_amap_fd < 0, "bpf_find_map stack_amap", CHECK 102 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", CHECK 107 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", CHECK 113 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "get build_id with readelf", CHECK 118 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "get_next_key from stackmap", CHECK 126 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(err, "lookup_elem from stackmap", CHECK 153 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c if (CHECK(build_id_matches < 1, "build id match", CHECK 16 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(err, "prog_load", "err %d errno %d\n", err, errno)) CHECK 20 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) CHECK 24 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(IS_ERR(link), "attach_tp", "err %ld\n", PTR_ERR(link))) CHECK 56 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", CHECK 61 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", CHECK 67 tools/testing/selftests/bpf/prog_tests/stacktrace_map.c if (CHECK(err, "compare_stack_ips stackmap vs. stack_amap", CHECK 16 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c if (CHECK(err, "prog_load raw tp", "err %d errno %d\n", err, errno)) CHECK 20 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c if (CHECK(!prog, "find_prog", "prog '%s' not found\n", prog_name)) CHECK 24 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) CHECK 52 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c if (CHECK(err, "compare_map_keys stackid_hmap vs. stackmap", CHECK 57 tools/testing/selftests/bpf/prog_tests/stacktrace_map_raw_tp.c if (CHECK(err, "compare_map_keys stackmap vs. stackid_hmap", CHECK 15 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(err, "prog_load raw tp", "err %d errno %d\n", err, errno)) CHECK 19 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(efd < 0, "raw_tp_open", "err %d errno %d\n", efd, errno)) CHECK 26 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(err < 0, "bpf_task_fd_query", "err %d errno %d\n", err, CHECK 32 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(!err, "check_results", "fd_type %d tp_name %s\n", CHECK 40 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(err < 0, "bpf_task_fd_query (len = 0)", "err %d errno %d\n", CHECK 45 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(!err, "check_results", "fd_type %d len %u\n", fd_type, len)) CHECK 52 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(err < 0, "bpf_task_fd_query (buf = 0)", "err %d errno %d\n", CHECK 57 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(!err, "check_results", "fd_type %d len %u\n", fd_type, len)) CHECK 64 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(err >= 0 || errno != ENOSPC, "bpf_task_fd_query (len = 3)", CHECK 70 tools/testing/selftests/bpf/prog_tests/task_fd_query_rawtp.c if (CHECK(!err, "check_results", "fd_type %d len %u\n", fd_type, len)) CHECK 17 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(err, "bpf_prog_load", "err %d errno %d\n", err, errno)) CHECK 23 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) CHECK 27 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(bytes <= 0 || bytes >= sizeof(buf), "read", CHECK 39 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(err, "perf_event_open", "err %d errno %d\n", err, errno)) CHECK 43 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(err, "perf_event_ioc_enable", "err %d errno %d\n", err, CHECK 48 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(err, "perf_event_ioc_set_bpf", "err %d errno %d\n", err, CHECK 56 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(err < 0, "bpf_task_fd_query", "err %d errno %d\n", err, CHECK 61 tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c if (CHECK(!err, "check_results", "fd_type %d tp_name %s\n", CHECK 12 tools/testing/selftests/bpf/prog_tests/tcp_estats.c CHECK(err, "", "err %d errno %d\n", err, errno); CHECK 22 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(efd < 0, "open", "err %d errno %d\n", efd, errno)) CHECK 26 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(bytes <= 0 || bytes >= sizeof(buf), CHECK 40 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err, "prog_load", "err %d errno %d\n", err, errno)) CHECK 49 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err, "bpf_obj_get_info_by_fd", "err %d errno %d\n", CHECK 57 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(pmu_fd[i] < 0, "perf_event_open", "err %d errno %d\n", CHECK 61 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err, "perf_event_ioc_enable", "err %d errno %d\n", CHECK 69 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err || query->prog_cnt != 0, CHECK 77 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err, "perf_event_ioc_set_bpf", "err %d errno %d\n", CHECK 85 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err || query->prog_cnt != 2, CHECK 95 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(!err || errno != EFAULT, CHECK 103 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(!err || errno != ENOSPC || query->prog_cnt != 2, CHECK 112 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(err || query->prog_cnt != (i + 1), CHECK 118 tools/testing/selftests/bpf/prog_tests/tp_attach_query.c if (CHECK(saved_prog_ids[j] != query->ids[j], CHECK 31 tools/testing/selftests/bpf/prog_tests/xdp.c CHECK(err || retval != XDP_TX || size != 74 || CHECK 38 tools/testing/selftests/bpf/prog_tests/xdp.c CHECK(err || retval != XDP_TX || size != 114 || CHECK 19 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c CHECK(err || retval != XDP_DROP, CHECK 25 tools/testing/selftests/bpf/prog_tests/xdp_adjust_tail.c CHECK(err || retval != XDP_TX || size != 54, CHECK 54 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c CHECK(err || retval != 1 || size != 54 || CHECK 61 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c CHECK(err || retval != 1 || size != 74 || CHECK 3545 tools/testing/selftests/bpf/test_btf.c if (CHECK(type_sec_size < 0, "Cannot get nr_raw_types")) CHECK 3550 tools/testing/selftests/bpf/test_btf.c if (CHECK(!raw_btf, "Cannot allocate memory for raw_btf")) CHECK 3563 tools/testing/selftests/bpf/test_btf.c if (CHECK(!tmp_strs_idx, CHECK 3578 tools/testing/selftests/bpf/test_btf.c if (CHECK(next_str_idx == strs_cnt, CHECK 3588 tools/testing/selftests/bpf/test_btf.c if (CHECK(idx <= 0 || idx > strs_cnt, CHECK 3659 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "btf_fd:%d test->btf_load_err:%u", CHECK 3661 tools/testing/selftests/bpf/test_btf.c CHECK(test->err_str && !strstr(btf_log_buf, test->err_str), CHECK 3682 tools/testing/selftests/bpf/test_btf.c CHECK(err, "map_fd:%d test->map_create_err:%u", CHECK 3805 tools/testing/selftests/bpf/test_btf.c if (CHECK(!user_btf, "!user_btf")) { CHECK 3813 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd == -1, "errno:%d", errno)) { CHECK 3830 tools/testing/selftests/bpf/test_btf.c if (CHECK(!err, "!err")) { CHECK 3843 tools/testing/selftests/bpf/test_btf.c if (CHECK(err || info_len != sizeof(*info), CHECK 3890 tools/testing/selftests/bpf/test_btf.c if (CHECK(!user_btf[i], "!user_btf[%d]", i)) { CHECK 3901 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd[0] == -1, "errno:%d", errno)) { CHECK 3909 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "errno:%d", errno)) { CHECK 3915 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd[1] == -1, "errno:%d", errno)) { CHECK 3922 tools/testing/selftests/bpf/test_btf.c if (CHECK(err || info[0].id != info[1].id || CHECK 3943 tools/testing/selftests/bpf/test_btf.c if (CHECK(map_fd == -1, "errno:%d", errno)) { CHECK 3950 tools/testing/selftests/bpf/test_btf.c if (CHECK(err || map_info.btf_id != info[0].id || CHECK 3966 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd[0] == -1, "errno:%d", errno)) { CHECK 3977 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd[0] != -1, "BTF lingers")) { CHECK 4027 tools/testing/selftests/bpf/test_btf.c if (CHECK(!user_btf, "!user_btf")) { CHECK 4035 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd == -1, "errno:%d", errno)) { CHECK 4052 tools/testing/selftests/bpf/test_btf.c if (CHECK(err || !info.id || info_len != sizeof(info) || CHECK 4064 tools/testing/selftests/bpf/test_btf.c if (CHECK(user_btf[expected_nbytes++] != 0xff, CHECK 4148 tools/testing/selftests/bpf/test_btf.c if (CHECK(IS_ERR(obj), "obj: %ld", PTR_ERR(obj))) CHECK 4152 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "bpf_object__btf_fd: -1")) CHECK 4156 tools/testing/selftests/bpf/test_btf.c if (CHECK(!prog, "Cannot find bpf_prog")) { CHECK 4163 tools/testing/selftests/bpf/test_btf.c if (CHECK(err < 0, "bpf_object__load: %d", err)) CHECK 4168 tools/testing/selftests/bpf/test_btf.c if (CHECK(!map, "btf_map not found")) { CHECK 4175 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "btf_key_type_id:%u btf_value_type_id:%u test->btf_kv_notfound:%u", CHECK 4187 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "invalid get info (1st) errno:%d", errno)) { CHECK 4192 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_func_info != 3, CHECK 4199 tools/testing/selftests/bpf/test_btf.c if (CHECK(rec_size != sizeof(struct bpf_func_info), CHECK 4206 tools/testing/selftests/bpf/test_btf.c if (CHECK(!func_info, "out of memory")) { CHECK 4219 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "invalid get info (2nd) errno:%d", errno)) { CHECK 4224 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_func_info != 3, CHECK 4230 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.func_info_rec_size != rec_size, CHECK 4238 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "cannot get btf from kernel, err: %d", err)) CHECK 4248 tools/testing/selftests/bpf/test_btf.c if (CHECK(!t, "btf__type_by_id failure: id %u", CHECK 4261 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "incorrect fname %s", fname ? : "")) { CHECK 4740 tools/testing/selftests/bpf/test_btf.c if (CHECK(nexpected_line == expected_line_len, CHECK 4788 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd == -1, "errno:%d", errno)) { CHECK 4803 tools/testing/selftests/bpf/test_btf.c if (CHECK(map_fd == -1, "errno:%d", errno)) { CHECK 4811 tools/testing/selftests/bpf/test_btf.c if (CHECK(ret == sizeof(pin_path), "pin_path %s/%s is too long", CHECK 4818 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "bpf_obj_pin(%s): errno:%d.", pin_path, errno)) CHECK 4825 tools/testing/selftests/bpf/test_btf.c if (CHECK(!mapv, "mapv allocation failure")) { CHECK 4836 tools/testing/selftests/bpf/test_btf.c if (CHECK(!pin_file, "fopen(%s): errno:%d", pin_path, errno)) { CHECK 4846 tools/testing/selftests/bpf/test_btf.c if (CHECK(nread <= 0, "Unexpected EOF")) { CHECK 4917 tools/testing/selftests/bpf/test_btf.c CHECK(nr_read_elems < test->max_entries, CHECK 4924 tools/testing/selftests/bpf/test_btf.c if (CHECK(nread > 0, "Unexpected extra pprint output: %s", line)) { CHECK 5829 tools/testing/selftests/bpf/test_btf.c if (CHECK(!next_str, "Error in getting next_str\n")) { CHECK 5857 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "invalid get info (1st) errno:%d", errno)) { CHECK 5862 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_func_info != nr_func_info, CHECK 5869 tools/testing/selftests/bpf/test_btf.c if (CHECK(rec_size != sizeof(struct bpf_func_info), CHECK 5878 tools/testing/selftests/bpf/test_btf.c if (CHECK(!func_info, "out of memory")) CHECK 5887 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "invalid get info (2nd) errno:%d", errno)) { CHECK 5892 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_func_info != nr_func_info, CHECK 5898 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.func_info_rec_size != rec_size, CHECK 5909 tools/testing/selftests/bpf/test_btf.c if (CHECK(finfo->type_id != test->func_info[i][1], CHECK 5951 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1, "err:%d errno:%d", err, errno)) { CHECK 5963 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.nr_line_info != cnt || CHECK 5977 tools/testing/selftests/bpf/test_btf.c if (CHECK(info.line_info_rec_size != sizeof(struct bpf_line_info) || CHECK 5995 tools/testing/selftests/bpf/test_btf.c if (CHECK(!linfo, "!linfo")) { CHECK 6008 tools/testing/selftests/bpf/test_btf.c if (CHECK(!jited_linfo || !jited_ksyms || !jited_func_lens, CHECK 6030 tools/testing/selftests/bpf/test_btf.c if (CHECK(err == -1 || CHECK 6052 tools/testing/selftests/bpf/test_btf.c CHECK(linfo[0].insn_off, "linfo[0].insn_off:%u", CHECK 6062 tools/testing/selftests/bpf/test_btf.c if (CHECK(linfo[i].insn_off <= linfo[i - 1].insn_off, CHECK 6069 tools/testing/selftests/bpf/test_btf.c if (CHECK(linfo[i].file_name_off != expected_linfo->file_name_off || CHECK 6090 tools/testing/selftests/bpf/test_btf.c if (CHECK(jited_linfo[0] != jited_ksyms[0], CHECK 6109 tools/testing/selftests/bpf/test_btf.c if (CHECK(jited_linfo[i] <= jited_linfo[i - 1], CHECK 6117 tools/testing/selftests/bpf/test_btf.c if (CHECK(jited_linfo[i] - cur_func_ksyms > cur_func_len, CHECK 6126 tools/testing/selftests/bpf/test_btf.c if (CHECK(ksyms_found != nr_jited_ksyms, CHECK 6166 tools/testing/selftests/bpf/test_btf.c if (CHECK(btf_fd == -1, "invalid btf_fd errno:%d", errno)) { CHECK 6204 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "prog_fd:%d expected_prog_load_failure:%u errno:%d", CHECK 6206 tools/testing/selftests/bpf/test_btf.c CHECK(test->err_str && !strstr(btf_log_buf, test->err_str), CHECK 6743 tools/testing/selftests/bpf/test_btf.c if (CHECK(IS_ERR(test_btf), "invalid test_btf errno:%ld", CHECK 6757 tools/testing/selftests/bpf/test_btf.c if (CHECK(IS_ERR(expect_btf), "invalid expect_btf errno:%ld", CHECK 6764 tools/testing/selftests/bpf/test_btf.c if (CHECK(err, "btf_dedup failed errno:%d", err)) { CHECK 6771 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_btf_size != expect_btf_size, CHECK 6782 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_hdr->str_len != expect_hdr->str_len, CHECK 6802 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_len != expect_len, CHECK 6809 tools/testing/selftests/bpf/test_btf.c if (CHECK(strcmp(test_str_cur, expect_str_cur), CHECK 6818 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_str_cur != test_str_end, CHECK 6827 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_nr_types != expect_nr_types, CHECK 6843 tools/testing/selftests/bpf/test_btf.c if (CHECK(test_size != expect_size, CHECK 6849 tools/testing/selftests/bpf/test_btf.c if (CHECK(memcmp((void *)test_type, CHECK 70 tools/testing/selftests/bpf/test_btf_dump.c if (CHECK(IS_ERR(btf), CHECK 80 tools/testing/selftests/bpf/test_btf_dump.c if (CHECK(fd < 0, "failed to create temp output file: %d\n", fd)) { CHECK 85 tools/testing/selftests/bpf/test_btf_dump.c if (CHECK(f == NULL, "failed to open temp output file: %s(%d)\n", CHECK 95 tools/testing/selftests/bpf/test_btf_dump.c if (CHECK(err, "failure during C dumping: %d\n", err)) { CHECK 121 tools/testing/selftests/bpf/test_btf_dump.c if (CHECK(err, CHECK 62 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) CHECK 70 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err != -ENOENT, "unexpected result: %d\n", err)) CHECK 77 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(oldk != NULL || oldv != NULL, CHECK 82 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v %ld = %ld: %d\n", CHECK 86 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!hashmap__find(map, k, &oldv), CHECK 89 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(oldv != v, "found value is wrong: %ld\n", (long)oldv)) CHECK 93 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != ELEM_CNT, CHECK 96 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), CHECK 106 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(v - k != 1024, "invalid k/v pair: %ld = %ld\n", k, v)) CHECK 109 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_msk != (1ULL << ELEM_CNT) - 1, CHECK 118 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err != -EEXIST, "unexpected add result: %d\n", err)) CHECK 126 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to update k/v %ld = %ld: %d\n", CHECK 129 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!hashmap__find(map, k, &oldv), CHECK 132 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(oldv != v, "found value is wrong: %ld\n", (long)oldv)) CHECK 136 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != ELEM_CNT, CHECK 139 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), CHECK 149 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(v - k != 256, CHECK 153 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_msk != (1ULL << ELEM_CNT) - 1, CHECK 161 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!found_cnt, "didn't find any entries for key 0\n")) CHECK 176 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!hashmap__delete(map, k, &oldk, &oldv), CHECK 180 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(oldk != k || oldv != v, CHECK 184 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__delete(map, k, &oldk, &oldv), CHECK 190 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!found_cnt || !found_msk, CHECK 193 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != ELEM_CNT - found_cnt, CHECK 197 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__capacity(map) != exp_cap(hashmap__size(map)), CHECK 211 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(!hashmap__delete(map, k, &oldk, &oldv), CHECK 215 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(oldk != k || oldv != v, CHECK 219 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__delete(map, k, &oldk, &oldv), CHECK 225 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_cnt != ELEM_CNT || found_msk != (1ULL << ELEM_CNT) - 1, CHECK 229 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != 0, CHECK 236 tools/testing/selftests/bpf/test_hashmap.c CHECK(false, "unexpected map entries left: %ld = %ld\n", CHECK 243 tools/testing/selftests/bpf/test_hashmap.c CHECK(false, "unexpected map entries left: %ld = %ld\n", CHECK 269 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) CHECK 278 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 281 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 284 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 288 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 291 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 294 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(err, "failed to add k/v: %d\n", err)) CHECK 297 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != 6, CHECK 306 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_msk != (1 << 6) - 1, CHECK 315 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_msk != (1 | 2 | 4), CHECK 324 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(found_msk != (8 | 16 | 32), CHECK 343 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) CHECK 346 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__size(map) != 0, CHECK 349 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__capacity(map) != 0, CHECK 352 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__find(map, k, NULL), "unexpected find\n")) CHECK 354 tools/testing/selftests/bpf/test_hashmap.c if (CHECK(hashmap__delete(map, k, NULL, NULL), "unexpected delete\n")) CHECK 358 tools/testing/selftests/bpf/test_hashmap.c CHECK(false, "unexpected iterated entry\n"); CHECK 362 tools/testing/selftests/bpf/test_hashmap.c CHECK(false, "unexpected key entry\n"); CHECK 259 tools/testing/selftests/bpf/test_maps.c CHECK(fd < 0, CHECK 266 tools/testing/selftests/bpf/test_maps.c CHECK(ret != 0, CHECK 329 tools/testing/selftests/bpf/test_maps.c CHECK(bpf_map_get_next_key(second, key_ptr, &next_second) != 0, CHECK 332 tools/testing/selftests/bpf/test_maps.c CHECK(next_first != next_second, CHECK 1459 tools/testing/selftests/bpf/test_maps.c CHECK(fd64 == -1, "socket()", CHECK 1465 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "setsockopt(SO_REUSEPORT)", CHECK 1477 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != EINVAL, CHECK 1483 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "bind()", CHECK 1489 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "getsockname()", CHECK 1496 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "getsockopt(SO_COOKIE)", CHECK 1506 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != EINVAL, CHECK 1511 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "listen()", CHECK 1536 tools/testing/selftests/bpf/test_maps.c CHECK(map_fd == -1, "reuseport array create", CHECK 1541 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != E2BIG, "reuseport array del >=max_entries", CHECK 1545 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != E2BIG, CHECK 1550 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOENT, CHECK 1556 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOENT, CHECK 1560 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOENT, CHECK 1574 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOENT, CHECK 1583 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, CHECK 1592 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, CHECK 1600 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != EEXIST, CHECK 1609 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, CHECK 1618 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != EBUSY, CHECK 1624 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != EBUSY, CHECK 1631 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "reuseport array delete sk", CHECK 1637 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, CHECK 1643 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1 || sk_cookie != map_cookie, CHECK 1652 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOENT, CHECK 1660 tools/testing/selftests/bpf/test_maps.c CHECK(fd64 == -1, "socket(SOCK_RAW)", "err:%d errno:%d\n", CHECK 1663 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOTSUPP, "reuseport array update SOCK_RAW", CHECK 1673 tools/testing/selftests/bpf/test_maps.c CHECK(map_fd == -1, "reuseport array create", CHECK 1679 tools/testing/selftests/bpf/test_maps.c CHECK(err == -1, "reuseport array update 32 bit fd", CHECK 1682 tools/testing/selftests/bpf/test_maps.c CHECK(err != -1 || errno != ENOSPC, CHECK 309 tools/testing/selftests/bpf/test_progs.c CHECK(err || retval, "", CHECK 70 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(reuseport_array == -1, "creating reuseport_array", CHECK 81 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(outer_map == -1, "creating outer_map", CHECK 96 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(IS_ERR_OR_NULL(obj), "open test_select_reuseport_kern.o", CHECK 100 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!prog, "get first bpf_program", "!prog\n"); CHECK 104 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!map, "find outer_map", "!map\n"); CHECK 106 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err, "reuse outer_map", "err:%d\n", err); CHECK 109 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err, "load bpf_object", "err:%d\n", err); CHECK 112 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(select_by_skb_data_prog == -1, "get prog fd", CHECK 116 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!map, "find result_map", "!map\n"); CHECK 118 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(result_map == -1, "get result_map fd", CHECK 122 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!map, "find tmp_index_ovr_map", "!map\n"); CHECK 124 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(tmp_index_ovr_map == -1, "get tmp_index_ovr_map fd", CHECK 128 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!map, "find linum_map", "!map\n"); CHECK 130 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(linum_map == -1, "get linum_map fd", CHECK 134 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!map, "find data_check_map", "!map\n"); CHECK 136 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(data_check_map == -1, "get data_check_map fd", CHECK 166 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(fd == -1, "open(sysctl)", "sysctl:%s fd:%d errno:%d\n", CHECK 170 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(ret <= 0, "read(sysctl)", "sysctl:%s ret:%d errno:%d\n", CHECK 183 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(fd == -1, "open(sysctl)", "sysctl:%s fd:%d errno:%d\n", CHECK 188 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(ret != size, "write(sysctl)", CHECK 223 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "lookup_elem(linum_map)", "err:%d errno:%d\n", CHECK 240 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "getsockname(cli_fd)", "err:%d errno:%d\n", CHECK 244 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "lookup_elem(data_check_map)", "err:%d errno:%d\n", CHECK 287 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(1, "data_check result != expected", CHECK 291 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(!result.hash, "data_check result.hash empty", CHECK 296 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(expected.len > result.len, "expected.len > result.len", CHECK 300 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(expected.len != result.len, "expected.len != result.len", CHECK 313 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "lookup_elem(result_map)", CHECK 340 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(expected_results[broken] != results[broken], CHECK 353 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(fd == -1, "socket()", "fd:%d errno:%d\n", fd, errno); CHECK 357 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(fd == -1, "bind(cli_sa)", "err:%d errno:%d\n", err, errno); CHECK 361 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err != len && expected >= PASS, CHECK 379 tools/testing/selftests/bpf/test_select_reuseport.c CHECK((nev <= 0 && expected >= PASS) || CHECK 392 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(expected != PASS_ERR_SK_SELECT_REUSEPORT && CHECK 402 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(new_fd == -1, "accept(srv_fd)", CHECK 407 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nread != sizeof(rcv_cmd), CHECK 415 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nread != sizeof(rcv_cmd), CHECK 500 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "update_elem(tmp_index_ovr_map, 0, 1)", CHECK 505 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1 || tmp_index != -1, CHECK 538 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "setsockopt(SO_DETACH_REUSEPORT_BPF)", CHECK 543 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == 0 || errno != ENOENT, "setsockopt(SO_DETACH_REUSEPORT_BPF)", CHECK 548 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "lookup_elem(result_map)", CHECK 555 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nev <= 0, "nev <= 0", CHECK 561 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "lookup_elem(result_map)", CHECK 566 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(nr_run_before != nr_run_after, CHECK 597 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(sk_fds[i] == -1, "socket()", "sk_fds[%d]:%d errno:%d\n", CHECK 601 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "setsockopt(SO_REUSEPORT)", CHECK 610 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "setsockopt(SO_ATTACH_REUEPORT_EBPF)", CHECK 615 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "bind()", "sk_fds[%d] err:%d errno:%d\n", CHECK 620 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "listen()", CHECK 627 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "update_elem(reuseport_array)", CHECK 635 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "getsockname()", CHECK 641 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(epfd == -1, "epoll_create(1)", CHECK 648 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err, "epoll_ctl(EPOLL_CTL_ADD)", "sk_fds[%d]\n", i); CHECK 659 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "update_elem(tmp_index_ovr_map, 0, -1)", CHECK 671 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err, "reset elem in result_map", CHECK 676 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err, "reset line number in linum_map", "err:%d errno:%d\n", CHECK 684 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "delete_elem(outer_map)", CHECK 723 tools/testing/selftests/bpf/test_select_reuseport.c CHECK(err == -1, "update_elem(outer_map)", CHECK 131 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(linum_map_fd)", CHECK 136 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(linum_map_fd)", CHECK 140 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(sk_map_fd, &egress_srv_idx)", CHECK 143 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(tp_map_fd, &egress_srv_idx)", CHECK 147 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(sk_map_fd, &egress_cli_idx)", CHECK 150 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(tp_map_fd, &egress_cli_idx)", CHECK 154 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(sk_map_fd, &ingress_listen_idx)", CHECK 157 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_map_lookup_elem(tp_map_fd, &ingress_listen_idx)", CHECK 184 tools/testing/selftests/bpf/test_sock_fields.c CHECK(listen_sk.state != 10 || CHECK 197 tools/testing/selftests/bpf/test_sock_fields.c CHECK(srv_sk.state == 10 || CHECK 210 tools/testing/selftests/bpf/test_sock_fields.c CHECK(cli_sk.state == 10 || CHECK 223 tools/testing/selftests/bpf/test_sock_fields.c CHECK(listen_tp.data_segs_out || CHECK 230 tools/testing/selftests/bpf/test_sock_fields.c CHECK(srv_tp.data_segs_out != 2 || CHECK 238 tools/testing/selftests/bpf/test_sock_fields.c CHECK(cli_tp.data_segs_out || CHECK 266 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err || pkt_out_cnt.cnt != 4 || pkt_out_cnt10.cnt != 40, CHECK 283 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err || pkt_out_cnt.cnt != 0xeB9F + 4 || CHECK 298 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "bpf_map_update_elem(sk_pkt_out_cnt_fd)", CHECK 304 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "bpf_map_update_elem(sk_pkt_out_cnt10_fd)", CHECK 319 tools/testing/selftests/bpf/test_sock_fields.c CHECK(epfd == -1, "epoll_create()", "epfd:%d errno:%d", epfd, errno); CHECK 323 tools/testing/selftests/bpf/test_sock_fields.c CHECK(listen_fd == -1, "socket()", "listen_fd:%d errno:%d", CHECK 328 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "bind(listen_fd)", "err:%d errno:%d", err, errno); CHECK 331 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "getsockname(listen_fd)", "err:%d errno:%d", err, errno); CHECK 334 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "listen(listen_fd)", "err:%d errno:%d", err, errno); CHECK 338 tools/testing/selftests/bpf/test_sock_fields.c CHECK(cli_fd == -1, "socket()", "cli_fd:%d errno:%d", cli_fd, errno); CHECK 342 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "bind(cli_fd)", "err:%d errno:%d", err, errno); CHECK 345 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "getsockname(cli_fd)", "err:%d errno:%d", CHECK 350 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "map_update", "err:%d errno:%d", err, errno); CHECK 353 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "map_update", "err:%d errno:%d", err, errno); CHECK 359 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err && errno != EINPROGRESS, CHECK 364 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "epoll_ctl(EPOLL_CTL_ADD, listen_fd)", "err:%d errno:%d", CHECK 370 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err != 1 || ev.data.fd != listen_fd, CHECK 376 tools/testing/selftests/bpf/test_sock_fields.c CHECK(accept_fd == -1, "accept(listen_fd)", "accept_fd:%d errno:%d", CHECK 382 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "epoll_ctl(EPOLL_CTL_ADD, cli_fd)", "err:%d errno:%d", CHECK 390 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err != DATA_LEN, "send(accept_fd)", "err:%d errno:%d", CHECK 395 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err != 1 || ev.data.fd != cli_fd, CHECK 400 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "recv(cli_fd)", "err:%d errno:%d", err, errno); CHECK 425 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "setup_cgroup_environment()", "err:%d errno:%d", CHECK 432 tools/testing/selftests/bpf/test_sock_fields.c CHECK(cgroup_fd == -1, "create_and_get_cgroup()", CHECK 436 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "join_cgroup", "err:%d errno:%d", err, errno); CHECK 439 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err, "bpf_prog_load_xattr()", "err:%d", err); CHECK 443 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!ingress_prog, CHECK 449 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_prog_attach(CPF_CGROUP_INET_EGRESS)", CHECK 454 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err == -1, "bpf_prog_attach(CPF_CGROUP_INET_INGRESS)", CHECK 459 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find addr_map", "(null)"); CHECK 463 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find sock_result_map", "(null)"); CHECK 467 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find tcp_sock_result_map", "(null)"); CHECK 471 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find linum_map", "(null)"); CHECK 475 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find sk_pkt_out_cnt", "(null)"); CHECK 479 tools/testing/selftests/bpf/test_sock_fields.c CHECK(!map, "cannot find sk_pkt_out_cnt10", "(null)");