/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | timer.c | 23 void waiton_timer2(unsigned int ticks) argument 25 load_timer2(ticks);
|
H A D | i386_timer.c | 15 void __load_timer2(unsigned int ticks) argument 32 /* LSB of ticks */ 33 outb(ticks & 0xFF, TIMER2_PORT); 34 /* MSB of ticks */ 35 outb(ticks >> 8, TIMER2_PORT); 49 void load_timer2(unsigned int ticks) argument 51 return __load_timer2(ticks); 78 /* Number of clock ticks to time with the rtc */
|
H A D | misc.c | 84 unsigned long ticks; local 93 ticks = currticks(); 94 if ((lastticks + (TICKS_PER_SEC/18)) > ticks) 96 lastticks = ticks;
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmisc.c | 66 delay(clock_t ticks) argument 68 int msec = ticks; /* NB: hz==1000 */
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | microfind.c | 78 * number of such ticks that passed while tenmicrosec() was running, or 153 * Return the number of timer ticks that passed while tenmicrosec was 195 int ticks = -1; local 209 int ticksprev = ticks; 217 if ((ticks = microfind_pit_delta_avg(microdata_trial_count, 221 * previous ticks count and break out of the loop. 231 ticks = ticksprev; 235 if (ticks > 0x3000) { 238 * PIT ticks. 255 if (ticks < [all...] |
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | common.c | 50 core_ticks_to_us(const struct adapter *adapter, unsigned int ticks) argument 52 /* add Core Clock / 2 to round ticks to nearest uS */ 53 return ((ticks * 1000 + adapter->params.vpd.cclk/2) / 58 dack_ticks_to_usec(const struct adapter *adap, unsigned int ticks) argument 60 return ((ticks << adap->params.tp.dack_re) / core_ticks_per_usec(adap));
|
/illumos-gate/usr/src/uts/common/io/warlock/ |
H A D | ddi_dki_impl.c | 162 delay(clock_t ticks) argument
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_thread.c | 266 * Setting ticks=-1 requests a non-blocking check. We will 297 smb_thread_continue_timedwait_locked(smb_thread_t *thread, int ticks) argument 302 if (ticks != -1 && !thread->sth_kill) { 303 if (ticks == 0) { 307 &thread->sth_mtx, (clock_t)ticks, TR_CLOCK_TICK);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | clock_realtime.c | 80 clock_t ticks; local 137 ticks = timespectohz(val, now); 138 *tidp = realtime_timeout(clock_realtime_fire, it, ticks); 190 clock_t ticks; local 212 ticks = timespectohz(&it->it_itime.it_value, now); 220 * The "ticks" we've been returned from timespectohz(), then, 225 * "ticks" will be interpreted against lbolt. That is, 229 * registering a callout for "ticks" of the clock, which 230 * may be less than ("ticks" / hz) seconds (but not more than 239 *tidp = realtime_timeout(clock_realtime_fire_first, it, ticks); [all...] |
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | nis_db.h | 84 long ticks; member in struct:db_result
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | fault.c | 431 sh_sleep(unsigned int ticks) argument 458 alarm(ticks);
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | schedule.c | 42 ticks; member in struct:later 106 * ticks aren't counted, so the events won't be started. 235 pl->ticks = va_arg(ap, int); 274 if (--pl->ticks)
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | timex.c | 209 printt(char *label, hrtime_t ticks) argument 211 long tk; /* number of leftover ticks */ 215 longlong_t total = ticks; 217 tk = total % hz; /* ticks % hz */ 219 ss = total % 60; /* ticks / hz % 60 */ 221 mm = total % 60; /* ticks / hz / 60 % 60 */ 222 hh = total / 60; /* ticks / hz / 60 / 60 */
|
/illumos-gate/usr/src/cmd/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...] |
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire.c | 491 uint64_t ticks = 0; local 494 ticks += kstat_delta(old, new, cpu_states[i]); 495 return (ticks); 512 * Return the number of ticks delta between two hrtime_t
|
/illumos-gate/usr/src/cmd/stat/mpstat/ |
H A D | mpstat.c | 220 uint64_t ticks = 0; local 245 ticks = cpu_ticks_delta(old_sys, &c2->cs_sys); 247 etime = (double)ticks / hz; 398 uint64_t ticks = 0; local 431 ticks = get_nr_ticks(p1, p2); 433 etime = (double)ticks / hz;
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_trantcp.c | 824 * Wait for up to "ticks" clock ticks for input on vcp. 830 smb_nbst_poll(struct smb_vc *vcp, int ticks) argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 99 static uint32_t ticks = 0; local 141 ticks++; 149 if ((ticks % 600) == 0) {
|
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/ |
H A D | apic_timer.c | 52 uint64_t apic_ticks_per_SFnsecs; /* # of ticks in SF nsecs */ 106 /* total number of PIT ticks corresponding to apic_ticks */ 111 * and then determine how many APIC ticks to interrupt at the 217 uint_t ticks; local 219 ticks = APIC_NSECS_TO_TICKS(time); 221 if (ticks < apic_min_timer_ticks) 222 ticks = apic_min_timer_ticks; 224 apic_reg_ops->apic_write(APIC_INIT_COUNT, ticks); 252 uint_t ticks; local 262 ticks 292 uint64_t ticks; local 329 uint64_t ticks; local [all...] |
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_hw.c | 442 hxge_rx_hw_blank(void *arg, time_t ticks, uint_t count) argument 449 * Replace current ticks and counts for later 452 hxgep->intr_timeout = (uint16_t)ticks;
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_timer.c | 200 * Called every t_ticks ticks to scan the CCB timer lists 734 ghd_timer_init(tmr_t *tmrp, long ticks) argument 745 if (ticks == 0) 746 ticks = scsi_watchdog_tick * ghd_HZ; 747 tmrp->t_ticks = ticks;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | PosixDaemon.c | 160 mDNSs32 ticks; local 167 ticks = nextTimerEvent - mDNS_TimeNow(m); 168 if (ticks < 1) ticks = 1; 171 ticks = 0; 173 timeout.tv_sec = ticks / mDNSPlatformOneSecond; 174 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond;
|
/illumos-gate/usr/src/boot/sys/boot/i386/boot0/ |
H A D | boot0.S | 162 /* ticks is at a fixed position */ 163 .set _TICKS, (PRT_OFF - 0x200 - 2) # Timeout ticks 673 ticks: .word TICKS # Delay label
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/ |
H A D | audio1575.c | 1083 clock_t ticks; local 1098 ticks = drv_usectohz(M1575_LOOP_CTR); 1115 delay(ticks<<1); 1123 delay(ticks); 1135 delay(ticks); 1143 delay(ticks);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpudrv.c | 972 clock_t ticks; local 1072 * ticks have elapsed since the last call and adjusting 1076 ticks = NSEC_TO_TICK(gethrtime()); 1077 tick_cnt = ticks - cpupm->lastquan_ticks; 1079 cpupm->lastquan_ticks = ticks;
|