| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ |
| D | ppccpuid.pl | 210 my ($tick,$lasttick)=("r6","r7"); 223 lwarx $tick,0,$out # load and lock 224 add $tick,$tick,$diff 225 stwcx. $tick,0,$out 226 stwx $tick,0,$out 228 Loop: mftb $tick 229 sub $diff,$tick,$lasttick 230 mr $lasttick,$tick 232 lwarx $tick,0,$out # load and lock 233 add $tick,$tick,$diff [all …]
|
| D | alphacpuid.pl | 167 my ($tick,$lasttick)=("\$19","\$20"); 183 ldl_l $tick,0($out) 184 addl $diff,$tick,$tick 185 mov $tick,$diff 186 stl_c $tick,0($out) 189 .Loop: rpcc $tick 190 subq $tick,$lasttick,$diff 191 mov $tick,$lasttick 194 ldl_l $tick,0($out) 195 addl $diff,$tick,$tick [all …]
|
| D | pariscid.pl | 176 my ($tick,$lasttick)=("%r23","%r22"); 187 mfctl %cr16,$tick 188 copy $tick,$lasttick 192 ldw 0($out),$tick 193 add $diff,$tick,$tick 194 stw $tick,0($out) 196 mfctl %cr16,$tick 197 sub $tick,$lasttick,$diff 198 copy $tick,$lasttick 201 ldw 0($out),$tick [all …]
|
| D | sparccpuid.S | 239 .word 0x91410000 !rd %tick,%o0 277 ! a lot of %tick-s, couple of thousand on Linux... 283 .word 0x91410000 !rd %tick,%o0 286 .word 0x93410000 !rd %tick,%o1 289 .word 0x95410000 !rd %tick,%o2 292 .word 0x97410000 !rd %tick,%o3 295 .word 0x99410000 !rd %tick,%o4 491 .word 0x99410000 !rd %tick,%o4 ! tick 492 mov %o4,%o5 ! lasttick = tick 504 .Loop: .word 0x99410000 !rd %tick,%o4 [all …]
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | schedule.c | 133 sched_schedule(struct sched *sc, time_t tick, void (*func)(struct sched *)) in sched_schedule() argument 143 sc->tick.tv_sec = tick; in sched_schedule() 144 sc->tick.tv_usec = 0; in sched_schedule() 146 timeradd(&now, &sc->tick, &sc->xtime); in sched_schedule() 204 timersub(&p->xtime, &p->tick, &created); in sched_dump() 208 dst->tick = p->tick.tv_sec; in sched_dump() 235 test(int *tick) in test() argument 237 printf("execute %d\n", *tick); in test() 238 racoon_free(tick); in test() 244 int *tick; in getstdin() local [all …]
|
| D | schedule.h | 73 struct timeval tick; /* relative timeout */ member 84 time_t tick; member
|
| /netbsd/src/external/bsd/ntp/dist/scripts/calc_tickadj/ |
| D | calc_tickadj.in | 18 my $tick = $opts->{'tick'}; 20 if (!$tick) { 22 if (defined $fl && $fl =~ /(?:KERNEL|PRESET)?\s*tick\s+=\s+(\d+)/) { 23 $tick = $1; 31 my $cvt = (2 ** 20) / $tick; 43 $tick--; 48 $tick++; 52 printf "%d usec; %d nsec\n", $tick, ($tick + ($drift/$cvt)) * 1000;
|
| D | invoke-calc_tickadj.texi | 4 @cindex Calculates "optimal" value for tick given ntp drift file. 15 tick value. Generally, ntpd can do better job if the drift value is the 27 means the following. If tick on that box is 10,000, by making the value 9999 32 If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift 35 @code{calc_tickadj} tries to determine the the tick value by using 37 current tick manually on command line. 46 * calc_tickadj tick:: tick option (-t) 66 calc_tickadj - Calculates "optimal" value for tick given ntp drift file. - Ver. 4.2.8p15 70 -t, --tick=num Tick value of this host 86 @node calc_tickadj tick [all …]
|
| D | calc_tickadj-opts.def | 7 prog-title = 'Calculates "optimal" value for tick given ntp drift file.'; 24 name = tick; 28 doc = 'The current tick which to adjustment will be calculated'; 36 tick value. Generally, ntpd can do better job if the drift value is the 48 means the following. If tick on that box is 10,000, by making the value 9999 53 If 'tick' on that box is 10,000,000 then by setting it to 9999779 the drift 56 @code{calc_tickadj} tries to determine the the tick value by using 58 current tick manually on command line.
|
| D | calc_tickadj-opts | 33 'tick' => '', 38 'drift-file|d=s', 'tick|t=i', 42 calc_tickadj - Calculates "optimal" value for tick given ntp drift file. - Ver. 4.2.8p15 46 -t, --tick=num Tick value of this host
|
| /netbsd/src/external/bsd/ntp/dist/util/ |
| D | tickadj.c | 125 if ( (txc.tick = atoi(argv[1])) < 1 ) in main() 163 printf("tick = %ld\n", txc.tick); in main() 255 int tick, ktick; /* HMS: Why isn't this u_long? */ in main() local 370 readvar(fd, tick_offset, &tick); in main() 373 (void) printf("KERNEL %s = %d nsec\n", K_TICK_NAME, tick); in main() 377 tick /= 1000; in main() 382 tick = 0; in main() 442 ktick = tick; in main() 444 tick = PRESET_TICK; in main() 470 (void) printf("PRESET tick = %d usec\n", tick); in main() [all …]
|
| D | kern.c | 42 int tick; /* timer interrupt period (us) */ variable 77 tick = 1000000 / HZ; in main() 83 printf("tick %d us, fixtick %d us\n", tick, fixtick); in main() 159 time_update = tick; /* computed by adjtime() */ in hardclock()
|
| /netbsd/src/sys/kern/ |
| D | subr_time_arith.c | 88 extern int tick; 144 ticks = (((sec * 1000000) + (unsigned long)usec + (tick - 1)) in tvtohz() 145 / tick) + 1; in tvtohz() 148 (((unsigned long)usec + (tick - 1)) / tick) + 1; in tvtohz() 174 if (tv->tv_sec == 0 && tv->tv_usec != 0 && tv->tv_usec < tick) in itimerfix() 175 tv->tv_usec = tick; in itimerfix() 187 if (ts->tv_sec == 0 && ts->tv_nsec != 0 && ts->tv_nsec < tick * 1000) in itimespecfix() 188 ts->tv_nsec = tick * 1000; in itimespecfix()
|
| /netbsd/src/usr.sbin/btpand/ |
| D | channel.c | 126 chan->tick = 0; in channel_close() 285 chan->tick = 0; in channel_timeout() 287 chan->tick = (channel_tick + to) % 60; in channel_timeout() 300 int tick; in channel_watchdog() local 302 tick = (channel_tick % 60) + 1; in channel_watchdog() 309 if (chan->tick == tick) in channel_watchdog() 311 else if (chan->tick != 0) in channel_watchdog() 312 channel_tick = tick; in channel_watchdog()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | bufferevent_ratelim.c | 120 unsigned tick; in bufferevent_update_buckets() local 122 tick = ev_token_bucket_get_tick_(&now, bev->rate_limiting->cfg); in bufferevent_update_buckets() 123 if (tick != bev->rate_limiting->limit.last_updated) in bufferevent_update_buckets() 125 bev->rate_limiting->cfg, tick); in bufferevent_update_buckets() 398 unsigned tick; in bev_refill_callback_() local 410 tick = ev_token_bucket_get_tick_(&now, in bev_refill_callback_() 414 tick); in bev_refill_callback_() 534 unsigned tick; in bev_group_refill_callback_() local 541 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg); in bev_group_refill_callback_() 542 ev_token_bucket_update_(&g->rate_limit, &g->rate_limit_cfg, tick); in bev_group_refill_callback_() [all …]
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | bufferevent_ratelim.c | 120 unsigned tick; in bufferevent_update_buckets() local 122 tick = ev_token_bucket_get_tick_(&now, bev->rate_limiting->cfg); in bufferevent_update_buckets() 123 if (tick != bev->rate_limiting->limit.last_updated) in bufferevent_update_buckets() 125 bev->rate_limiting->cfg, tick); in bufferevent_update_buckets() 398 unsigned tick; in bev_refill_callback_() local 410 tick = ev_token_bucket_get_tick_(&now, in bev_refill_callback_() 414 tick); in bev_refill_callback_() 534 unsigned tick; in bev_group_refill_callback_() local 541 tick = ev_token_bucket_get_tick_(&now, &g->rate_limit_cfg); in bev_group_refill_callback_() 542 ev_token_bucket_update_(&g->rate_limit, &g->rate_limit_cfg, tick); in bev_group_refill_callback_() [all …]
|
| /netbsd/src/sys/arch/luna68k/stand/boot/ |
| D | awaitkey.c | 65 otick = tick; in awaitkey() 71 if (tick - otick >= hz) { in awaitkey() 72 otick = tick; in awaitkey()
|
| /netbsd/src/external/bsd/ntp/dist/html/hints/ |
| D | sgi | 1 adjtime, tick and tickadj: 5 in nominal mode (ftimer off), so the value for tick is 10000 usec. 29 have used a value of 150usec/tick for the tickadj value. 35 the clock tick at 1kHz rather than 100Hz. With the fast clock off, I 42 seem to compromise the above choices for tick and tickadj.
|
| /netbsd/src/sys/compat/common/ |
| D | kern_uipc_socket_50.c | 137 otv.tv_usec = (optval % hz) * tick; in uipc_socket_50_getopt1() 176 if (tv.tv_sec > (INT_MAX - tv.tv_usec / tick) / hz) { in uipc_socket_50_setopt1() 181 optval = tv.tv_sec * hz + tv.tv_usec / tick; in uipc_socket_50_setopt1()
|
| /netbsd/src/sbin/fsck_v7fs/ |
| D | main.c | 201 if (Progress.tick) { in progress() 213 if (!Progress.tick) in progress() 215 if (++Progress.cnt > Progress.tick) { in progress()
|
| /netbsd/src/sys/arch/mips/sibyte/dev/ |
| D | sbtimer.c | 156 tick = 1000000 / hz; in sbtimer_clock_init() 163 WRITE_REG(sc->sc_addr_icnt, (tick/100) - 1); /* XXX */ in sbtimer_clock_init() 165 WRITE_REG(sc->sc_addr_icnt, tick - 1); /* XXX */ in sbtimer_clock_init()
|
| /netbsd/src/sys/arch/mvme68k/mvme68k/ |
| D | clock.c | 111 tick = 1000000 / hz; in cpu_initclocks() 129 (*clock_args->ca_initfunc)(clock_args->ca_arg, tick, statint); in cpu_initclocks()
|
| /netbsd/src/common/lib/libx86emu/ |
| D | x86emu_i8254.c | 63 uint64_t tick; in x86emu_i8254_gettick() local 67 tick = (curtime.tv_sec - sc->base_time.tv_sec) * I8254_FREQ; in x86emu_i8254_gettick() 68 tick += (uint64_t)(curtime.tv_nsec - sc->base_time.tv_nsec) * I8254_FREQ / 1000000000; in x86emu_i8254_gettick() 70 return tick; in x86emu_i8254_gettick()
|
| /netbsd/src/sys/arch/vax/vax/ |
| D | clock.c | 75 return counter + getticks() * tick; in vax_diag_get_counter() 88 counter = mfpr(PR_ICR) + tick; in vax_mfpr_get_counter() 108 return counter + cur_hardclock * tick; in vax_mfpr_get_counter()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/ssl/ |
| D | ssl_asn1.c | 174 if (in->ext.tick) { in i2d_SSL_SESSION() 176 in->ext.tick, in->ext.ticklen); in i2d_SSL_SESSION() 338 OPENSSL_free(ret->ext.tick); in d2i_SSL_SESSION() 340 ret->ext.tick = as->tlsext_tick->data; in d2i_SSL_SESSION() 344 ret->ext.tick = NULL; in d2i_SSL_SESSION()
|