| /xnu-11215/tests/recount/ |
| H A D | thread_selfcounts_tests.c | 21 T_EXPECT_GT(before->tcpi_instructions, UINT64_C(0), in _check_cpi() 97 _check_usage(struct thsc_time_energy_cpi *before, in _check_usage() argument 146 struct thsc_time_energy_cpi *before = calloc(level_count, sizeof(*before)); variable 152 level_count * sizeof(*before)); 167 free(before); 173 struct thsc_time_energy_cpi *before, in _expect_counts_on_perf_level() argument 178 level_count * sizeof(*before)); in _expect_counts_on_perf_level() 193 struct thsc_time_energy_cpi *before, in _expect_no_counts_on_perf_level() argument 198 level_count * sizeof(*before)); in _expect_no_counts_on_perf_level() 228 struct thsc_time_energy_cpi *before = calloc(level_count, sizeof(*before)); variable [all …]
|
| H A D | recount_tests.c | 300 before = __thread_selfusage(); 314 struct rusage_info_v6 before = { 0 }; variable 365 struct rusage_info_v6 before = { 0 }; variable 380 before.ri_secure_ptime_in_system, 385 before.ri_secure_time_in_system; 389 before.ri_system_ptime; 391 before.ri_secure_ptime_in_system; 403 before->ptcd_system_time_mach, before->ptcd_instructions, in _proc_pidthreadcounts_increasing() 404 before->ptcd_cycles, before->ptcd_energy_nj); in _proc_pidthreadcounts_increasing() 518 memset(before, 0, counts_size); [all …]
|
| H A D | recount_perf_tests.c | 160 sizeof(before)); in proc_pidtaskinfo_usage() 175 before.pti_total_user); in proc_pidtaskinfo_usage() 177 before.pti_total_system); in proc_pidtaskinfo_usage() 201 (rusage_info_t *)&before); in proc_pid_rusage_usage() 214 before.ri_user_time); in proc_pid_rusage_usage() 216 before.ri_system_time); in proc_pid_rusage_usage() 257 struct rusage before = { 0 }; in getrusage_usage() local 285 int before_ret = thread_selfcounts(THSC_TIME_CPI, &before, sizeof(before)); in thread_selfcounts_usage() 297 before.ttci_user_time_mach; in thread_selfcounts_usage() 301 before.ttci_instructions; in thread_selfcounts_usage() [all …]
|
| /xnu-11215/libkern/os/ |
| H A D | log.c | 1190 log_stats_get(before); \ 1232 if (before) { in log_stats_diff() 1233 d = *before; in log_stats_diff() 1278 log_stats_diff(before, after, &diff); in log_stats_report() 1328 log_stats_t before = {}, after = {}; in test_printf() local 1331 log_stats_get(&before); in test_printf() 1464 log_stats_t before = {}, after = {}; in test_os_log() local 1466 test_oslog_info(uniqid, n, &before, &after); in test_os_log() 1505 log_stats_t after, before, expected = {}; in test_os_log_parallel() local 1507 log_stats_get(&before); in test_os_log_parallel() [all …]
|
| /xnu-11215/tests/ |
| H A D | vm_test_mach_map.c | 1249 if (before != after) { 1293 if (before != after) { 1363 if (before != after) { 1617 if (before != after) { 1688 if (before != after) { 1764 if (before != after) { 1846 if (before != after) { 1968 before = *addr; 1975 } else if (after != before) { 1982 before = *addr; [all …]
|
| H A D | kqueue_timer_tests.c | 46 struct timeval before, after; in do_simple_kevent() local 55 gettimeofday(&before, NULL); in do_simple_kevent() 68 elapsed_usecs = (after.tv_sec - before.tv_sec) * (int64_t)USEC_PER_SEC + in do_simple_kevent() 69 (after.tv_usec - before.tv_usec); in do_simple_kevent() 232 struct timeval before, after; in test_interval_kevent() local 235 gettimeofday(&before, NULL); in test_interval_kevent() 251 elapsed_usecs = (uint64_t)((after.tv_sec - before.tv_sec) * (int64_t)USEC_PER_SEC + in test_interval_kevent() 252 (after.tv_usec - before.tv_usec)); in test_interval_kevent()
|
| H A D | mach_continuous_time.c | 239 int before, after; variable 248 before = (int)to_ms(mach_continuous_time()); 254 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time should not jump more than 1s"); 266 int before, after; variable 275 before = (int)to_ms(mach_continuous_time_kernel()); 281 T_ASSERT_LT(abs(before - after), 1000, "mach_continuous_time_kernel should not jump more than 1s");
|
| H A D | monotonic_uncore.c | 331 uint64_t before = counts[0][i * mon]; variable 332 uint64_t delta = after - before; 334 before, after, delta); 336 T_EXPECT_GT(after, before,
|
| /xnu-11215/san/memory/ |
| H A D | kasan-report.c | 55 int before = CRASH_CONTEXT_BEFORE; in kasan_dump_shadow() local 64 shadow -= CONTEXT_BLOCK_SIZE * before; in kasan_dump_shadow() 69 for (i = 0; i < 1 + before + after; i++, shadow += CONTEXT_BLOCK_SIZE) { in kasan_dump_shadow()
|
| H A D | kasan-blacklist-arm64 | 19 # These are required to fixup the kernelcache, which needs to happen before KASAN
|
| /xnu-11215/bsd/kern/ |
| H A D | bsd_syscalls_stashtask.txt | 3 - Fill in any gaps before being added to the end of the list.
|
| /xnu-11215/EXTERNAL_HEADERS/CoreEntitlements/ |
| H A D | KernelUtils.hpp | 15 #error This is a private API, please consult with the Trusted Execution team before using this. Mis…
|
| H A D | EntitlementsPriv.h | 18 #error This is a private API, please consult with the Trusted Execution team before using this. Mis…
|
| /xnu-11215/osfmk/UserNotification/ |
| H A D | UNDRequest.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 102 * care should be exercised before using this method.
|
| /xnu-11215/doc/primitives/ |
| H A D | sched_cond.md | 41 1. Multiple calls to wake the consumer thread (A) may be made before the consumer_thread has awoken. 89 last ack before giong to sleep.
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOServiceStateNotificationDispatchSource.iig | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 97 * before reading any item values.
|
| H A D | OSAction.iig | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 131 * @discussion This call should be made before any possible invocation of the action. 143 * if necessary the action should be canceled before calling EndWait().
|
| H A D | IOEventLink.iig | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 171 …* @discussion The event link must be activated before it can be signaled or waited on. This is no… 179 * @discussion The eventlink should be activated before this call. This is not real-time safe.
|
| /xnu-11215/libkern/zlib/ |
| H A D | README | 29 PLEASE read the zlib FAQ http://www.gzip.org/zlib/zlib_faq.html before asking 82 installed before testing (do "make install" before "make test"), since the
|
| /xnu-11215/libsyscall/mach/ |
| H A D | processor.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
| H A D | restartable.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
| H A D | processor_set.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
| H A D | exc.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
| H A D | mach_vm.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|
| H A D | host_priv.defs | 16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
|