/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_ops.c | 87 ASSERT_LT(skel->bss->err, 0, "map_update_existing"); in map_ops_update_delete_subtest() 94 ASSERT_LT(skel->bss->err, 0, "map_delete_non_existing"); in map_ops_update_delete_subtest() 112 ASSERT_LT(skel->bss->err, 0, "map_push_when_full"); in map_ops_push_peek_pop_subtest() 122 ASSERT_LT(skel->bss->err, 0, "map_peek_when_empty"); in map_ops_push_peek_pop_subtest() 126 ASSERT_LT(skel->bss->err, 0, "map_pop_when_empty"); in map_ops_push_peek_pop_subtest() 145 ASSERT_LT(skel->bss->err, 0, "map_for_each_with_flags"); in map_ops_for_each_subtest()
|
H A D | bloom_filter_map.c | 17 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid key size")) in test_fail_cases() 22 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value size 0")) in test_fail_cases() 27 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value too large")) in test_fail_cases() 32 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid max entries size")) in test_fail_cases() 38 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid flags")) in test_fail_cases()
|
H A D | libbpf_get_fd_by_id_opts.c | 38 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id")) in test_libbpf_get_fd_by_id_opts() 42 if (!ASSERT_LT(fd, 0, "bpf_map_get_fd_by_id_opts")) in test_libbpf_get_fd_by_id_opts() 59 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem")) in test_libbpf_get_fd_by_id_opts()
|
H A D | lookup_key.c | 73 if (!ASSERT_LT(ret, 0, "bpf_prog_get_next_id")) in test_lookup_key() 94 if (!ASSERT_LT(ret, 0, "bpf_prog_get_next_id")) in test_lookup_key() 107 ASSERT_LT(ret, 0, "bpf_prog_get_next_id"); in test_lookup_key()
|
H A D | verify_pkcs7_sig.c | 319 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map() 348 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map() 362 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map() 370 if (!ASSERT_LT(ret, 0, "bpf_map_update_elem data_input")) in test_verify_pkcs7_sig_from_map() 398 ASSERT_LT(ret, 0, "bpf_map_update_elem data_input"); in test_verify_pkcs7_sig_from_map() 460 if (!ASSERT_LT(ret, 0, name)) in test_open_file()
|
H A D | sock_destroy.c | 59 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_tcp_client() 100 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_tcp_server() 133 if (!ASSERT_LT(n, 0, "client_send on destroyed socket")) in test_udp_client()
|
H A D | lsm_cgroup.c | 182 ASSERT_LT(fd, 0, "socket(AF_UNIX)"); in test_lsm_cgroup_functional() 201 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional() 213 ASSERT_LT(bind(fd, (struct sockaddr *)&sa, sizeof(sa)), 0, in test_lsm_cgroup_functional()
|
H A D | xdp_synproxy.c | 117 if (!ASSERT_LT(prog_id, buf + size, "find prog id begin")) in test_synproxy() 123 if (!ASSERT_LT(prog_id_end, buf + size, "find prog id end")) in test_synproxy()
|
H A D | bpf_obj_id.c | 36 ASSERT_LT(err, 0, "bpf_prog_get_fd_by_id"); in serial_test_bpf_obj_id() 40 ASSERT_LT(err, 0, "bpf_map_get_fd_by_id"); in serial_test_bpf_obj_id() 44 ASSERT_LT(err, 0, "bpf_map_get_fd_by_id"); in serial_test_bpf_obj_id()
|
H A D | log_buf.c | 191 ASSERT_LT(fd, 0, "bad_fd"); in bpf_prog_load_log_buf() 259 ASSERT_LT(fd, 0, "bad_fd"); in bpf_btf_load_log_buf()
|
H A D | trace_vprintk.c | 49 if (!ASSERT_LT(bss->null_data_vprintk_ret, 0, "bss->null_data_vprintk_ret")) in serial_test_trace_vprintk()
|
H A D | token.c | 523 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_wo_cap_bpf_should_fail")) { in userns_map_create() 532 if (!ASSERT_LT(map_fd, 0, "stack_map_w_token_wo_cap_bpf_should_fail")) { in userns_map_create() 546 if (!ASSERT_LT(map_fd, 0, "stack_map_wo_token_w_cap_bpf_should_fail")) { in userns_map_create() 605 if (!ASSERT_LT(btf_fd, 0, "no_token_no_cap_should_fail")) in userns_btf_load() 612 if (!ASSERT_LT(btf_fd, 0, "token_no_cap_should_fail")) in userns_btf_load()
|
H A D | udp_limit.c | 37 if (!ASSERT_LT(fd2, 0, "socket(fd2)")) in test_udp_limit()
|
H A D | fexit_test.c | 20 if (!ASSERT_LT(link_fd, 0, "fexit_attach_link")) in fexit_test_common()
|
H A D | fentry_test.c | 20 if (!ASSERT_LT(link_fd, 0, "fentry_attach_link")) in fentry_test_common()
|
H A D | get_branch_snapshot.c | 125 ASSERT_LT(skel->bss->wasted_entries, 10, "check_wasted_entries"); in serial_test_get_branch_snapshot()
|
H A D | snprintf.c | 62 ASSERT_LT(MIN_SYM_RET, skel->bss->sym_ret, "sym_ret"); in test_snprintf_positive()
|
/linux/tools/testing/selftests/alsa/ |
H A D | utimer-test.c | 154 ASSERT_LT(utimer_fd, 0); in TEST() 159 ASSERT_LT(ioctl(timer_dev_fd, SNDRV_TIMER_IOCTL_CREATE, NULL), 0); in TEST()
|
/linux/tools/testing/selftests/ptrace/ |
H A D | get_syscall_info.c | 155 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST() 178 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST()
|
/linux/tools/testing/selftests/pid_namespace/ |
H A D | regression_enomem.c | 40 ASSERT_LT(pid, 0); in TEST()
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_wait.c | 177 ASSERT_LT(ret, 0); in TEST() 205 ASSERT_LT(ret, 0); in TEST()
|
/linux/tools/testing/selftests/tdx/ |
H A D | tdx_guest_test.c | 138 ASSERT_LT(0, devfd); in TEST()
|
/linux/tools/testing/memblock/tests/ |
H A D | common.h | 66 #define ASSERT_LT(_expected, _seen) do { \ macro
|
/linux/tools/testing/selftests/net/af_unix/ |
H A D | unix_connect.c | 142 ASSERT_LT(0, self->client); in TEST_F()
|
/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 640 ASSERT_LT(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr)), 0); in TEST_F() 689 ASSERT_LT(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr)), 0); in TEST_F() 973 ASSERT_LT(ret, 0); in TEST_F() 993 ASSERT_LT(ret, 0); in TEST_F() 1483 ASSERT_LT(fd, 0); in TEST_F()
|