| /tools/testing/selftests/filesystems/ |
| A D | anon_inode_test.c | 19 ASSERT_LT(fchown(fd_context, 1234, 5678), 0); in TEST() 32 ASSERT_LT(fchmod(fd_context, 0777), 0); in TEST() 45 ASSERT_LT(execveat(fd_context, "", NULL, NULL, AT_EMPTY_PATH), 0); in TEST() 62 ASSERT_LT(open("/proc/self/fd/500", 0), 0); in TEST()
|
| A D | kernfs_test.c | 32 ASSERT_LT(fgetxattr(fd, "user.foo", buf, sizeof(buf)), 0); in TEST()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| 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()
|
| 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()
|
| 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()
|
| A D | bloom_filter_map.c | 21 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid key size")) in test_fail_cases() 26 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value size 0")) in test_fail_cases() 31 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid value too large")) in test_fail_cases() 36 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid max entries size")) in test_fail_cases() 42 if (!ASSERT_LT(fd, 0, "bpf_map_create bloom filter invalid flags")) in test_fail_cases()
|
| A D | stream.c | 119 ASSERT_LT(bpf_prog_stream_read(0, BPF_STREAM_STDOUT, buf, sizeof(buf), &ropts), 0, "error"); in test_stream_syscall() 123 ASSERT_LT(bpf_prog_stream_read(prog_fd, 0, buf, sizeof(buf), &ropts), 0, "error"); in test_stream_syscall() 127 ASSERT_LT(bpf_prog_stream_read(prog_fd, BPF_STREAM_STDOUT, NULL, sizeof(buf), NULL), 0, "error"); in test_stream_syscall()
|
| 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()
|
| 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()
|
| 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()
|
| 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()
|
| A D | udp_limit.c | 37 if (!ASSERT_LT(fd2, 0, "socket(fd2)")) in test_udp_limit()
|
| A D | lsm_cgroup.c | 178 ASSERT_LT(fd, 0, "socket(AF_UNIX)"); in test_lsm_cgroup_functional() 197 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional() 209 ASSERT_LT(bind(fd, (struct sockaddr *)&sa, sizeof(sa)), 0, in test_lsm_cgroup_functional()
|
| 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()
|
| A D | fentry_test.c | 20 if (!ASSERT_LT(link_fd, 0, "fentry_attach_link")) in fentry_test_common()
|
| A D | fexit_test.c | 20 if (!ASSERT_LT(link_fd, 0, "fexit_attach_link")) in fexit_test_common()
|
| A D | log_buf.c | 193 ASSERT_LT(fd, 0, "bad_fd"); in bpf_prog_load_log_buf() 260 ASSERT_LT(fd, 0, "bad_fd"); in bpf_btf_load_log_buf()
|
| A D | get_branch_snapshot.c | 125 ASSERT_LT(skel->bss->wasted_entries, 10, "check_wasted_entries"); in serial_test_get_branch_snapshot()
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_setattr_test.c | 50 ASSERT_LT(fchown(self->child_pidfd, 1234, 5678), 0); in TEST_F() 56 ASSERT_LT(fchmod(self->child_pidfd, 0777), 0); in TEST_F() 65 ASSERT_LT(execveat(self->child_pidfd, "", argv, envp, AT_EMPTY_PATH), 0); in TEST_F()
|
| A D | pidfd_wait.c | 166 ASSERT_LT(ret, 0); in TEST() 194 ASSERT_LT(ret, 0); in TEST()
|
| /tools/testing/selftests/ptrace/ |
| A D | set_syscall_info.c | 401 ASSERT_LT(ptrace_stop, ARRAY_SIZE(si) * 2) { in TEST() 417 ASSERT_LT(0, ptrace_stop) { in TEST() 420 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST() 453 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST() 491 ASSERT_LT(0, (rc = sys_ptrace(PTRACE_GET_SYSCALL_INFO, in TEST()
|
| 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()
|
| /tools/testing/selftests/pid_namespace/ |
| A D | regression_enomem.c | 40 ASSERT_LT(pid, 0); in TEST()
|
| /tools/testing/selftests/alsa/ |
| A D | utimer-test.c | 155 ASSERT_LT(utimer_fd, 0); in TEST() 160 ASSERT_LT(ioctl(timer_dev_fd, SNDRV_TIMER_IOCTL_CREATE, NULL), 0); in TEST()
|
| /tools/testing/selftests/filesystems/statmount/ |
| A D | listmount_test.c | 38 ASSERT_LT(list[cur], list[cur + 1]); in TEST()
|