| /linux/tools/testing/selftests/net/ |
| H A D | bind_timewait.c | 50 ASSERT_GT(server_fd, 0); in create_timewait_socket() 62 ASSERT_GT(client_fd, 0); in create_timewait_socket() 69 ASSERT_GT(child_fd, 0); in create_timewait_socket() 83 ASSERT_GT(fd, 0);
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_iter_memcg.c | 75 ASSERT_GT(memcg_query->nr_anon_mapped, 0, "final anon mapped val"); in test_anon() 119 ASSERT_GT(memcg_query->nr_file_pages, 0, "final file value"); in test_file() 120 ASSERT_GT(memcg_query->nr_file_mapped, 0, "final file mapped value"); in test_file() 157 ASSERT_GT(memcg_query->nr_shmem, 0, "final shmem value"); in test_shmem() 189 ASSERT_GT(memcg_query->pgfault, 0, "final pgfault val"); in test_pgfault()
|
| H A D | custom_sec_handlers.c | 104 ASSERT_GT(abc1_id, 0, "abc1_id"); in test_custom_sec_handlers() 105 ASSERT_GT(abc2_id, 0, "abc2_id"); in test_custom_sec_handlers() 106 ASSERT_GT(custom_id, 0, "custom_id"); in test_custom_sec_handlers() 120 if (!ASSERT_GT(fallback_id, 0, "fallback_id") /* || !ASSERT_GT(kprobe_id, 0, "kprobe_id")*/) { in test_custom_sec_handlers()
|
| H A D | libbpf_str.c | 34 if (!ASSERT_GT(id, 0, "bpf_attach_type_id")) in test_libbpf_bpf_attach_type_str() 79 if (!ASSERT_GT(id, 0, "bpf_link_type_id")) in test_libbpf_bpf_link_type_str() 124 if (!ASSERT_GT(id, 0, "bpf_map_type_id")) in test_libbpf_bpf_map_type_str() 181 if (!ASSERT_GT(id, 0, "bpf_prog_type_id")) in test_libbpf_bpf_prog_type_str()
|
| H A D | trace_vprintk.c | 36 if (!ASSERT_GT(bss->trace_vprintk_ran, 0, "bss->trace_vprintk_ran")) in serial_test_trace_vprintk() 39 if (!ASSERT_GT(bss->trace_vprintk_ret, 0, "bss->trace_vprintk_ret")) in serial_test_trace_vprintk()
|
| H A D | trace_printk.c | 46 if (!ASSERT_GT(bss->trace_printk_ran, 0, "bss->trace_printk_ran")) in serial_test_trace_printk() 49 if (!ASSERT_GT(bss->trace_printk_ret, 0, "bss->trace_printk_ret")) in serial_test_trace_printk() 52 if (!ASSERT_GT(bss->trace_printk_utf8_ran, 0, "bss->trace_printk_utf8_ran")) in serial_test_trace_printk() 55 if (!ASSERT_GT(bss->trace_printk_utf8_ret, 0, "bss->trace_printk_utf8_ret")) in serial_test_trace_printk()
|
| H A D | verifier_log.c | 18 if (!ASSERT_GT(prog_fd, 0, tag)) in check_prog_load() 83 if (!ASSERT_GT(fixed_log_sz, 50, "fixed_log_sz")) in verif_log_subtest() 186 ASSERT_GT(log_true_sz_fixed, 0, "log_true_sz_fixed"); in verif_log_subtest() 265 ASSERT_GT(fd, 0, "btf_load_success"); in load_btf() 284 if (!ASSERT_GT(res, 0, "btf_add_int_id")) in verif_btf_log_subtest() 309 if (!ASSERT_GT(fixed_log_sz, 50, "fixed_log_sz")) in verif_btf_log_subtest() 371 ASSERT_GT(log_true_sz_fixed, 0, "log_true_sz_fixed"); in verif_btf_log_subtest()
|
| H A D | unpriv_bpf_disabled.c | 71 ASSERT_GT(perf_buffer__poll(perfbuf, 100), -1, "perf_buffer__poll"); in test_unpriv_bpf_disabled_positive() 78 if (!ASSERT_GT(map_fds[i], -1, "obj_get")) in test_unpriv_bpf_disabled_positive() 112 ASSERT_GT(link_fd, 0, "link_create"); in test_unpriv_bpf_disabled_positive() 190 ASSERT_GT(btf__add_int(btf, "int", 4, 0), 0, "unpriv_int_type")) { in test_unpriv_bpf_disabled_negative() 261 ASSERT_GT(prog_id, 0, "valid_prog_id"); in test_unpriv_bpf_disabled()
|
| H A D | task_kfunc.c | 58 if (!ASSERT_GT(child_pid, -1, "child_pid")) in run_success_test() 155 if (!ASSERT_GT(child_pid, -1, "child_pid")) in run_vpid_success_test() 158 if (!ASSERT_GT(waitpid(child_pid, &wstatus, 0), -1, "waitpid")) in run_vpid_success_test()
|
| H A D | test_bpf_ma.c | 31 if (!ASSERT_GT(id, 0, tname)) in do_bpf_ma_test() 39 if (!ASSERT_GT(id, 0, tname)) in do_bpf_ma_test()
|
| H A D | syscall.c | 39 ASSERT_GT(ctx.map_fd, 0, "ctx.map_fd"); in test_syscall_load_prog() 40 ASSERT_GT(ctx.prog_fd, 0, "ctx.prog_fd"); in test_syscall_load_prog()
|
| H A D | build_id.c | 56 if (!ASSERT_GT(skel->bss->res_nofault, 0, "res")) in subtest_nofault() 92 if (!ASSERT_GT(skel->bss->res_sleepable, 0, "res")) in subtest_sleepable()
|
| H A D | module_fentry_shadow.c | 92 if (!ASSERT_GT(btf_id[0], 0, "btf_find_by_name")) in test_module_fentry_shadow() 96 if (!ASSERT_GT(btf_id[1], 0, "btf_find_by_name")) in test_module_fentry_shadow()
|
| H A D | token.c | 391 if (!ASSERT_GT(token_fd, 0, "child_token_create")) { in child() 514 if (!ASSERT_GT(token_fd, 0, "token_create")) { in userns_map_create() 563 if (!ASSERT_GT(map_fd, 0, "stack_map_w_token_w_cap_bpf")) { in userns_map_create() 585 if (!ASSERT_GT(token_fd, 0, "token_create")) { in userns_btf_load() 603 ASSERT_GT(btf__add_int(btf, "int", 4, 0), 0, "int_type"); in userns_btf_load() 632 if (!ASSERT_GT(btf_fd, 0, "token_and_cap_success")) in userns_btf_load() 661 if (!ASSERT_GT(token_fd, 0, "token_create")) { in userns_prog_load() 676 if (!ASSERT_GT(prog_fd, 0, "prog_fd")) { in userns_prog_load() 1116 if (!ASSERT_GT(token_fd, 0, "token_create")) { in test_token()
|
| H A D | bpf_tcp_ca.c | 420 ASSERT_GT(saved_ca1_cnt, 0, "ca1_ca1_cnt"); in test_update_ca() 427 ASSERT_GT(skel->bss->ca2_cnt, 0, "ca2_ca2_cnt"); in test_update_ca() 458 ASSERT_GT(saved_ca1_cnt, 0, "ca1_ca1_cnt"); in test_update_wrong() 464 ASSERT_GT(skel->bss->ca1_cnt, saved_ca1_cnt, "ca2_ca1_cnt"); in test_update_wrong() 496 ASSERT_GT(skel->bss->ca1_cnt, 0, "ca1_ca1_cnt"); in test_mixed_links()
|
| H A D | libbpf_probes.c | 20 if (!ASSERT_GT(id, 0, "bpf_prog_type_id")) in test_libbpf_probe_prog_types() 60 if (!ASSERT_GT(id, 0, "bpf_map_type_id")) in test_libbpf_probe_map_types()
|
| H A D | tc_redirect.c | 234 if (!ASSERT_GT(result->ifindex_src, 0, "ifindex_src")) in netns_setup_links_and_routes() 238 if (!ASSERT_GT(result->ifindex_src_fwd, 0, "ifindex_src_fwd")) in netns_setup_links_and_routes() 242 if (!ASSERT_GT(result->ifindex_dst, 0, "ifindex_dst")) in netns_setup_links_and_routes() 246 if (!ASSERT_GT(result->ifindex_dst_fwd, 0, "ifindex_dst_fwd")) in netns_setup_links_and_routes() 862 ASSERT_GT(dtimes[EGRESS_FWDNS_P100], 0, in test_tcp_clear_dtime() 866 ASSERT_GT(dtimes[EGRESS_ENDHOST], 0, in test_tcp_clear_dtime() 868 ASSERT_GT(dtimes[INGRESS_ENDHOST], 0, in test_tcp_clear_dtime() 901 ASSERT_GT(dtimes[i], 0, dtime_cnt_str(t, i)); in test_tcp_dtime() 930 ASSERT_GT(dtimes[i], 0, dtime_cnt_str(t, i)); in test_udp_dtime() 1267 if (!ASSERT_GT(ifindex, 0, "if_indextoname tun_fwd")) in test_tc_redirect_peer_l3()
|
| H A D | lsm_bdev.c | 153 if (!ASSERT_GT((int)strlen(roothash), 0, "roothash not empty")) in test_lsm_bdev() 196 ASSERT_GT(skel->bss->alloc_count, 0, "alloc_count"); in test_lsm_bdev()
|
| H A D | xdp_bonding.c | 105 if (!ASSERT_GT(ifindex, 0, "get ifindex")) in xdp_attach() 230 if (!ASSERT_GT(ifindex, 0, "get bond1 ifindex")) in send_udp_packets() 355 if (!ASSERT_GT(ifindex, 0, "could not get interface index")) in test_xdp_bonding_redirect_multi() 547 if (!ASSERT_GT(veth1_ifindex, 0, "veth1_ifindex")) in test_xdp_bonding_redirect_no_up() 727 if (!ASSERT_GT(bond_ifindex, 0, "bond0 ifindex")) in test_xdp_bonding_xmit_policy_compat()
|
| /linux/tools/testing/selftests/filesystems/eventfd/ |
| H A D | eventfd_test.c | 67 ASSERT_GT(flags, -1); in TEST() 81 ASSERT_GT(flags, -1); in TEST() 96 ASSERT_GT(flags, -1); in TEST() 101 ASSERT_GT(flags, -1); in TEST() 175 ASSERT_GT(ret, -1); in TEST()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_socket_protocol_test.c | 227 ASSERT_GT((info.mask & PIDFD_INFO_COREDUMP), 0); in TEST_F() 228 ASSERT_GT((info.coredump_mask & PIDFD_COREDUMPED), 0); in TEST_F() 233 ASSERT_GT(st.st_size, 0); in TEST_F() 371 ASSERT_GT((info.mask & PIDFD_INFO_COREDUMP), 0); in TEST_F() 372 ASSERT_GT((info.coredump_mask & PIDFD_COREDUMPED), 0); in TEST_F() 511 ASSERT_GT((info.mask & PIDFD_INFO_COREDUMP), 0); in TEST_F() 512 ASSERT_GT((info.coredump_mask & PIDFD_COREDUMPED), 0); in TEST_F() 632 ASSERT_GT((info.mask & PIDFD_INFO_COREDUMP), 0); in TEST_F() 633 ASSERT_GT((info.coredump_mask & PIDFD_COREDUMPED), 0); in TEST_F() 752 ASSERT_GT((inf in TEST_F() [all...] |
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_xattr_test.c | 73 ASSERT_GT(ret, 0); in TEST_F() 112 ASSERT_GT(ret, 0); in TEST_F() 128 ASSERT_GT(ret, 0); in TEST_F()
|
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | diag_uid.c | 123 ASSERT_GT(len, sizeof(*udr)); in render_response() 155 ASSERT_GT(ret, 0); in receive_response() 172 ASSERT_GT(ret, 0);
|
| /linux/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 429 ASSERT_GT(pid, 0); 438 ASSERT_GT(pid, 0); 447 ASSERT_GT(pid, 0);
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_pci_device_test.c | 49 ASSERT_GT((__fd = open(__sysfs_path, O_RDONLY)), 0); \ 50 ASSERT_GT(read(__fd, __buf, ARRAY_SIZE(__buf)), 0); \
|