/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | base_test.c | 140 ASSERT_LE(0, ruleset_fd); in TEST() 157 ASSERT_LE(0, ruleset_fd); in TEST() 184 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST() 204 ASSERT_LE(0, ruleset_fd); in TEST() 207 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST() 247 ASSERT_LE(0, ruleset_fd); in TEST() 276 ASSERT_LE(0, ruleset_fd_tx); in TEST() 279 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST() 293 ASSERT_LE(0, child); in TEST() 297 ASSERT_LE(0, ruleset_fd_rx); in TEST() [all …]
|
H A D | fs_test.c | 443 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK() 446 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK() 454 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK() 464 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK() 471 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK() 485 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK() 562 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK() 566 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK() 571 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK() 619 ASSERT_LE(0, path_beneath.parent_fd) in add_path_beneath() [all …]
|
H A D | ptrace_test.c | 266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F() 323 ASSERT_LE(0, child); in TEST_F()
|
/openbmc/linux/tools/testing/memblock/tests/ |
H A D | alloc_exact_nid_api.c | 40 ASSERT_LE(SZ_4, req_node->size); in alloc_exact_nid_top_down_numa_simple_check() 54 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_simple_check() 93 ASSERT_LE(SZ_8, req_node->size); in alloc_exact_nid_top_down_numa_part_reserved_check() 110 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_part_reserved_check() 167 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_split_range_low_check() 224 ASSERT_LE(req_node->base, new_rgn->base); in alloc_exact_nid_top_down_numa_no_overlap_split_check() 309 ASSERT_LE(SZ_4, req_node->size); in alloc_exact_nid_bottom_up_numa_simple_check() 323 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_exact_nid_bottom_up_numa_simple_check() 363 ASSERT_LE(SZ_8, req_node->size); in alloc_exact_nid_bottom_up_numa_part_reserved_check() 381 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_exact_nid_bottom_up_numa_part_reserved_check() [all …]
|
H A D | alloc_nid_api.c | 1256 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_simple_check() 1269 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_simple_check() 1321 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_small_node_check() 1375 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_node_reserved_check() 1414 ASSERT_LE(SZ_8, req_node->size); in alloc_nid_top_down_numa_part_reserved_check() 1430 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_part_reserved_check() 1474 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_part_reserved_fallback_check() 1491 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_part_reserved_fallback_check() 1547 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_split_range_low_check() 1604 ASSERT_LE(exp_node->base, new_rgn->base); in alloc_nid_top_down_numa_split_range_high_check() [all …]
|
H A D | common.h | 75 #define ASSERT_LE(_expected, _seen) do { \ macro
|
/openbmc/gpioplus/test/ |
H A D | chip.cpp | 79 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F() 81 ASSERT_LE(expected_info.label.size(), sizeof(info.label)); in TEST_F() 106 ASSERT_LE(expected_info.name.size(), sizeof(info.name)); in TEST_F() 108 ASSERT_LE(expected_info.consumer.size(), sizeof(info.consumer)); in TEST_F()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | signal_pending.c | 40 ASSERT_LE(topts.duration, 500000000 /* 500ms */, in test_signal_pending_by_type()
|
H A D | netcnt.c | 63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
|
H A D | resolve_btfids.c | 163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
|
H A D | xdp_bpf2bpf.c | 52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
|
H A D | bpf_nf.c | 118 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
|
H A D | xdp_bonding.c | 108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
|
H A D | user_ringbuf.c | 656 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 237 ASSERT_LE(port, 49999) TH_LOG("#%d: expected port within netns range", i); in TEST_F() 309 ASSERT_LE(port, 40007) TH_LOG("expected port within sockopt range"); in TEST_F() 395 ASSERT_LE(port, 40199); in TEST_F()
|
H A D | so_incoming_cpu.c | 87 ASSERT_LE(2, nr_server); in FIXTURE_SETUP()
|
/openbmc/linux/tools/testing/selftests/ptrace/ |
H A D | get_syscall_info.c | 79 ASSERT_LE(0, pid) { in TEST()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.h | 270 #define ASSERT_LE(actual, expected, name) ({ \ macro
|
/openbmc/linux/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 111 ASSERT_LE(prev_rtc_read, rtc_read);
|
/openbmc/linux/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 403 ASSERT_LE(0, ret) { in TEST() 870 ASSERT_LE(0, child_pid); in TEST() 889 ASSERT_LE(0, child_pid); in TEST() 908 ASSERT_LE(0, child_pid); in TEST() 1598 ASSERT_LE(0, tracer_pid); in setup_trace_fixture() 3046 ASSERT_LE(0, child_pid); in TEST() 3487 ASSERT_LE(0, ret); in TEST()
|
/openbmc/linux/tools/testing/selftests/hid/ |
H A D | hid_bpf.c | 523 ASSERT_LE(progs_count, ARRAY_SIZE(self->hid_links)) in load_programs()
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_harness.h | 488 #define ASSERT_LE(expected, seen) \ macro
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | kselftest.rst | 423 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE
|
/openbmc/libpldm/tests/dsp/ |
H A D | firmware_update.cpp | 2533 ASSERT_LE(entryIndex, table.size()); in TEST()
|