Home
last modified time | relevance | path

Searched refs:probability (Results 1 – 4 of 4) sorted by relevance

/xnu-12377.61.12/tests/unit/mocks/fibers/
H A Dfibers.c76 fibers_default_should_yield(__unused void *arg, uint64_t probability, __unused fiber_yield_reason_t… in fibers_default_should_yield() argument
78 return probability && random_below(probability) == 0; in fibers_default_should_yield()
386 fibers_may_yield_with_prob(uint64_t probability) in fibers_may_yield_with_prob() argument
388 return fibers_may_yield_with_prob_and_reason(probability, FIBERS_YIELD_REASON_UNKNOWN); in fibers_may_yield_with_prob()
398 fibers_may_yield_with_prob_and_reason(uint64_t probability, fiber_yield_reason_t reason) in fibers_may_yield_with_prob_and_reason() argument
404 if (fibers_scheduler->fibers_should_yield(fibers_scheduler_context, probability, reason)) { in fibers_may_yield_with_prob_and_reason()
H A Dfibers.h124 bool (*fibers_should_yield)(void *arg, uint64_t probability, fiber_yield_reason_t reason);
345 extern bool fibers_may_yield_with_prob(uint64_t probability);
349 extern bool fibers_may_yield_with_prob_and_reason(uint64_t probability, fiber_yield_reason_t reason…
/xnu-12377.61.12/doc/allocators/
H A Dguard-objects.md198 attackers to contend with a high probability of hitting these guards.
266 a probability of failure close to $\mathcal{G}/\mathcal{S}$. This probability of
/xnu-12377.61.12/doc/arm/
H A Dapple_speculative_hardening.md241 Assuming a uniformly random distribution of zones to fronts, the probability an
248 As of writing, the kernel has `n=8` submap fronts, and so the probability of
282 probability of success is highly dependent on the number of zones allocated to a
285 where a size class is allocated only two zones, the probability an attacker is
291 With `n=8` submap fronts, the probability of success given `k` gadgets can be
312 since the probability of success is heavily influenced by the number zones