/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | hashmap.c | 59 if (CHECK(err != -ENOENT, "hashmap__update", in test_hashmap_generic() 79 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic() 98 if (CHECK(v - k != 1024, "check_kv", in test_hashmap_generic() 111 if (CHECK(err != -EEXIST, "hashmap__add", in test_hashmap_generic() 120 if (CHECK(err, "elem_upd", in test_hashmap_generic() 127 if (CHECK(oldv != v, "elem_val", in test_hashmap_generic() 146 if (CHECK(v - k != 256, "elem_check", in test_hashmap_generic() 158 if (CHECK(!found_cnt, "found_cnt", in test_hashmap_generic() 178 if (CHECK(oldk != k || oldv != v, "check_old", in test_hashmap_generic() 236 CHECK(false, "elem_exists", in test_hashmap_generic() [all …]
|
A D | pinning.c | 18 if (CHECK(!map, "find map", "NULL map")) in get_map_id() 23 CHECK(err, "get map info", "err %d errno %d", err, errno); in get_map_id() 72 if (CHECK(!err || errno != ENOENT, "stat nopinpath", in test_pinning() 78 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning() 100 if (CHECK(map_id != map_id2, "check reuse", in test_pinning() 106 if (CHECK(!map, "find map", "NULL map")) in test_pinning() 125 if (CHECK(err, "pin maps", "err %d errno %d\n", err, errno)) in test_pinning() 134 if (CHECK(!map, "find map", "NULL map")) in test_pinning() 148 if (CHECK(err, "pin maps", "err %d errno %d\n", err, errno)) in test_pinning() 198 if (CHECK(!err || errno != ENOENT, "stat nopinpath2", in test_pinning() [all …]
|
A D | skeleton.c | 28 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_skeleton() 31 if (CHECK(skel->kconfig, "skel_kconfig", "kconfig is mmaped()!\n")) in test_skeleton() 44 CHECK(data->in1 != -1, "in1", "got %d != exp %d\n", data->in1, -1); in test_skeleton() 49 CHECK(bss->in3 != 0, "in3", "got %d != exp %d\n", bss->in3, 0); in test_skeleton() 50 CHECK(bss->out3 != 0, "out3", "got %d != exp %d\n", bss->out3, 0); in test_skeleton() 55 CHECK(bss->out6 != 0, "out6", "got %d != exp %d\n", bss->out6, 0); in test_skeleton() 75 if (CHECK(err, "skel_load", "failed to load skeleton: %d\n", err)) in test_skeleton() 79 CHECK(data->in1 != 10, "in1", "got %d != exp %d\n", data->in1, 10); in test_skeleton() 81 CHECK(bss->in3 != 12, "in3", "got %d != exp %d\n", bss->in3, 12); in test_skeleton() 115 CHECK(bss->bpf_syscall != kcfg->CONFIG_BPF_SYSCALL, "ext1", in test_skeleton() [all …]
|
A D | cgroup_attach_override.c | 32 if (CHECK(allow_prog < 0, "prog_load_allow", in serial_test_cgroup_attach_override() 37 if (CHECK(drop_prog < 0, "prog_load_drop", in serial_test_cgroup_attach_override() 51 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 59 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 69 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override() 72 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override() 77 if (CHECK(!system(PING_CMD), "ping_fail", in serial_test_cgroup_attach_override() 87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override() 92 if (CHECK(system(PING_CMD), "ping_ok", "ping failed\n")) in serial_test_cgroup_attach_override() 106 if (CHECK(bpf_prog_detach(bar, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override() [all …]
|
A D | bpf_iter.c | 132 if (CHECK(!skel, "bpf_iter_task__open_and_load", in test_task() 184 CHECK(skel->bss->count != 0, "check_count", in test_task_file() 368 if (CHECK(err, "bpf_iter_test_kern1__attach", in test_anon_iter() 463 if (CHECK(!skel, "bpf_iter_test_kern4__open", in test_overflow() 473 if (CHECK(map1_fd < 0, "bpf_create_map", in test_overflow() 477 if (CHECK(map2_fd < 0, "bpf_create_map", in test_overflow() 500 if (CHECK(bpf_iter_test_kern4__load(skel), in test_overflow() 536 CHECK(len != -1 || errno != E2BIG, "read", in test_overflow() 672 if (CHECK(skel->bss->val_sum != expected_val, in test_bpf_hash_map() 762 if (CHECK(skel->bss->val_sum != expected_val, in test_bpf_percpu_hash_map() [all …]
|
A D | ringbuf.c | 94 if (CHECK(!skel, "skel_open", "skeleton open failed\n")) in test_ringbuf() 164 CHECK(skel->bss->avail_data != 3 * rec_sz, in test_ringbuf() 167 CHECK(skel->bss->ring_size != page_size, in test_ringbuf() 170 CHECK(skel->bss->cons_pos != 0, in test_ringbuf() 173 CHECK(skel->bss->prod_pos != 3 * rec_sz, in test_ringbuf() 202 CHECK(skel->bss->cons_pos != 3 * rec_sz, in test_ringbuf() 206 CHECK(err <= 0, "poll_err", "err %d\n", err); in test_ringbuf() 227 if (CHECK(err != EBUSY, "try_join", "err %d\n", err)) in test_ringbuf() 250 if (CHECK(err != EBUSY, "try_join", "err %d\n", err)) in test_ringbuf() 271 if (CHECK(err, "join_bg", "err %d\n", err)) in test_ringbuf() [all …]
|
A D | ringbuf_multi.c | 23 CHECK(ring != 1, "sample1_ring", "exp %d, got %d\n", 1, ring); in process_sample() 24 CHECK(s->value != 333, "sample1_value", "exp %ld, got %ld\n", in process_sample() 28 CHECK(ring != 2, "sample2_ring", "exp %d, got %d\n", 2, ring); in process_sample() 29 CHECK(s->value != 777, "sample2_value", "exp %ld, got %ld\n", in process_sample() 33 CHECK(true, "extra_sample", "unexpected sample seq %d, val %ld\n", in process_sample() 50 if (CHECK(!skel, "skel_open", "skeleton open failed\n")) in test_ringbuf_multi() 74 if (CHECK(err != 0, "skel_load", "skeleton load failed\n")) in test_ringbuf_multi() 85 if (CHECK(!ringbuf, "ringbuf_create", "failed to create ringbuf\n")) in test_ringbuf_multi() 90 if (CHECK(err, "ringbuf_add", "failed to add another ring\n")) in test_ringbuf_multi() 118 if (CHECK(err < 0, "extra_samples", "poll result: %d\n", err)) in test_ringbuf_multi() [all …]
|
A D | d_path.c | 37 if (CHECK(pipe(pipefd) < 0, "trigger", "pipe failed\n")) in trigger_fstat_events() 41 if (CHECK(sockfd < 0, "trigger", "socket failed\n")) in trigger_fstat_events() 48 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events() 56 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events() 72 if (CHECK(ret < 0, "trigger", "set_pathname failed for dev\n")) in trigger_fstat_events() 109 if (CHECK(!skel, "setup", "d_path skeleton failed\n")) in test_d_path() 113 if (CHECK(err, "setup", "attach failed: %d\n", err)) in test_d_path() 123 if (CHECK(!bss->called_stat, in test_d_path() 128 if (CHECK(!bss->called_close, in test_d_path() 143 CHECK(bss->rets_stat[i] != strlen(bss->paths_stat[i]) + 1, in test_d_path() [all …]
|
A D | xdp_link.c | 32 if (CHECK(err, "fd_info1", "failed %d\n", -errno)) in serial_test_xdp_link() 38 if (CHECK(err, "fd_info2", "failed %d\n", -errno)) in serial_test_xdp_link() 49 CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link() 65 if (CHECK(err, "prog_detach", "failed %d\n", err)) in serial_test_xdp_link() 76 if (CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link() 113 if (CHECK(err || id0 != id2, "id2_check", in serial_test_xdp_link() 119 if (CHECK(err, "link_upd", "failed: %d\n", err)) in serial_test_xdp_link() 124 if (CHECK(err, "link_info", "failed: %d\n", err)) in serial_test_xdp_link() 129 CHECK(link_info.prog_id != id1, "link_prog_id", in serial_test_xdp_link() 140 if (CHECK(err, "link_info", "failed: %d\n", err)) in serial_test_xdp_link() [all …]
|
A D | raw_tp_test_run.c | 27 if (CHECK(err, "parse_cpu_mask_file", "err %d\n", err)) in test_raw_tp_test_run() 31 if (CHECK(!skel, "skel_open", "failed to open skeleton\n")) in test_raw_tp_test_run() 43 CHECK(err < 0, "task rename", "err %d", errno); in test_raw_tp_test_run() 54 CHECK(err == 0, "test_run", "should fail for too small ctx\n"); in test_raw_tp_test_run() 58 CHECK(err < 0, "test_run", "err %d\n", errno); in test_raw_tp_test_run() 59 CHECK(test_attr.retval != expected_retval, "check_retval", in test_raw_tp_test_run() 69 CHECK(err < 0, "test_run_opts", "err %d\n", errno); in test_raw_tp_test_run() 70 CHECK(skel->data->on_cpu != i, "check_on_cpu", in test_raw_tp_test_run() 72 CHECK(opts.retval != expected_retval, in test_raw_tp_test_run() 80 CHECK(err >= 0 || errno != ENXIO, in test_raw_tp_test_run() [all …]
|
A D | mmap.c | 33 if (CHECK(!skel, "skel_open", "skeleton open failed\n")) in test_mmap() 47 if (CHECK(err != 0, "skel_load", "skeleton load failed\n")) in test_mmap() 68 if (CHECK(err, "map_get_info", "failed %d\n", errno)) in test_mmap() 75 if (CHECK(bss_mmaped == MAP_FAILED, "bss_mmap", in test_mmap() 83 if (CHECK(map_mmaped == MAP_FAILED, "data_mmap", in test_mmap() 102 if (CHECK(err, "attach_raw_tp", "err %d\n", err)) in test_mmap() 131 if (CHECK(!err || errno != EBUSY, "no_freeze", in test_mmap() 147 if (CHECK(map_mmaped == MAP_FAILED, "data_mmap", in test_mmap() 215 if (CHECK(err, "adv_mmap2", "errno %d\n", errno)) { in test_mmap() 228 CHECK(tmp1 + page_size != tmp2, "adv_mmap4", in test_mmap() [all …]
|
A D | kfree_skb.c | 27 if (CHECK(meta->ifindex != 1, "check_meta_ifindex", in on_sample() 34 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0", in on_sample() 38 if (CHECK(pkt_v6->eth.h_proto != 0xdd86, "check_eth", in on_sample() 41 if (CHECK(pkt_v6->iph.nexthdr != 6, "check_ip", in on_sample() 44 if (CHECK(pkt_v6->tcp.doff != 5, "check_tcp", in on_sample() 87 if (CHECK(!prog, "find_prog", "prog kfree_skb not found\n")) in serial_test_kfree_skb() 97 if (CHECK(!global_data, "find global data", "not found\n")) in serial_test_kfree_skb() 111 if (CHECK(!perf_buf_map, "find_perf_buf_map", "not found\n")) in serial_test_kfree_skb() 124 CHECK(err || tattr.retval, "ipv6", in serial_test_kfree_skb() 130 if (CHECK(err < 0, "perf_buffer__poll", "err %d\n", err)) in serial_test_kfree_skb() [all …]
|
A D | btf_map_in_map.c | 54 CHECK(val != 1, "inner1", "got %d != exp %d\n", val, 1); in test_lookup_update() 56 CHECK(val != 2, "inner2", "got %d != exp %d\n", val, 2); in test_lookup_update() 58 CHECK(val != 3, "inner3", "got %d != exp %d\n", val, 3); in test_lookup_update() 67 CHECK(val != 4, "inner1", "got %d != exp %d\n", val, 4); in test_lookup_update() 69 CHECK(val != 3, "inner2", "got %d != exp %d\n", val, 3); in test_lookup_update() 102 CHECK(map1_id == 0, "map1_id", "failed to get ID 1\n"); in test_lookup_update() 103 CHECK(map2_id == 0, "map2_id", "failed to get ID 2\n"); in test_lookup_update() 115 CHECK(kern_sync_rcu(), "sync_rcu", "failed\n"); in test_lookup_update() 116 CHECK(kern_sync_rcu(), "sync_rcu", "failed\n"); in test_lookup_update() 145 CHECK(err, "outer_sockarr inner map size check", in test_diff_size() [all …]
|
A D | xdp_info.c | 18 if (CHECK(err, "get_xdp_none", "errno=%d\n", errno)) in serial_test_xdp_info() 20 if (CHECK(prog_id, "prog_id_none", "unexpected prog_id=%u\n", prog_id)) in serial_test_xdp_info() 24 if (CHECK(err, "get_xdp_none_skb", "errno=%d\n", errno)) in serial_test_xdp_info() 26 if (CHECK(prog_id, "prog_id_none_skb", "unexpected prog_id=%u\n", in serial_test_xdp_info() 37 if (CHECK(err, "get_prog_info", "errno=%d\n", errno)) in serial_test_xdp_info() 41 if (CHECK(err, "set_xdp_skb", "errno=%d\n", errno)) in serial_test_xdp_info() 47 if (CHECK(err, "get_xdp", "errno=%d\n", errno)) in serial_test_xdp_info() 49 if (CHECK(prog_id != info.id, "prog_id", "prog_id not available\n")) in serial_test_xdp_info() 53 if (CHECK(err, "get_xdp_skb", "errno=%d\n", errno)) in serial_test_xdp_info() 59 if (CHECK(err, "get_xdp_drv", "errno=%d\n", errno)) in serial_test_xdp_info() [all …]
|
A D | perf_branches.c | 18 if (CHECK(!skel->bss->valid, "output not valid", in check_good_sample() 30 CHECK(written_stack % pbe_size != 0, "read_branches_stack", in check_good_sample() 34 CHECK(written_global % pbe_size != 0, "read_branches_global", in check_good_sample() 37 CHECK(written_global < written_stack, "read_branches_size", in check_good_sample() 48 if (CHECK(!skel->bss->valid, "output not valid", in check_bad_sample() 52 CHECK((required_size != -EINVAL && required_size != -ENOENT), in check_bad_sample() 54 CHECK((written_stack != -EINVAL && written_stack != -ENOENT), in check_bad_sample() 71 if (CHECK(!skel, "test_perf_branches_load", in test_perf_branches_common() 84 if (CHECK(err, "set_affinity", "cpu #0, err %d\n", err)) in test_perf_branches_common() 129 if (CHECK(pfd < 0, "perf_event_open", "err %d errno %d\n", in test_perf_branches_hw() [all …]
|
A D | ksyms.c | 21 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_ksyms() 23 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'bpf_link_fops' not found\n")) in test_ksyms() 27 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_ksyms() 29 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'per_cpu_start' not found\n")) in test_ksyms() 32 if (CHECK(stat(btf_path, &st), "stat_btf", "err %d\n", errno)) in test_ksyms() 37 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_ksyms() 41 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_ksyms() 48 CHECK(data->out__bpf_link_fops != link_fops_addr, "bpf_link_fops", in test_ksyms() 51 CHECK(data->out__bpf_link_fops1 != 0, "bpf_link_fops1", in test_ksyms() 53 CHECK(data->out__btf_size != btf_size, "btf_size", in test_ksyms() [all …]
|
A D | cgroup_link.c | 18 if (CHECK(skel->bss->calls != exp_calls, "call_cnt", in ping_and_check() 52 if (CHECK(err, "cg_init", "failed: %d\n", err)) in serial_test_cgroup_link() 62 if (CHECK(err, "cg_join", "fail: %d\n", err)) in serial_test_cgroup_link() 103 CHECK(prog_ids[i - 1] != prog_ids[i], "prog_id_check", in serial_test_cgroup_link() 117 if (CHECK(err, "cg_attach_legacy", "errno=%d\n", errno)) in serial_test_cgroup_link() 182 if (CHECK(err, "prog_upd", "link #%d\n", i)) in serial_test_cgroup_link() 194 if (CHECK(err == 0 || errno != EPERM, "prog_cmpxchg1", in serial_test_cgroup_link() 204 if (CHECK(err, "prog_cmpxchg2", "errno %d\n", -errno)) in serial_test_cgroup_link() 222 CHECK(prog_id == 0, "link_info", "failed\n"); in serial_test_cgroup_link() 226 if (CHECK(err, "link_detach", "failed %d\n", err)) in serial_test_cgroup_link() [all …]
|
A D | ksyms_btf.c | 24 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic() 26 if (CHECK(err == -ENOENT, "ksym_find", "symbol 'runqueues' not found\n")) in test_basic() 30 if (CHECK(err == -EINVAL, "kallsyms_fopen", "failed to open: %d\n", errno)) in test_basic() 36 if (CHECK(!skel, "skel_open", "failed to open and load skeleton\n")) in test_basic() 40 if (CHECK(err, "skel_attach", "skeleton attach failed: %d\n", err)) in test_basic() 47 CHECK(data->out__runqueues_addr != runqueues_addr, "runqueues_addr", in test_basic() 56 CHECK(data->out__rq_cpu == -1, "rq_cpu", in test_basic() 58 CHECK(data->out__bpf_prog_active < 0, "bpf_prog_active", in test_basic() 60 CHECK(data->out__cpu_0_rq_cpu != 0, "cpu_rq(0)->cpu", in test_basic() 64 CHECK(this_rq_cpu != data->out__rq_cpu, "this_rq_cpu", in test_basic() [all …]
|
A D | perf_buffer.c | 23 CHECK(cpu_data != cpu, "check_cpu_data", in on_sample() 58 if (CHECK(nr_cpus < 0, "nr_cpus", "err %d\n", nr_cpus)) in serial_test_perf_buffer() 63 if (CHECK(err, "nr_on_cpus", "err %d\n", err)) in serial_test_perf_buffer() 72 if (CHECK(!skel, "skel_load", "skeleton open/load failed\n")) in serial_test_perf_buffer() 81 if (CHECK(err, "attach_kprobe", "err %d\n", err)) in serial_test_perf_buffer() 91 CHECK(perf_buffer__epoll_fd(pb) < 0, "epoll_fd", in serial_test_perf_buffer() 108 if (CHECK(err < 0, "perf_buffer__poll", "err %d\n", err)) in serial_test_perf_buffer() 111 if (CHECK(CPU_COUNT(&cpu_seen) != nr_on_cpus, "seen_cpu_cnt", in serial_test_perf_buffer() 115 if (CHECK(perf_buffer__buffer_cnt(pb) != nr_on_cpus, "buf_cnt", in serial_test_perf_buffer() 128 if (CHECK(err, "drain_buf", "cpu %d, err %d\n", i, err)) in serial_test_perf_buffer() [all …]
|
A D | trace_ext.c | 31 if (CHECK(!skel_pkt, "setup", "classifier/test_pkt_md_access open failed\n")) in test_trace_ext() 35 if (CHECK(err, "setup", "classifier/test_pkt_md_access attach failed: %d\n", err)) in test_trace_ext() 43 if (CHECK(!skel_ext, "setup", "freplace/test_pkt_md_access open failed\n")) in test_trace_ext() 52 if (CHECK(err, "setup", "freplace/test_pkt_md_access load failed\n")) { in test_trace_ext() 59 if (CHECK(err, "setup", "freplace/test_pkt_md_access attach failed: %d\n", err)) in test_trace_ext() 67 if (CHECK(!skel_trace, "setup", "tracing/test_pkt_md_access_new open failed\n")) in test_trace_ext() 80 if (CHECK(err, "setup", "tracing/test_pkt_md_access_new load failed\n")) { in test_trace_ext() 93 CHECK(err || retval, "run", "err %d errno %d retval %d\n", err, errno, retval); in test_trace_ext() 100 CHECK(bss_ext->ext_called == 0, in test_trace_ext() 102 CHECK(bss_trace->fentry_called != len, in test_trace_ext() [all …]
|
/linux/lib/ |
A D | percpu_test.c | 36 CHECK(l, long_counter, -1); in percpu_test_init() 40 CHECK(l, long_counter, 0); in percpu_test_init() 47 CHECK(ul, ulong_counter, 1); in percpu_test_init() 51 CHECK(ul, ulong_counter, 0); in percpu_test_init() 55 CHECK(ul, ulong_counter, -1); in percpu_test_init() 62 CHECK(ul, ulong_counter, -1); in percpu_test_init() 79 CHECK(l, long_counter, -1); in percpu_test_init() 86 CHECK(l, long_counter, 1); in percpu_test_init() 97 CHECK(l, long_counter, -1); in percpu_test_init() 105 CHECK(ul, ulong_counter, 1); in percpu_test_init() [all …]
|
A D | bitfield_kunit.c | 105 CHECK(u8, 0x0f); in test_bitfields_variables() 106 CHECK(u8, 0xf0); in test_bitfields_variables() 107 CHECK(u8, 0x38); in test_bitfields_variables() 109 CHECK(u16, 0x0038); in test_bitfields_variables() 110 CHECK(u16, 0x0380); in test_bitfields_variables() 111 CHECK(u16, 0x3800); in test_bitfields_variables() 112 CHECK(u16, 0x8000); in test_bitfields_variables() 114 CHECK(u32, 0x80000000); in test_bitfields_variables() 115 CHECK(u32, 0x7f000000); in test_bitfields_variables() 116 CHECK(u32, 0x07e00000); in test_bitfields_variables() [all …]
|
/linux/tools/perf/dlfilters/ |
A D | dlfilter-test-api-v0.c | 132 #define CHECK(x) do { \ macro 156 CHECK(!filt_dat && !called); in start() 167 CHECK(dlargc == 6); in start() 217 CHECK(!sample->raw_data); in check_sample() 219 CHECK(!sample->brstack); in check_sample() 238 CHECK(!al->symoff); in check_al() 252 CHECK(!addr_al->symoff); in check_addr_al() 261 CHECK(attr); in check_attr() 278 CHECK(!d->filter_cnt); in do_checks() 279 CHECK(d->early_filter_cnt); in do_checks() [all …]
|
/linux/include/linux/amba/ |
A D | clcd.h | 257 #undef CHECK in clcdfb_check() 272 (CHECK(xres) || in clcdfb_check() 273 CHECK(yres) || in clcdfb_check() 275 CHECK(pixclock) || in clcdfb_check() 276 CHECK(left_margin) || in clcdfb_check() 277 CHECK(right_margin) || in clcdfb_check() 278 CHECK(upper_margin) || in clcdfb_check() 280 CHECK(hsync_len) || in clcdfb_check() 281 CHECK(vsync_len) || in clcdfb_check() 282 CHECK(sync))) in clcdfb_check() [all …]
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | htab_map_batch_ops.c | 55 CHECK(keys[i] + 1 + j != bpf_percpu(v[i], j), in map_batch_verify() 61 CHECK(keys[i] + 1 != ((int *)values)[i], in map_batch_verify() 71 CHECK(visited[i] != 1, "visited checking", in map_batch_verify() 100 CHECK(map_fd == -1, in __test_map_lookup_and_delete_batch() 110 CHECK(!keys || !values || !visited, "malloc()", in __test_map_lookup_and_delete_batch() 117 CHECK((err && errno != ENOENT), "empty map", in __test_map_lookup_and_delete_batch() 137 CHECK(count != max_entries, "count = max_entries", in __test_map_lookup_and_delete_batch() 185 CHECK(total != max_entries, "lookup with steps", in __test_map_lookup_and_delete_batch() 197 CHECK((err && errno != ENOENT), "delete batch", in __test_map_lookup_and_delete_batch() 203 CHECK(total != max_entries, "delete with steps", in __test_map_lookup_and_delete_batch() [all …]
|