/freebsd-10.0-release/contrib/sendmail/src/ |
H A D | ratectrl.c | 197 /* 6 buckets for ticks: 60s */ 232 unsigned int ticks; local 241 ticks = now / ChtGran; 392 CTime_T *ct = &chBest->ch_Times[ticks % CHTSIZE]; 394 if (ct->ct_Ticks != ticks) 396 ct->ct_Ticks = ticks; 408 if (ct->ct_Ticks <= ticks && ct->ct_Ticks >= ticks - CHTSIZE) 442 unsigned int ticks; local 448 ticks [all...] |
/freebsd-10.0-release/usr.sbin/IPXrouted/ |
H A D | output.c | 138 int size, metric, ticks; local 199 ticks = rt->rt_ticks + 1; 209 if (ticks < ntohs(nn->rip_ticks)) { 211 nn->rip_ticks = htons(ticks); 212 } else if ((ticks == ntohs(nn->rip_ticks)) && 215 nn->rip_ticks = htons(ticks); 222 n->rip_ticks = htons(ticks);
|
H A D | tables.c | 120 short ticks, int state) 143 rt->rt_ticks = ticks; 171 struct sockaddr *gate, short metric, short ticks, int state) 192 rt->rt_ticks = ticks; 211 short ticks) 226 if ((ticks < rt->rt_clone->rt_ticks) || 227 ((ticks == rt->rt_clone->rt_ticks) && 241 } else if ((ticks == rt->rt_clone->rt_ticks) && 268 ticks = trt->rt_ticks; 276 if ((metric != rt->rt_metric) || (ticks ! 119 rtadd(struct sockaddr *dst, struct sockaddr *gate, short metric, short ticks, int state) argument 170 rtadd_clone(struct rt_entry *ort, struct sockaddr *dst, struct sockaddr *gate, short metric, short ticks, int state) argument 210 rtchange(struct rt_entry *rt, struct sockaddr *gate, short metric, short ticks) argument [all...] |
/freebsd-10.0-release/sys/ofed/include/linux/ |
H A D | jiffies.h | 47 #define jiffies ticks
|
H A D | completion.h | 101 end = ticks + timeout; 108 sleepq_set_timeout(c, end - ticks); 117 timeout = end - ticks;
|
/freebsd-10.0-release/tools/tools/netrate/tcpp/ |
H A D | tcpp_server.c | 281 long cp_time_last[CPUSTATES], cp_time_now[CPUSTATES], ticks; 324 ticks = 0; 328 ticks += cp_time_last[i]; 332 (100 * cp_time_last[CP_USER]) / ticks, 333 (100 * cp_time_last[CP_NICE]) / ticks, 334 (100 * cp_time_last[CP_SYS]) / ticks, 335 (100 * cp_time_last[CP_INTR]) / ticks, 336 (100 * cp_time_last[CP_IDLE]) / ticks);
|
H A D | tcpp_client.c | 281 long ticks; local 366 ticks = 0; 369 ticks += cp_time_finish[i]; 371 printf("%0.02f,", (float)(100 * cp_time_finish[CP_USER]) / ticks); 372 printf("%0.02f,", (float)(100 * cp_time_finish[CP_NICE]) / ticks); 373 printf("%0.02f,", (float)(100 * cp_time_finish[CP_SYS]) / ticks); 374 printf("%0.02f,", (float)(100 * cp_time_finish[CP_INTR]) / ticks); 375 printf("%0.02f", (float)(100 * cp_time_finish[CP_IDLE]) / ticks);
|
/freebsd-10.0-release/sys/powerpc/booke/ |
H A D | platform_bare.c | 170 u_long ticks; local 177 ticks = bootinfo[3] >> 3; 180 ticks = bootinfo[5] >> 3; 183 ticks = 0; 201 ticks = freq / 8; 204 if (ticks <= 0) 207 return (ticks);
|
/freebsd-10.0-release/usr.bin/time/ |
H A D | time.c | 142 u_long ticks; local 144 ticks = hz * (ru.ru_utime.tv_sec + ru.ru_stime.tv_sec) + 151 if (ticks == 0) 152 ticks = 1; 157 ru.ru_ixrss / ticks, "average shared memory size"); 159 ru.ru_idrss / ticks, "average unshared data size"); 161 ru.ru_isrss / ticks, "average unshared stack size");
|
/freebsd-10.0-release/sys/arm/freescale/imx/ |
H A D | imx_gpt.c | 264 uint32_t ticks; local 275 ticks = ((uint32_t)et->et_frequency * first) >> 32; 285 WRITE4(sc, IMX_GPT_OCR1, READ4(sc, IMX_GPT_CNT) + ticks); 393 uint64_t curcnt, endcnt, startcnt, ticks; local 398 for (ticks = 0; ticks < imx_gpt_delay_count; ++ticks) 405 * clock frequency. Loop until the hardware count reaches start+ticks. 411 ticks = 1 + ((uint64_t)usec * imx_gpt_sc->clkfreq) / 1000000; 413 endcnt = startcnt + ticks; [all...] |
/freebsd-10.0-release/sys/xen/ |
H A D | hypervisor.h | 57 extern uint64_t get_system_time(int ticks); 115 /* of the specified ports or the specified number of ticks elapse */ 118 evtchn_port_t *ports, unsigned int nr_ports, int ticks) 123 .timeout = get_system_time(ticks) 117 HYPERVISOR_poll( evtchn_port_t *ports, unsigned int nr_ports, int ticks) argument
|
/freebsd-10.0-release/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 217 int ticks; local 231 ticks = tvtohz(&tv); 235 "(in: %s sec -> out: %jd sec %ld ns -> %d ticks)\n", 238 myoptarg, (intmax_t)ts.tv_sec, ts.tv_nsec, ticks); 240 if (ticks <= 0) { 587 * Convert a timeval to a number of ticks. 593 register unsigned long ticks; local 612 * ticks, rounding up and adding 1 to allow for the current tick 616 * Otherwise, if the number of ticks in the whole seconds part of 618 * ticks separatel [all...] |
/freebsd-10.0-release/sys/dev/ath/ |
H A D | if_ath_lna_div.h | 87 struct ath_rx_status *rs, unsigned long ticks, int hz);
|
/freebsd-10.0-release/sys/net80211/ |
H A D | ieee80211_ht.h | 49 int txa_lastsample; /* ticks @ last traffic sample */ 101 while (ticks - tap->txa_lastsample >= hz) { 106 tap->txa_lastsample = ticks; 123 while (ticks - tap->txa_lastsample >= hz) { 127 tap->txa_lastsample = ticks;
|
H A D | ieee80211_rssadapt.c | 193 ra->ra_ticks = ticks; 230 if ((ticks - ra->ra_ticks) > ra->ra_rs->interval) { 232 ra->ra_ticks = ticks; 304 ra->ra_last_raise = ticks; 318 (ticks - ra->ra_last_raise) >= ra->ra_raise_interval)
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_clock.c | 229 tticks = ticks - td->td_blktick; 241 panic("%s: possible deadlock detected for %p, blocked for %d ticks\n", 255 tticks = ticks - td->td_slptick; 287 panic("%s: possible deadlock detected for %p, blocked for %d ticks\n", 360 * cpu ticks. The mean frequency of the second timer is stathz. 381 volatile int ticks; variable 384 static DPCPU_DEFINE(int, pcputicks); /* Per-CPU version of ticks. */ 468 atomic_add_int(&ticks, 1); 503 * Update per-CPU and possibly global ticks values. 507 global = ticks; 586 register unsigned long ticks; local [all...] |
/freebsd-10.0-release/sys/netinet/cc/ |
H A D | cc_cubic.c | 83 /* Sum of RTT samples across an epoch in ticks. */ 91 /* Minimum observed rtt in ticks. */ 97 /* Time of last congestion event in ticks. */ 139 ticks_since_cong = ticks - cubic_data->t_last_cong; 212 cubic_data->t_last_cong = ticks; 250 cubic_data->t_last_cong = ticks; 266 cubic_data->t_last_cong = ticks; 327 cubic_data->t_last_cong = ticks;
|
H A D | cc_htcp.c | 77 #define HTCP_DELTA_L hz /* 1 sec in ticks. */ 96 * in units of ticks. 158 /* Time of last congestion event in ticks. */ 164 * The maximum number of ticks the value of diff can reach in 210 * for the first HTCP_DELTA_L ticks after either the flow starts 260 htcp_data->t_last_cong = ticks; 290 htcp_data->t_last_cong = ticks; 307 htcp_data->t_last_cong = ticks; 322 htcp_data->t_last_cong = ticks; 379 now = ticks; [all...] |
/freebsd-10.0-release/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 156 int32_t ticks = -1; local 160 OF_getprop(phandle, "timebase-frequency", &ticks, sizeof(ticks)); 162 if (ticks <= 0) 165 return (ticks);
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | timer.c | 81 u_long ticks = 0; local 102 ticks = RESTVAL(itimer) - TimerList->rest; 106 if (ticks + t->rest >= tp->load) 108 ticks += t->rest; 113 tp->rest = tp->load - ticks;
|
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | printactivenat.c | 20 printactivenat(nat, opts, ticks) 23 u_long ticks; 107 nat->nat_age - ticks, nat->nat_use,
|
/freebsd-10.0-release/contrib/ntp/libntp/ |
H A D | systime.c | 127 long ticks; local 143 ticks = (long)(dtemp / sys_tick + .5); 144 adjtv.tv_usec = (long)(ticks * sys_tick * 1e6); 399 long ticks; local 415 ticks = (long)(dtemp / sys_tick + .5); 416 adjtv.tv_usec = (long)(ticks * sys_tick * 1e6);
|
/freebsd-10.0-release/sys/mips/rmi/dev/iic/ |
H A D | max6657.c | 66 int sc_lastupdate; /* in ticks */ 134 if (ticks - sc->sc_lastupdate > hz) { 138 sc->sc_lastupdate = ticks;
|
/freebsd-10.0-release/include/rpcsvc/ |
H A D | nis_db.h | 101 long ticks; member in struct:db_result
|
/freebsd-10.0-release/sys/arm/lpc/ |
H A D | lpc_timer.c | 201 uint32_t ticks; local 212 ticks = sc->lt_period; 214 ticks = ((uint32_t)et->et_frequency * first) >> 32; 222 timer0_write_4(sc, LPC_TIMER_MR0, ticks);
|