| /xnu-12377.81.4/osfmk/kern/ |
| H A D | clock.c | 129 uint64_t frac; member 137 _u = _bt->frac; in bintime_addx() 138 _bt->frac += _x; in bintime_addx() 139 if (_u > _bt->frac) { in bintime_addx() 149 _u = _bt->frac; in bintime_subx() 150 _bt->frac -= _x; in bintime_subx() 151 if (_u < _bt->frac) { in bintime_subx() 206 _u = _bt->frac; in bintime_add() 207 _bt->frac += _bt2->frac; in bintime_add() 208 if (_u > _bt->frac) { in bintime_add() [all …]
|
| H A D | sched_average.c | 88 #define frac(n) (((base(n) - 1) * LOAD_SCALE) / base(n)) macro 91 frac(5), /* 5 second average */ 92 frac(30), /* 30 second average */ 93 frac(60), /* 1 minute average */ 97 #undef frac
|
| H A D | clock.h | 117 uint64_t frac,
|
| /xnu-12377.81.4/libsyscall/wrappers/ |
| H A D | __commpage_gettimeofday.c | 45 uint64_t delta, frac; in __commpage_gettimeofday_internal() local 111 frac = TimeStamp_frac; in __commpage_gettimeofday_internal() 112 frac += Tick_scale * delta; in __commpage_gettimeofday_internal() 113 if (TimeStamp_frac > frac) { in __commpage_gettimeofday_internal() 121 tp->tv_usec = ((uint64_t)1000000 * (uint32_t)(frac >> 32)) >> 32; in __commpage_gettimeofday_internal()
|
| /xnu-12377.81.4/osfmk/arm/commpage/ |
| H A D | commpage.h | 37 extern void commpage_set_timestamp(uint64_t tbr, uint64_t secs, uint64_t frac, uint64_t scale, …
|
| H A D | commpage.c | 306 uint64_t frac, in commpage_set_timestamp() argument 323 commpage_timeofday_datap->TimeStamp_frac = frac; in commpage_set_timestamp()
|
| /xnu-12377.81.4/osfmk/i386/ |
| H A D | rtclock.c | 404 clock_gettimeofday_set_commpage(uint64_t abstime, uint64_t sec, uint64_t frac, uint64_t scale, uint… in clock_gettimeofday_set_commpage() argument 406 commpage_set_timestamp(abstime, sec, frac, scale, tick_per_sec); in clock_gettimeofday_set_commpage()
|
| /xnu-12377.81.4/osfmk/arm/ |
| H A D | rtclock.c | 306 uint64_t frac, in clock_gettimeofday_set_commpage() argument 310 commpage_set_timestamp(abstime, sec, frac, scale, tick_per_sec); in clock_gettimeofday_set_commpage()
|
| /xnu-12377.81.4/doc/allocators/ |
| H A D | guard-objects.md | 228 \frac{\mathcal{G}}{\mathcal{G+1}}\right)^{\mathcal{S} - \mathcal{G}}$$ 238 use-after-free. A round gives attackers $\frac{\mathcal{G}}{ 242 $$failure\_rate =\left( 1 - \frac{(\mathcal{S} - \mathcal{G)} \bmod \mathcal{Q} 244 \left(\frac{\mathcal{G}}{\mathcal{G} + \mathcal{Q}}\right)^{ 245 \left\lfloor \frac{\mathcal{S} -\mathcal{G}}{\mathcal{Q}} \right\rfloor}$$
|
| /xnu-12377.81.4/osfmk/i386/commpage/ |
| H A D | commpage.h | 137 extern void commpage_set_timestamp(uint64_t abstime, uint64_t sec, uint64_t frac, uint64_t scal…
|
| H A D | commpage.c | 783 uint64_t frac, in commpage_set_timestamp() argument 796 p32->TimeStamp_frac = frac; in commpage_set_timestamp() 797 p64->TimeStamp_frac = frac; in commpage_set_timestamp()
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | kern_ntptime.c | 584 int64_t frac = (time_adj > 0)? ((uint32_t) time_adj) : -((uint32_t) (-time_adj)); in ntp_update_second() local 589 time_freq, time_status, time_constant, time_adjtime, nano, frac, time_adj); in ntp_update_second()
|
| /xnu-12377.81.4/doc/arm/ |
| H A D | apple_speculative_hardening.md | 246 … one zone with a gadget is colocated with the victim zone}] = 1 - \left( \frac{n - 1}{n}\right)^k … 289 … and the other zone is not colocated with it}] = 1 - \left( \frac{1}{2}\right)^k \cdot \frac{n-1}{…
|
| /xnu-12377.81.4/osfmk/vm/ |
| H A D | vm_compressor.c | 3254 #define TIME_SUB(rsecs, secs, rfrac, frac, unit) \ argument 3256 if ((int)((rfrac) -= (frac)) < 0) { \
|