| /xnu-11215/osfmk/kern/ |
| H A D | timer_call.c | 1387 threshold = time_start + tlp->threshold.interval; in timer_longterm_scan() 1491 tlp->threshold.deadline = tlp->threshold.preempted; in timer_longterm_update_locked() 1522 tlp->threshold.deadline_set = tlp->threshold.deadline; in timer_longterm_update_locked() 1526 tlp->threshold.deadline_set -= tlp->threshold.margin; in timer_longterm_update_locked() 1527 tlp->threshold.deadline_set -= tlp->threshold.latency; in timer_longterm_update_locked() 1595 tlp->threshold.margin = tlp->threshold.interval / 10; in timer_longterm_init() 1679 threshold = now + tlp->threshold.interval; in timer_master_scan() 1735 tlp->threshold.margin = tlp->threshold.interval / 10; in timer_sysctl_set_threshold() 1757 tlp->threshold.deadline_set = tlp->threshold.deadline; in timer_sysctl_set_threshold() 1759 tlp->threshold.deadline_set -= tlp->threshold.margin; in timer_sysctl_set_threshold() [all …]
|
| H A D | zalloc.c | 5086 zone_map_nearing_threshold(unsigned int threshold) in zone_map_nearing_threshold() argument 5089 return phys_pages * 100 > zone_pages_wired_max * threshold; in zone_map_nearing_threshold()
|
| /xnu-11215/osfmk/kperf/ |
| H A D | lazy.c | 195 kperf_lazy_set_wait_time_threshold(uint64_t threshold) in kperf_lazy_set_wait_time_threshold() argument 197 kperf_lazy_wait_time_threshold = threshold; in kperf_lazy_set_wait_time_threshold() 225 kperf_lazy_set_cpu_time_threshold(uint64_t threshold) in kperf_lazy_set_cpu_time_threshold() argument 227 kperf_lazy_cpu_time_threshold = threshold; in kperf_lazy_set_cpu_time_threshold()
|
| H A D | lazy.h | 53 int kperf_lazy_set_wait_time_threshold(uint64_t threshold); 54 int kperf_lazy_set_cpu_time_threshold(uint64_t threshold);
|
| /xnu-11215/osfmk/mach/ |
| H A D | resource_notify.defs | 71 /* threshold crossed: calculated from proc_set_cpumon_params() */ 91 /* threshold crossed: calculated from proc_set_wakemon_params() */ 111 /* threshold */ 129 /* threshold */ 149 /* threshold */ 170 /* threshold */
|
| /xnu-11215/osfmk/arm/ |
| H A D | preemption_disable.c | 391 uint64_t const threshold = os_atomic_load(&sched_preemption_disable_threshold_mt, relaxed); in _collect_preemption_disable_measurement() local 392 if (__improbable(threshold > 0 && gross_duration >= threshold)) { in _collect_preemption_disable_measurement() 399 if (net_duration < threshold) { in _collect_preemption_disable_measurement() 435 net_duration, threshold, start.pds_mach_time, now.pds_mach_time, in _collect_preemption_disable_measurement()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_phantom_cache.c | 380 is_thrashing(uint32_t added, uint32_t found, uint32_t threshold) in is_thrashing() argument 383 if (added < threshold || found < threshold) { in is_thrashing()
|
| /xnu-11215/osfmk/i386/ |
| H A D | machine_check.h | 136 uint64_t threshold :BITS(54, 53); member
|
| /xnu-11215/san/coverage/ |
| H A D | kcov_stksz.c | 57 SYSCTL_INT(_kern_kcov_stksz, OID_AUTO, threshold, CTLFLAG_RW | CTLFLAG_LOCKED, &stksz_threshold,
|
| /xnu-11215/bsd/net/ |
| H A D | ntstat.h | 598 u_int64_t threshold __attribute__((aligned(sizeof(u_int64_t)))); member 741 u_int64_t threshold __attribute__((aligned(sizeof(u_int64_t)))); member
|
| H A D | pf.c | 1222 threshold->limit = limit * PF_THRESHOLD_MULT; in pf_init_threshold() 1223 threshold->seconds = seconds; in pf_init_threshold() 1224 threshold->count = 0; in pf_init_threshold() 1225 threshold->last = pf_time_second(); in pf_init_threshold() 1233 if (diff >= threshold->seconds) { in pf_add_threshold() 1234 threshold->count = 0; in pf_add_threshold() 1236 threshold->count -= threshold->count * diff / in pf_add_threshold() 1237 threshold->seconds; in pf_add_threshold() 1239 threshold->count += PF_THRESHOLD_MULT; in pf_add_threshold() 1240 threshold->last = t; in pf_add_threshold() [all …]
|
| H A D | ntstat.c | 3891 uint64_t threshold; member 3907 if (length < sizeof(*param) || param->threshold < 1024 * 1024) { in nstat_ifnet_lookup() 3929 cookie->threshold = param->threshold; in nstat_ifnet_lookup() 3932 ifp->if_data_threshold > param->threshold) { in nstat_ifnet_lookup() 3934 ifp->if_data_threshold = param->threshold; in nstat_ifnet_lookup() 4048 if (ifcookie->threshold < minthreshold) { in nstat_ifnet_release() 4049 minthreshold = ifcookie->threshold; in nstat_ifnet_release() 4445 desc->threshold = ifp->if_data_threshold; in nstat_ifnet_copy_descriptor()
|
| /xnu-11215/doc/vm/ |
| H A D | memorystatus.md | 124 …` is low. Each action is taken until `memorystatus_available_pages` rises back above the threshold. 130 \*Note that the memorystatus pressure threshold does *not* determine the "system memory pressure le…
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | misc.py | 178 ltt = lt.threshold
|
| /xnu-11215/bsd/kern/ |
| H A D | vsock_domain.c | 1385 const uint32_t threshold = VSOCK_MAX_PACKET_SIZE; in vsock_soreceive() local 1388 if ((pcb->fwd_cnt - pcb->last_fwd_cnt + threshold) >= pcb->last_buf_alloc) { in vsock_soreceive()
|
| H A D | kern_memorystatus.c | 1194 uint32_t threshold; variable 1196 threshold = memorystatus_get_idle_exit_page_shortage_threshold(); 1198 threshold = memorystatus_get_soft_memlimit_page_shortage_threshold(); 1200 threshold = memorystatus_get_critical_page_shortage_threshold(); 1204 return sysctl_handle_int(oidp, NULL, threshold, req);
|
| H A D | kern_sysctl.c | 3255 SYSCTL_PROC(_kern_timer_longterm, OID_AUTO, threshold,
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.def | 1092 LDFLAGS_KERNEL_LTO = -Wl,-mllvm,-inline-threshold=100
|