Searched refs:threshold (Results 1 - 7 of 7) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.h96 u_int32_t threshold; member in struct:HotFilesInfo
H A Dhfs_hotfiles.c99 u_int32_t threshold; member in struct:hotfile_data
283 hotdata->threshold = HFC_MINIMUM_TEMPERATURE;
482 hotfileinfo.threshold = SWAP_BE32 (hotdata->threshold);
819 if (temperature < hotdata->threshold) {
884 if (temperature < hotdata->threshold)
1904 hotfileinfo->threshold = SWAP_BE32 (HFC_MINIMUM_TEMPERATURE);
/darwin-on-arm/xnu/osfmk/i386/
H A Dmachine_check.c414 int threshold = status.bits_tes_p.threshold; local
420 mca_threshold_status[threshold] :
525 " threshold-based error status present\n"),
H A Dmachine_check.h132 struct { /* Variant if threshold-based error status present: */
136 uint64_t threshold :BITS(54,53); member in struct:__anon959::__anon961
/darwin-on-arm/xnu/osfmk/pmc/
H A Dpmc.h183 * @abstract A pointer to a method that will set the counter PMI threshold.
185 * @param threshold The number of events after which to cause an interrupt
188 typedef kern_return_t (*pmc_config_set_interrupt_threshold_method_t)(pmc_config_object_t config, uint64_t threshold);
191 * @abstract A pointer to a method that will set the method to be called when the counter threshold is reached.
582 kern_return_t pmc_config_set_interrupt_threshold(pmc_t pmc, pmc_config_t config, uint64_t threshold, pmc_interrupt_method_t method, void *refCon);
H A Dpmc.c1668 * with an interrupt threshold counts the requested number of events. When the
1669 * underlying counter hits the threshold, an interrupt is generated, and this
2085 * after the counter counts @threshold events.
2096 uint64_t threshold, pmc_interrupt_method_t method, void *refCon) {
2122 config->interrupt_after_value = threshold;
2325 /* set the threshold */
2334 COUNTER_DEBUG("Failed to set threshold for pmc %p\n", resv->pmc);
2889 pmc_config_t config __unused, uint64_t threshold __unused,
2095 pmc_config_set_interrupt_threshold(pmc_t pmc, pmc_config_t config, uint64_t threshold, pmc_interrupt_method_t method, void *refCon) argument
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c1173 pf_init_threshold(struct pf_threshold *threshold, argument
1176 threshold->limit = limit * PF_THRESHOLD_MULT;
1177 threshold->seconds = seconds;
1178 threshold->count = 0;
1179 threshold->last = pf_time_second();
1183 pf_add_threshold(struct pf_threshold *threshold) argument
1185 u_int32_t t = pf_time_second(), diff = t - threshold->last;
1187 if (diff >= threshold->seconds)
1188 threshold->count = 0;
1190 threshold
1197 pf_check_threshold(struct pf_threshold *threshold) argument
[all...]

Completed in 316 milliseconds