| /xnu-11417.140.69/osfmk/kern/ |
| H A D | counter.h | 178 extern uint64_t counter_load(struct generic_counter_t *); 224 extern uint64_t counter_load(counter_t *);
|
| H A D | counter_common.c | 149 counter_load(atomic_counter_t *counter) in counter_load() function 156 counter_load(scalable_counter_t *counter) in counter_load() function
|
| H A D | host.c | 140 out->zero_fill_count = counter_load(&vm_statistics_zero_fill_count); in get_host_vm_stats() 141 out->reactivations = counter_load(&vm_statistics_reactivations); in get_host_vm_stats() 142 out->pageins = counter_load(&vm_statistics_pageins); in get_host_vm_stats() 143 out->pageouts = counter_load(&vm_statistics_pageouts); in get_host_vm_stats() 144 out->faults = counter_load(&vm_statistics_faults); in get_host_vm_stats() 145 out->cow_faults = counter_load(&vm_statistics_cow_faults); in get_host_vm_stats() 146 out->lookups = counter_load(&vm_statistics_lookups); in get_host_vm_stats() 147 out->hits = counter_load(&vm_statistics_hits); in get_host_vm_stats() 148 out->compressions = counter_load(&vm_statistics_compressions); in get_host_vm_stats() 149 out->decompressions = counter_load(&vm_statistics_decompressions); in get_host_vm_stats() [all …]
|
| H A D | telemetry.c | 567 .tks_pageins = counter_load(&kernel_task->pageins), in _telemetry_take_sample_kernel() 568 .tks_faults = counter_load(&kernel_task->faults), in _telemetry_take_sample_kernel() 569 .tks_cow_faults = counter_load(&kernel_task->cow_faults), in _telemetry_take_sample_kernel() 1053 tsnap->faults = counter_load(&task->faults); in _write_task_snapshot() 1054 tsnap->pageins = counter_load(&task->pageins); in _write_task_snapshot() 1055 tsnap->cow_faults = counter_load(&task->cow_faults); in _write_task_snapshot()
|
| H A D | bsd_kern.c | 1112 ptinfo->pti_faults = (int32_t) MIN(counter_load(&task->faults), INT32_MAX); in fill_taskprocinfo() 1113 ptinfo->pti_pageins = (int32_t) MIN(counter_load(&task->pageins), INT32_MAX); in fill_taskprocinfo() 1114 ptinfo->pti_cow_faults = (int32_t) MIN(counter_load(&task->cow_faults), INT32_MAX); in fill_taskprocinfo() 1115 ptinfo->pti_messages_sent = (int32_t) MIN(counter_load(&task->messages_sent), INT32_MAX); in fill_taskprocinfo() 1116 ptinfo->pti_messages_received = (int32_t) MIN(counter_load(&task->messages_received), INT32_MAX); in fill_taskprocinfo() 1274 ri->ri_pageins = counter_load(&task->pageins); in fill_task_rusage()
|
| H A D | test_lock.c | 300 assert3u(counter_load(&h->smrsh_count), ==, max_inserted); in smr_shash_basic_test()
|
| H A D | kern_stackshot.c | 3928 cur_tsnap->ts_faults = counter_load(&task->faults); in kcdata_record_task_snapshot() 3929 cur_tsnap->ts_pageins = counter_load(&task->pageins); in kcdata_record_task_snapshot() 3930 cur_tsnap->ts_cow_faults = counter_load(&task->cow_faults); in kcdata_record_task_snapshot() 4067 cur_tsnap->tds_faults = counter_load(&task->faults); in kcdata_record_task_delta_snapshot() 4068 cur_tsnap->tds_pageins = counter_load(&task->pageins); in kcdata_record_task_delta_snapshot() 4069 cur_tsnap->tds_cow_faults = counter_load(&task->cow_faults); in kcdata_record_task_delta_snapshot() 5565 compressions = counter_load(&vm_statistics_compressions); in kdp_mem_and_io_snapshot() 5566 decompressions = counter_load(&vm_statistics_decompressions); in kdp_mem_and_io_snapshot()
|
| H A D | task.c | 2003 counter_add(&to_task->faults, counter_load(&from_task->faults)); in task_rollup_accounting_info() 2004 counter_add(&to_task->pageins, counter_load(&from_task->pageins)); in task_rollup_accounting_info() 2005 counter_add(&to_task->cow_faults, counter_load(&from_task->cow_faults)); in task_rollup_accounting_info() 2006 counter_add(&to_task->messages_sent, counter_load(&from_task->messages_sent)); in task_rollup_accounting_info() 2007 counter_add(&to_task->messages_received, counter_load(&from_task->messages_received)); in task_rollup_accounting_info() 5742 events_info->faults = (int32_t) MIN(counter_load(&task->faults), INT32_MAX); in task_info() 5743 events_info->pageins = (int32_t) MIN(counter_load(&task->pageins), INT32_MAX); in task_info() 5744 events_info->cow_faults = (int32_t) MIN(counter_load(&task->cow_faults), INT32_MAX); in task_info() 5745 events_info->messages_sent = (int32_t) MIN(counter_load(&task->messages_sent), INT32_MAX); in task_info() 5746 events_info->messages_received = (int32_t) MIN(counter_load(&task->messages_received), INT32_MAX); in task_info() [all …]
|
| H A D | timer_call.c | 1656 return counter_load(&timer_scan_pauses_cnt); in timer_sysctl_get() 1658 return counter_load(&timer_scan_postpones_cnt); in timer_sysctl_get()
|
| H A D | smr.c | 2696 int64_t count = (int64_t)counter_load(&smrh->smrsh_count); in __smr_shash_count()
|
| H A D | zalloc.c | 8315 counter_load(&kalloc_large_total)); in panic_display_zprint()
|
| /xnu-11417.140.69/libkern/os/ |
| H A D | log.c | 1217 stats->total = counter_load(&oslog_p_total_msgcount); in log_stats_get() 1218 stats->saved = counter_load(&log_queue_cnt_received); in log_stats_get() 1219 stats->dropped = counter_load(&oslog_p_dropped_msgcount); in log_stats_get() 1220 stats->truncated = counter_load(&oslog_p_truncated_msgcount); in log_stats_get() 1221 stats->errors = counter_load(&oslog_p_error_count); in log_stats_get() 1222 stats->errors_kc = counter_load(&oslog_p_unresolved_kc_msgcount); in log_stats_get() 1223 stats->errors_fmt = counter_load(&oslog_p_fmt_invalid_msgcount); in log_stats_get() 1224 stats->errors_max_args = counter_load(&oslog_p_fmt_max_args_msgcount); in log_stats_get() 1563 out[1] = counter_load(&oslog_p_total_msgcount); in test_oslog_handleOSLogCtl() 1564 out[2] = counter_load(&oslog_p_saved_msgcount); in test_oslog_handleOSLogCtl() [all …]
|
| H A D | log_queue.c | 534 const uint64_t total_log_cnt = counter_load(&log_queue_cnt_received); in log_queue_can_release_memory()
|
| /xnu-11417.140.69/bsd/kern/ |
| H A D | counter_test.c | 68 T_ASSERT_EQ_ULLONG(counter_load(&test_static_scalable_counter), 1, "Counter was incremented"); in counter_tests() 160 value = counter_load(&test_scalable_counter);
|
| H A D | kern_newsysctl.c | 2222 uint64_t value = counter_load(&counter);
|
| /xnu-11417.140.69/osfmk/kperf/ |
| H A D | task_samplers.c | 71 tksn->kptksn_pageins = (integer_t) MIN(counter_load(&task->pageins), INT32_MAX); in kperf_task_snapshot_sample()
|
| /xnu-11417.140.69/osfmk/ipc/ |
| H A D | ipc_voucher.c | 269 counter_load(&voucher_table.smrsh_count), in iv_dealloc() 1305 uint64_t ivht_count = counter_load(&voucher_table.smrsh_count); in iv_dedup()
|
| /xnu-11417.140.69/osfmk/vm/ |
| H A D | vm_pageout.c | 1729 tmp64 = counter_load(&vm_page_grab_count);
|