/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kernel.h | 98 extern int tick; /* usec per tick (1000000 / hz) */ 99 extern int hz; /* system clock's frequency */
|
H A D | time.h | 217 int hz; /* clock frequency */ member in struct:clockinfo 218 int tick; /* micro-seconds per hz tick */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | page_decrypt.c | 35 extern int hz; /* system clock's frequency */ 52 tsleep(&dsmos_hook, PZERO, "dsmos", hz / 10);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_clock.c | 102 * independently of each other. The main clock, running at hz 106 * can be performed by a single clock (ie hz == phz), however the 114 * The hz hardware interval timer. 117 int hz = 100; /* GET RID OF THIS !!! */ variable 129 * interval: timeout interval, in hz. 139 clock_interval_to_deadline(interval, NSEC_PER_SEC / hz, &deadline); 190 * Compute number of hz until specified time. 205 * ticks. Otherwise just compute number of hz in time, rounding 216 else if (sec <= 0x7fffffff / hz) 217 ticks = sec * hz; [all...] |
H A D | kern_synch.c | 295 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); 339 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime); 354 clock_interval_to_deadline(timo, NSEC_PER_SEC / hz, &abstime);
|
H A D | kern_acct.c | 262 t = tmp.tv_sec * hz + tmp.tv_usec / tick; 409 timeout(acctwatch_funnel, NULL, acctchkfreq * hz);
|
H A D | uipc_domain.c | 539 timeout(pfslowtimo, NULL, hz/PR_SLOWHZ); 555 timeout(pffasttimo, NULL, hz/PR_FASTHZ);
|
H A D | bsd_init.c | 686 timeout(lightning_bolt, 0, hz); 926 timeout(lightning_bolt,0,hz);
|
H A D | socket_info.c | 62 sbi->sbi_timeo = (u_long)(sb->sb_timeo.tv_sec * hz) + sb->sb_timeo.tv_usec / tick;
|
H A D | subr_log.c | 195 "klog", 5 * hz)) != 0) {
|
H A D | tty.c | 1219 tp->t_timeout = *(int *)data * hz; 1224 *(int *)data = tp->t_timeout / hz; 1392 "ttyfls", hz / 10); 1752 * The formula is ceiling(slp * hz/1000000). 1753 * 32-bit arithmetic is enough for hz < 169. 1754 * XXX see hzto() for how to avoid overflow if hz 1756 * use hzto() if hz is large). 1758 slp = (long) (((u_long)slp * hz) + 999999) / 1000000; 1901 tsleep(TSA_OLOWAT(tp), PZERO - 1, "ttoutq", hz); local
|
H A D | mcache.c | 212 mcache_reap_interval = 15 * hz; 1388 timeout(func, arg, hz/1000);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_dhcp.c | 87 #define RAND_TICKS (hz) /* one second */ 544 wait_ticks = INITIAL_WAIT_SECS * hz; 586 if (wait_ticks > (MAX_WAIT_SECS * hz)) 587 wait_ticks = MAX_WAIT_SECS * hz; 680 hz * GATHER_TIME_SECS); 750 wait_ticks = INITIAL_WAIT_SECS * hz; 785 tsleep(&error, PRIBIO, "dhcp_init", 10 * hz); 794 if (wait_ticks > (MAX_WAIT_SECS * hz)) 795 wait_ticks = MAX_WAIT_SECS * hz;
|
H A D | ip_dummynet.c | 535 /* hz is 100, which gives a granularity of 10ms in the old timer. 537 * hz has been modified here. All instances of hz have been left 538 * in place but adjusted by a factor of 10 so that hz is functionally 542 ((_m)->m_pkthdr.len*8*(hz*10) - (q)->numbytes + p->bandwidth - 1 ) / \ 602 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ; 672 int len_scaled = p->bandwidth ? len*8*(hz*10) : 0 ; 1650 p->delay = ( p->delay * (hz*10) ) / 1000 ; 2002 pipe_bp->delay = (pipe_bp->delay * 1000) / (hz*10) ;
|
H A D | in_arp.c | 197 timeout(arptimer, (caddr_t)0, arpt_prune * hz); local 218 timeout(arptimer, (caddr_t)0, hz);
|
H A D | tcp_subr.c | 374 timeout(tcp_fasttimo, NULL, hz/TCP_RETRANSHZ); 1460 (((u_int)isn_last_reseed + (u_int)tcp_isn_reseed_interval*hz) 1491 new_isn += timenow.tv_sec * (ISN_BYTES_PER_SECOND / hz);
|
H A D | tcp_timer.c | 300 timeout(tcp_fasttimo, 0, hz/TCP_RETRANSHZ);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | km.c | 51 extern int hz; 348 timeout(kmtimeout, tp, hz);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | sysglue.h | 121 #define HZ hz /* HZ ticks definition used throughout AppleTalk */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_input.c | 279 timeout(ip6_init2, (caddr_t)0, 1 * hz); 295 timeout(ip6_init2, (caddr_t)0, 1 * hz); 302 timeout(nd6_timer, (caddr_t)0, hz); 305 timeout(in6_rr_timer, (caddr_t)0, hz); 310 ip6_temp_regen_advance) * hz); 325 callout_reset(&nd6_timer_ch, hz, nd6_timer, NULL); 329 callout_reset(&in6_rr_timer_ch, hz, in6_rr_timer, NULL); 334 ip6_temp_regen_advance) * hz,
|
H A D | nd6_nbr.c | 1126 nd_ifinfo[ifa->ifa_ifp->if_index].retrans * hz / 1000); 1131 ntick = random() % (MAX_RTR_SOLICITATION_DELAY * hz); 1133 ntick = *tick_delay + random() % (hz / 2); 1221 nd_ifinfo[ifa->ifa_ifp->if_index].retrans * hz / 1000);
|
H A D | nd6.c | 145 timeout(nd6_slowtimo, (caddr_t)0, ND6_SLOWTIMER_INTERVAL * hz); local 686 timeout(nd6_timer, (caddr_t)0, nd6_prune * hz); local 1943 timeout(nd6_slowtimo, (caddr_t)0, ND6_SLOWTIMER_INTERVAL * hz); local
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | km.c | 311 timeout((timeout_fcn_t)kmtimeout, tp, hz);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | bridge.c | 440 timeout(bdg_timeout, (void *)0, 2*hz );
|
H A D | bpf.c | 1141 tv->tv_sec = d->bd_rtout / hz; 1142 tv->tv_usec = (d->bd_rtout % hz) * tick;
|