Searched refs:ticks (Results 1 - 13 of 13) sorted by relevance

/darwin-on-arm/xnu/bsd/dev/random/YarrowCoreLib/include/
H A Dyarrow.h137 LONGLONG ticks);
141 LONGLONG ticks);
146 LONGLONG ticks);
156 YARROWAPI int prngForceReseed(LONGLONG ticks);
157 YARROWAPI int prngAllowReseed(LONGLONG ticks);
158 YARROWAPI int prngProcessSeedBuffer(BYTE *buf,LONGLONG ticks);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_clock.c198 long ticks; local
205 * ticks. Otherwise just compute number of hz in time, rounding
209 * Maximum value for any timeout in 10ms ticks is 250 days.
213 ticks = ((tv->tv_sec - now.tv_sec) * 1000 +
217 ticks = sec * hz;
219 ticks = 0x7fffffff;
221 return (ticks);
249 * Compute number of ticks in the specified amount of time.
254 unsigned long ticks; local
261 * ticks, roundin
335 int ticks; local
[all...]
H A Dsubr_prof.c363 * lose profile ticks when the next tick overwrites this one, but in this
371 addupc_task(struct proc *p, user_addr_t pc, u_int ticks) argument
377 if ((p->p_flag & P_PROFIL) == 0 || ticks == 0)
390 count += ticks;
410 count += ticks;
/darwin-on-arm/xnu/libkern/libkern/
H A DOSBase.h83 #define ADD_ABSOLUTETIME_TICKS(t1, ticks) \
85 (int32_t)(ticks))
/darwin-on-arm/xnu/bsd/sys/
H A Dresourcevar.h85 u_int32_t pr_ticks; /* temp storage for ticks until AST */
98 user_ulong_t pr_ticks; /* temp storage for ticks until AST */
130 void addupc_intr(struct proc *p, uint32_t pc, u_int ticks);
131 void addupc_task(struct proc *p, user_addr_t pc, u_int ticks);
H A Dsystm.h194 void timeout(void (*)(void *), void *arg, int ticks);
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOTimerEventSource.h133 @abstract Setup a callback at after the delay in scheduler ticks. See wakeAtTime(AbsoluteTime).
134 @param interval Delay from now to wake up, in scheduler ticks, whatever that may be.
136 virtual IOReturn setTimeoutTicks(UInt32 ticks);
164 @abstract Setup a callback at after the delay in decrementer ticks. See wakeAtTime(AbsoluteTime).
165 @param interval Delay from now to wake up in decrementer ticks.
173 virtual IOReturn wakeAtTimeTicks(UInt32 ticks);
/darwin-on-arm/xnu/bsd/dev/random/YarrowCoreLib/src/
H A Dprng.c343 prngForceReseed(PRNG *p, LONGLONG ticks) argument
364 ZCHECK(ticks);
375 endTime = (int64_t)tv.tv_sec*1000000LL + (int64_t)tv.tv_usec + ticks;
407 } while ( (now-start) < ticks) ;
410 } while ( (now-start) < ticks) ;
437 prngProcessSeedBuffer(PRNG *p, BYTE *buf,LONGLONG ticks)
447 prngForceReseed(p, ticks); /* Do a reseed */
524 prngAllowReseed(PRNG *p, LONGLONG ticks)
575 return prngForceReseed(p, ticks);
/darwin-on-arm/xnu/osfmk/kern/
H A Dpriority.c406 register unsigned ticks; local
409 ticks = sched_tick - thread->sched_stamp;
410 assert(ticks != 0);
411 thread->sched_stamp += ticks;
418 if (ticks < SCHED_DECAY_TICKS) {
432 shiftp = &sched_decay_shifts[ticks];
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOTimerEventSource.cpp265 IOReturn IOTimerEventSource::setTimeoutTicks(UInt32 ticks) argument
267 return setTimeout(ticks, kTickScale);
313 IOReturn IOTimerEventSource::wakeAtTimeTicks(UInt32 ticks) argument
315 return wakeAtTime(ticks, kTickScale);
/darwin-on-arm/xnu/osfmk/arm/
H A Drtclock.c84 uint64_t ticks; local
91 ticks = (nsecs * NSEC_PER_SEC / tscFreq);
92 return ticks;
/darwin-on-arm/xnu/bsd/netat/
H A Dddp.save457 void *atalk_timeout(func, arg, ticks) /* AIX version */
460 int ticks;
466 "atalk_timeout: func=%x,arg=%x,time=%d, %d,%x\n", func,arg,ticks,trb_cnt,trb_pendhead);
474 "atalk_timeout: NO TRB! time=%d, %d\n", ticks,trb_cnt,0,0,0);
481 trb->timeout.it_value.tv_sec = ticks / HZ;
482 trb->timeout.it_value.tv_nsec = (ticks % HZ) * (NS_PER_SEC / HZ);
H A Datp_write.c1004 atp_timout(func, trp, ticks)
1007 int ticks;
1016 trp->tr_tmo_delta = 1+(ticks>>5);

Completed in 150 milliseconds