| /xnu-12377.1.9/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 | 143 out->zero_fill_count = counter_load(&vm_statistics_zero_fill_count); in get_host_vm_stats() 144 out->reactivations = counter_load(&vm_statistics_reactivations); in get_host_vm_stats() 145 out->pageins = counter_load(&vm_statistics_pageins); in get_host_vm_stats() 146 out->pageouts = counter_load(&vm_statistics_pageouts); in get_host_vm_stats() 147 out->faults = counter_load(&vm_statistics_faults); in get_host_vm_stats() 148 out->cow_faults = counter_load(&vm_statistics_cow_faults); in get_host_vm_stats() 149 out->lookups = counter_load(&vm_statistics_lookups); in get_host_vm_stats() 150 out->hits = counter_load(&vm_statistics_hits); in get_host_vm_stats() 151 out->compressions = counter_load(&vm_statistics_compressions); in get_host_vm_stats() 152 out->decompressions = counter_load(&vm_statistics_decompressions); in get_host_vm_stats() [all …]
|
| H A D | bsd_kern.c | 1119 ptinfo->pti_faults = (int32_t) MIN(counter_load(&task->faults), INT32_MAX); in fill_taskprocinfo() 1120 ptinfo->pti_pageins = (int32_t) MIN(counter_load(&task->pageins), INT32_MAX); in fill_taskprocinfo() 1121 ptinfo->pti_cow_faults = (int32_t) MIN(counter_load(&task->cow_faults), INT32_MAX); in fill_taskprocinfo() 1122 ptinfo->pti_messages_sent = (int32_t) MIN(counter_load(&task->messages_sent), INT32_MAX); in fill_taskprocinfo() 1123 ptinfo->pti_messages_received = (int32_t) MIN(counter_load(&task->messages_received), INT32_MAX); in fill_taskprocinfo() 1281 ri->ri_pageins = counter_load(&task->pageins); in fill_task_rusage()
|
| H A D | telemetry.c | 569 .tks_pageins = counter_load(&kernel_task->pageins), in _telemetry_take_sample_kernel() 570 .tks_faults = counter_load(&kernel_task->faults), in _telemetry_take_sample_kernel() 571 .tks_cow_faults = counter_load(&kernel_task->cow_faults), in _telemetry_take_sample_kernel() 1054 tsnap->faults = counter_load(&task->faults); in _write_task_snapshot() 1055 tsnap->pageins = counter_load(&task->pageins); in _write_task_snapshot() 1056 tsnap->cow_faults = counter_load(&task->cow_faults); in _write_task_snapshot()
|
| 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 | 4001 cur_tsnap->ts_faults = counter_load(&task->faults); in kcdata_record_task_snapshot() 4002 cur_tsnap->ts_pageins = counter_load(&task->pageins); in kcdata_record_task_snapshot() 4003 cur_tsnap->ts_cow_faults = counter_load(&task->cow_faults); in kcdata_record_task_snapshot() 4158 cur_tsnap->tds_faults = counter_load(&task->faults); in kcdata_record_task_delta_snapshot() 4159 cur_tsnap->tds_pageins = counter_load(&task->pageins); in kcdata_record_task_delta_snapshot() 4160 cur_tsnap->tds_cow_faults = counter_load(&task->cow_faults); in kcdata_record_task_delta_snapshot() 5657 compressions = counter_load(&vm_statistics_compressions); in kdp_mem_and_io_snapshot() 5658 decompressions = counter_load(&vm_statistics_decompressions); in kdp_mem_and_io_snapshot()
|
| H A D | task.c | 2045 counter_add(&to_task->faults, counter_load(&from_task->faults)); in task_rollup_accounting_info() 2046 counter_add(&to_task->pageins, counter_load(&from_task->pageins)); in task_rollup_accounting_info() 2047 counter_add(&to_task->cow_faults, counter_load(&from_task->cow_faults)); in task_rollup_accounting_info() 2048 counter_add(&to_task->messages_sent, counter_load(&from_task->messages_sent)); in task_rollup_accounting_info() 2049 counter_add(&to_task->messages_received, counter_load(&from_task->messages_received)); in task_rollup_accounting_info() 5823 events_info->faults = (int32_t) MIN(counter_load(&task->faults), INT32_MAX); in task_info() 5824 events_info->pageins = (int32_t) MIN(counter_load(&task->pageins), INT32_MAX); in task_info() 5825 events_info->cow_faults = (int32_t) MIN(counter_load(&task->cow_faults), INT32_MAX); in task_info() 5826 events_info->messages_sent = (int32_t) MIN(counter_load(&task->messages_sent), INT32_MAX); in task_info() 5827 events_info->messages_received = (int32_t) MIN(counter_load(&task->messages_received), INT32_MAX); in task_info()
|
| H A D | ledger.c | 1366 uint64_t from_val = counter_load(&from_lec->lec_counter); in ledger_rollup_entry() 2348 *credit = counter_load(&lec->lec_counter); in ledger_get_entries() 2499 lei->lei_credit = counter_load(&lec->lec_counter); in _ledger_fill_entry_info()
|
| H A D | timer_call.c | 1657 return counter_load(&timer_scan_pauses_cnt); in timer_sysctl_get() 1659 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 | 7638 counter_load(&kalloc_large_total)); in panic_display_zprint()
|
| /xnu-12377.1.9/libkern/os/ |
| H A D | log.c | 1218 stats->total = counter_load(&oslog_p_total_msgcount); in log_stats_get() 1219 stats->saved = counter_load(&log_queue_cnt_received); in log_stats_get() 1220 stats->dropped = counter_load(&oslog_p_dropped_msgcount); in log_stats_get() 1221 stats->truncated = counter_load(&oslog_p_truncated_msgcount); in log_stats_get() 1222 stats->errors = counter_load(&oslog_p_error_count); in log_stats_get() 1223 stats->errors_kc = counter_load(&oslog_p_unresolved_kc_msgcount); in log_stats_get() 1224 stats->errors_fmt = counter_load(&oslog_p_fmt_invalid_msgcount); in log_stats_get() 1225 stats->errors_max_args = counter_load(&oslog_p_fmt_max_args_msgcount); in log_stats_get() 1565 out[1] = counter_load(&oslog_p_total_msgcount); in test_oslog_handleOSLogCtl() 1566 out[2] = counter_load(&oslog_p_saved_msgcount); in test_oslog_handleOSLogCtl() [all …]
|
| H A D | log_queue.c | 564 const uint64_t total_log_cnt = counter_load(&log_queue_cnt_received); in log_queue_can_release_memory()
|
| /xnu-12377.1.9/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 | 2250 uint64_t value = counter_load(&counter);
|
| /xnu-12377.1.9/osfmk/kperf/ |
| H A D | task_samplers.c | 82 tksn->kptksn_pageins = (integer_t) MIN(counter_load(&task->pageins), INT32_MAX); in kperf_task_snapshot_sample()
|
| /xnu-12377.1.9/osfmk/ipc/ |
| H A D | ipc_voucher.c | 268 counter_load(&voucher_table.smrsh_count), in iv_dealloc() 1305 uint64_t ivht_count = counter_load(&voucher_table.smrsh_count); in iv_dedup()
|
| /xnu-12377.1.9/osfmk/vm/ |
| H A D | vm_pageout.c | 1742 tmp64 = counter_load(&vm_page_grab_count); 1750 tmp64 = counter_load(&vm_statistics_swapouts); 1754 tmp64 = counter_load(&vm_statistics_swapins);
|
| H A D | vm_resident.c | 11227 count = counter_load(&task->pageins); in vm_task_evict_shared_cache() 11283 return counter_load(&task->pageins); in vm_task_pageins()
|