| /linux/tools/testing/selftests/mm/ |
| H A D | guard-regions.c | 364 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 378 ASSERT_FALSE(try_read_write_buf(ptr)); in TEST_F() 379 ASSERT_FALSE(try_read_write_buf(&ptr[(NUM_PAGES - 1) * page_size])); in TEST_F() 382 ASSERT_FALSE(madvise(ptr, page_size, MADV_GUARD_REMOVE)); in TEST_F() 388 ASSERT_FALSE(madvise(&ptr[(NUM_PAGES - 1) * page_size], page_size, in TEST_F() 405 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 495 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 501 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 507 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 556 ASSERT_FALSE(try_read_write_bu in TEST_F() [all...] |
| /linux/tools/testing/selftests/pidfd/ |
| H A D | pidfd_info_test.c | 143 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 158 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 177 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 192 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 215 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 321 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 332 ASSERT_FALSE(!!(info2.mask & PIDFD_INFO_EXIT)); in TEST_F() 339 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_EXIT)); in TEST_F() 364 ASSERT_FALSE(!!(info.mask & PIDFD_INFO_CREDS)); in TEST_F() 376 ASSERT_FALSE(!!(info in TEST_F() [all...] |
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | struct_ops_autocreate.c | 73 ASSERT_FALSE(bpf_program__autoload(skel->progs.test_2), "test_2 actual autoload"); in can_load_partial_object() 92 ASSERT_FALSE(bpf_map__autocreate(skel->maps.optional_map), "optional_map autocreate"); in optional_maps() 93 ASSERT_FALSE(bpf_map__autocreate(skel->maps.optional_map2), "optional_map2 autocreate"); in optional_maps() 124 ASSERT_FALSE(bpf_program__autoload(skel->progs.foo), "foo default autoload"); in autoload_and_shadow_vars() 125 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar default autoload"); in autoload_and_shadow_vars() 135 ASSERT_FALSE(bpf_program__autoload(skel->progs.bar), "bar actual autoload"); in autoload_and_shadow_vars()
|
| H A D | custom_sec_handlers.c | 27 ASSERT_FALSE(true, "unexpected preload for abc"); in custom_prepare_load_prog() 48 ASSERT_FALSE(true, "unexpected cookie"); in custom_attach_prog() 134 ASSERT_FALSE(bpf_program__autoload(skel->progs.abc1), "abc1_autoload"); in test_custom_sec_handlers() 162 ASSERT_FALSE(skel->bss->abc1_called, "abc1_called"); in test_custom_sec_handlers() 167 ASSERT_FALSE(skel->bss->kprobe1_called, "kprobe1_called"); in test_custom_sec_handlers() 169 ASSERT_FALSE(skel->bss->xyz_called, "xyz_called"); in test_custom_sec_handlers()
|
| H A D | cgroup_getset_retval.c | 46 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_set() 86 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_set_and_get() 123 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_default_zero() 166 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_default_zero_and_set() 215 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_override() 261 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_legacy_eperm() 312 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_setsockopt_legacy_no_override() 354 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_get() 396 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_override() 442 if (!ASSERT_FALSE(obj->bss->assertion_error, "assertion_error")) in test_getsockopt_retval_sync()
|
| H A D | autoattach.c | 18 ASSERT_FALSE(bpf_program__autoattach(skel->progs.prog2), "autoattach_prog2"); in test_autoattach() 25 ASSERT_FALSE(skel->bss->prog2_called, "attached_prog2"); in test_autoattach()
|
| H A D | test_mmap_inner_array.c | 35 ASSERT_FALSE(skel->bss->outer_map_match, "outer map match 1"); in test_mmap_inner_array() 36 ASSERT_FALSE(skel->bss->done, "done 1"); in test_mmap_inner_array()
|
| H A D | tailcalls.c | 345 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_count() 350 if (!ASSERT_FALSE(data_fd < 0, in test_tailcall_count() 362 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_count() 367 if (!ASSERT_FALSE(data_fd < 0, in test_tailcall_count() 1040 if (!ASSERT_FALSE(map_fd < 0, "find jmp_table map fd")) in test_tailcall_bpf2bpf_fentry_entry() 1048 if (!ASSERT_FALSE(prog_fd < 0, "find classifier_0 prog fd")) in test_tailcall_bpf2bpf_fentry_entry() 1082 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_bpf2bpf_fentry_entry() 1087 if (!ASSERT_FALSE(data_fd < 0, "find tailcall.bss map fd")) in test_tailcall_bpf2bpf_fentry_entry() 1096 if (!ASSERT_FALSE(!data_map || !bpf_map__is_internal(data_map), in test_tailcall_bpf2bpf_fentry_entry() 1101 if (!ASSERT_FALSE(data_f in test_tailcall_bpf2bpf_fentry_entry() [all...] |
| H A D | core_kern.c | 23 ASSERT_FALSE(skel->bss->proto_out[1], "!bpf_core_type_exists"); in test_core_kern_lskel()
|
| H A D | log_buf.c | 79 ASSERT_FALSE(libbpf_log_error, "libbpf_log_error"); in obj_load_log_buf() 122 ASSERT_FALSE(libbpf_log_error, "libbpf_log_error"); in obj_load_log_buf()
|
| H A D | decap_sanity.c | 67 ASSERT_FALSE(skel->bss->broken_csum_start, "broken_csum_start"); in test_decap_sanity()
|
| H A D | preempted_bpf_ma_op.c | 86 ASSERT_FALSE(skel->bss->nomem_err, "ENOMEM"); in test_preempted_bpf_ma_op()
|
| H A D | bpf_obj_id.c | 123 !ASSERT_FALSE((env.jit_enabled && !prog_infos[i].jited_prog_len), "jited_prog_len") || in serial_test_bpf_obj_id() 124 !ASSERT_FALSE((env.jit_enabled && !memcmp(jited_insns, zeros, sizeof(zeros))), in serial_test_bpf_obj_id()
|
| /linux/tools/testing/vma/tests/ |
| H A D | vma.c | 198 ASSERT_FALSE(vma_flags_test(&flags, _flag)); \ in test_vma_flags_test() 199 ASSERT_FALSE(vma_flags_test_single_mask(&flags, mk_vma_flags(_flag))); \ in test_vma_flags_test() 200 ASSERT_FALSE(vma_test(&vma, _flag)); \ in test_vma_flags_test() 201 ASSERT_FALSE(vma_test_single_mask(&vma, mk_vma_flags(_flag))); \ in test_vma_flags_test() 202 ASSERT_FALSE(vma_desc_test(&desc, _flag)) in test_vma_flags_test() 220 ASSERT_FALSE(vma_flags_test_single_mask(&flags, EMPTY_VMA_FLAGS)); in test_vma_flags_test() 221 ASSERT_FALSE(vma_test_single_mask(&vma, EMPTY_VMA_FLAGS)); in test_vma_flags_test() 225 ASSERT_FALSE(vma_flags_test_single_mask(&flags, EMPTY_VMA_FLAGS)); in test_vma_flags_test() 226 ASSERT_FALSE(vma_test_single_mask(&vma, EMPTY_VMA_FLAGS)); in test_vma_flags_test() 257 ASSERT_FALSE(vma_flags_test_al in test_vma_flags_clear() [all...] |
| H A D | merge.c | 113 ASSERT_FALSE(attach_vma(&mm, vma_left)); in test_simple_merge() 114 ASSERT_FALSE(attach_vma(&mm, vma_right)); in test_simple_merge() 139 ASSERT_FALSE(attach_vma(&mm, init_vma)); in test_simple_modify() 206 ASSERT_FALSE(attach_vma(&mm, vma)); in test_simple_expand() 208 ASSERT_FALSE(expand_existing(&vmg)); in test_simple_expand() 228 ASSERT_FALSE(attach_vma(&mm, vma)); in test_simple_shrink() 230 ASSERT_FALSE(vma_shrink(&vmi, vma, 0, 0x1000, 0)); in test_simple_shrink() 310 ASSERT_FALSE(merged); in __test_merge_new() 1129 ASSERT_FALSE(vma_write_started(vma_next)); in test_anon_vma_non_mergeable() 1160 ASSERT_FALSE(vma_write_starte in test_dup_anon_vma() [all...] |
| H A D | mmap.c | 40 ASSERT_FALSE(true); in test_mmap_region_basic()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_socket_test.c | 358 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 428 ASSERT_FALSE(WCOREDUMP(status)); in TEST_F() 759 ASSERT_FALSE(set_core_pattern("@ /tmp/coredump.socket")); 760 ASSERT_FALSE(set_core_pattern("@/tmp/../coredump.socket")); 761 ASSERT_FALSE(set_core_pattern("@../coredump.socket")); 762 ASSERT_FALSE(set_core_pattern("@/tmp/coredump.socket/..")); 763 ASSERT_FALSE(set_core_pattern("@..")); 765 ASSERT_FALSE(set_core_pattern("@@ /tmp/coredump.socket")); 766 ASSERT_FALSE(set_core_pattern("@@/tmp/../coredump.socket")); 767 ASSERT_FALSE(set_core_patter [all...] |
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 599 ASSERT_FALSE(print_boundaries_on( in TEST_F() 605 ASSERT_FALSE(print_boundaries_on( in TEST_F() 608 ASSERT_FALSE(print_boundaries_on( in TEST_F() 690 ASSERT_FALSE(print_boundaries_on( in TEST_F() 696 ASSERT_FALSE(print_boundaries_on( in TEST_F() 699 ASSERT_FALSE(print_boundaries_on( in TEST_F() 770 ASSERT_FALSE(print_boundaries_on( in TEST_F() 776 ASSERT_FALSE(print_boundaries_on( in TEST_F() 779 ASSERT_FALSE(print_boundaries_on( in TEST_F()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | cred_change_test.c | 161 ASSERT_FALSE(found); in TEST() 276 ASSERT_FALSE(found); in TEST() 395 ASSERT_FALSE(found); in TEST() 564 ASSERT_FALSE(found_parent); in TEST() 565 ASSERT_FALSE(found_child); in TEST() 699 ASSERT_FALSE(found); in TEST() 810 ASSERT_FALSE(found); in TEST()
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_pci_device_test.c | 67 ASSERT_FALSE(command & PCI_COMMAND_MASTER); in TEST_F() 76 ASSERT_FALSE(command & PCI_COMMAND_MASTER); in TEST_F()
|
| /linux/tools/testing/selftests/riscv/vector/ |
| H A D | validate_v_ptrace.c | 172 ASSERT_FALSE((errno != 0) && (vstart_csr == -1)); in TEST() 176 ASSERT_FALSE((errno != 0) && (vl_csr == -1)); in TEST() 180 ASSERT_FALSE((errno != 0) && (vtype_csr == -1)); in TEST() 184 ASSERT_FALSE((errno != 0) && (vcsr_csr == -1)); in TEST() 188 ASSERT_FALSE((errno != 0) && (vlenb_csr == -1)); in TEST()
|
| /linux/tools/testing/selftests/user_events/ |
| H A D | user_events_selftests.h | 103 ASSERT_FALSE(fail); \
|
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | libc-gcs.c | 299 ASSERT_FALSE(true); in TEST() 438 ASSERT_FALSE(self->stack == MAP_FAILED); in FIXTURE_SETUP() 659 ASSERT_FALSE(self->stack == MAP_FAILED); in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/ring-buffer/ |
| H A D | map_test.c | 150 ASSERT_FALSE(fail); in FIXTURE_SETUP() 282 ASSERT_FALSE(fail); in FIXTURE_SETUP()
|
| /linux/tools/testing/vma/ |
| H A D | shared.h | 34 #define ASSERT_FALSE(_expr) ASSERT_TRUE(!(_expr)) macro 42 ASSERT_FALSE(vma_flags_same_mask((_flags), (_flags_other))) 48 ASSERT_FALSE(vma_flags_same(_flags, __VA_ARGS__)) 54 ASSERT_FALSE(vma_flags_empty(_flags))
|