Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.81.4/tests/vm/
H A Dupl.c60 bool should_fail; member
76 .copy_expected = false, .should_fail = false, .upl_rw = false };
113 .copy_expected = false, .should_fail = false, .upl_rw = false };
148 .copy_expected = false, .should_fail = false, .upl_rw = true };
210 .copy_expected = false, .should_fail = true, .upl_rw = true };
249 .copy_expected = copy_expected, .should_fail = false, .upl_rw = false };
268 .copy_expected = true, .should_fail = true, .upl_rw = true };
308 .copy_expected = copy_expected, .should_fail = false, .upl_rw = false };
347 bool should_fail = is_sptm_enabled(); variable
352 .copy_expected = false, .should_fail = should_fail, .upl_rw = true };
[all …]
H A Dmach_vm_map.c99 bool should_fail = false; in mach_vm_map_unaligned_test() local
135 should_fail = true; in mach_vm_map_unaligned_test()
140 should_fail = true; in mach_vm_map_unaligned_test()
158 if (should_fail) { in mach_vm_map_unaligned_test()
191 if (!should_fail) { in mach_vm_map_unaligned_test()
/xnu-12377.81.4/osfmk/vm/
H A Dvm_tests.c3255 bool should_fail; /* Is UPL creation expected to fail due to permissions checking? */ in vm_upl_test() member
3279 if (args.should_fail && (kr == KERN_PROTECTION_FAILURE)) { in vm_upl_test()
3281 } else if (args.should_fail && (kr == KERN_SUCCESS)) { in vm_upl_test()
3551 bool should_fail; /* Is UPL creation expected to fail due to permissions checking? */ in vm_upl_object_test() member
3617 if (args.should_fail && (kr == KERN_PROTECTION_FAILURE)) { in vm_upl_object_test()
3619 } else if (args.should_fail && (kr == KERN_SUCCESS)) { in vm_upl_object_test()
/xnu-12377.81.4/tests/
H A Dstackshot_tests.m154 bool should_fail; field
220 if (scenario->should_fail) {
482 .should_fail = true,