Home
last modified time | relevance | path

Searched refs:ASSERT_LE (Results 1 – 22 of 22) sorted by relevance

/Linux-v6.6/tools/testing/selftests/landlock/
Dbase_test.c139 ASSERT_LE(0, ruleset_fd); in TEST()
156 ASSERT_LE(0, ruleset_fd); in TEST()
183 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
203 ASSERT_LE(0, ruleset_fd); in TEST()
206 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
246 ASSERT_LE(0, ruleset_fd); in TEST()
275 ASSERT_LE(0, ruleset_fd_tx); in TEST()
278 ASSERT_LE(0, path_beneath_attr.parent_fd); in TEST()
292 ASSERT_LE(0, child); in TEST()
296 ASSERT_LE(0, ruleset_fd_rx); in TEST()
[all …]
Dfs_test.c441 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
444 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
452 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
462 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
469 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
483 ASSERT_LE(0, path_beneath.parent_fd); in TEST_F_FORK()
560 ASSERT_LE(0, ruleset_fd); in TEST_F_FORK()
564 ASSERT_LE(0, path_beneath_file.parent_fd); in TEST_F_FORK()
569 ASSERT_LE(0, path_beneath_dir.parent_fd); in TEST_F_FORK()
617 ASSERT_LE(0, path_beneath.parent_fd) in add_path_beneath()
[all …]
Dptrace_test.c266 ASSERT_LE(0, yama_ptrace_scope); in TEST_F()
323 ASSERT_LE(0, child); in TEST_F()
/Linux-v6.6/tools/testing/memblock/tests/
Dalloc_exact_nid_api.c40 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 …]
Dalloc_nid_api.c1256 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 …]
Dcommon.h75 #define ASSERT_LE(_expected, _seen) do { \ macro
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsignal_pending.c40 ASSERT_LE(topts.duration, 500000000 /* 500ms */, in test_signal_pending_by_type()
Dnetcnt.c63 ASSERT_LE(percpu_netcnt[cpu].packets, MAX_PERCPU_PACKETS, "MAX_PERCPU_PACKETS"); in serial_test_netcnt()
Dresolve_btfids.c163 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) in test_resolve_btfids()
Dxdp_bpf2bpf.c52 if (!ASSERT_LE(pkt_size, BUF_SZ, "pkt_size") || in run_xdp_bpf2bpf_pkt_size()
Dbpf_nf.c118 ASSERT_LE(skel->bss->test_delta_timeout, 10, "Test for max ct timeout update"); in test_bpf_nf_ct()
Dxdp_bonding.c108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach()
Duser_ringbuf.c655 ASSERT_LE(skel->bss->read, num_written, "num_post_kill"); in test_user_ringbuf_blocking_reserve()
/Linux-v6.6/tools/testing/selftests/net/
Dip_local_port_range.c237 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()
Dso_incoming_cpu.c62 ASSERT_LE(2, self->nproc); in FIXTURE_SETUP()
/Linux-v6.6/tools/testing/selftests/ptrace/
Dget_syscall_info.c79 ASSERT_LE(0, pid) { in TEST()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_progs.h270 #define ASSERT_LE(actual, expected, name) ({ \ macro
/Linux-v6.6/tools/testing/selftests/rtc/
Drtctest.c111 ASSERT_LE(prev_rtc_read, rtc_read);
/Linux-v6.6/tools/testing/selftests/seccomp/
Dseccomp_bpf.c403 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()
/Linux-v6.6/tools/testing/selftests/hid/
Dhid_bpf.c523 ASSERT_LE(progs_count, ARRAY_SIZE(self->hid_links)) in load_programs()
/Linux-v6.6/tools/testing/selftests/
Dkselftest_harness.h488 #define ASSERT_LE(expected, seen) \ macro
/Linux-v6.6/Documentation/dev-tools/
Dkselftest.rst411 :functions: ASSERT_EQ ASSERT_NE ASSERT_LT ASSERT_LE ASSERT_GT ASSERT_GE