Home
last modified time | relevance | path

Searched refs:usecs (Results 1 – 24 of 24) sorted by relevance

/titanic_44/usr/src/cmd/sendmail/db/os/
H A Dos_sleep.c40 __os_sleep(secs, usecs) in __os_sleep() argument
41 u_long secs, usecs; /* Seconds and microseconds. */ in __os_sleep()
46 for (; usecs >= 1000000; ++secs, usecs -= 1000000)
50 return (__db_jump.j_sleep(secs, usecs));
57 t.tv_usec = usecs;
H A Dos_spin.c101 __os_yield(usecs) in __os_yield() argument
102 u_long usecs; in __os_yield()
106 __os_sleep(0, usecs);
/titanic_44/usr/src/cmd/sendmail/db/mutex/
H A Dmutex.c183 u_long usecs; local
198 for (usecs = MS(1);;) {
210 if (usecs == MS(1))
218 __os_yield(usecs);
219 if ((usecs <<= 1) > SECOND)
220 usecs = SECOND;
236 for (usecs = MS(1); mp->pid != 0;) {
237 __os_yield(usecs);
238 if ((usecs <<= 1) > SECOND)
239 usecs = SECOND;
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dualarm.c20 ualarm(usecs, reload) in ualarm() argument
21 register unsigned usecs; in ualarm()
29 new.it_value.tv_usec = usecs % USPS;
30 new.it_value.tv_sec = usecs / USPS;
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_delete.c51 useconds_t usecs; in wait_till_to() local
65 for (usecs = INIT_WAIT_USECS; max > 0; max -= usecs) { in wait_till_to()
67 usecs *= 2; in wait_till_to()
68 usecs = (usecs > max) ? max : usecs; in wait_till_to()
70 (void) usleep(usecs); in wait_till_to()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dualarm.c30 ualarm(useconds_t usecs, useconds_t reload) in ualarm() argument
37 new.it_value.tv_usec = usecs % USPS; in ualarm()
38 new.it_value.tv_sec = usecs / USPS; in ualarm()
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Di386_timer.c63 void udelay(unsigned int usecs) in udelay() argument
65 waiton_timer2((usecs * TICKS_PER_MS)/1000); in udelay()
163 void udelay(unsigned int usecs) in udelay() argument
167 timer_timeout = now + usecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000)); in udelay()
H A Dtimer.h59 extern void udelay(unsigned int usecs);
/titanic_44/usr/src/uts/common/io/
H A Dvuid_queue.c324 int usecs; in tv_divide() local
328 usecs = tv_to_usec(tv); in tv_divide()
329 usecs /= dividend; in tv_divide()
330 tv = usec_to_tv(usecs); in tv_divide()
338 int usecs; in tv_mult() local
340 usecs = tv_to_usec(tv); in tv_mult()
341 usecs *= multiplier; in tv_mult()
342 tv = usec_to_tv(usecs); in tv_mult()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
H A Dtimeofday.c57 krb5_int32 usecs; in krb5_timeofday() local
61 &usecs)) in krb5_timeofday()
/titanic_44/usr/src/cmd/rpcsvc/
H A Dspray.c52 static void slp(int usecs);
170 slp(usecs) in slp() argument
176 poll(pfds, 1, usecs/1000); in slp()
/titanic_44/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.s46 / need to convert nsecs to usecs & store into area pointed
/titanic_44/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c701 useconds_t usecs, umax; in shut_down_instance() local
705 for (usecs = INIT_WAIT_USECS; umax != 0; umax -= usecs) { in shut_down_instance()
711 usecs *= 2; in shut_down_instance()
712 if (usecs > umax) in shut_down_instance()
713 usecs = umax; in shut_down_instance()
714 (void) usleep(usecs); in shut_down_instance()
H A Dlibdlwlan.c1802 useconds_t usecs; in wait_until_disabled() local
1816 for (usecs = INIT_WAIT_USECS; max > 0; max -= usecs) { in wait_until_disabled()
1818 usecs *= 2; in wait_until_disabled()
1819 usecs = (usecs > max) ? max : usecs; in wait_until_disabled()
1821 (void) usleep(usecs); in wait_until_disabled()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c91 eloop_register_timeout(unsigned int secs, unsigned int usecs, in eloop_register_timeout() argument
102 timeout->time.tv_usec += usecs; in eloop_register_timeout()
/titanic_44/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h83 L_DECL(usecs);
/titanic_44/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c3714 useconds_t usecs = INIT_WAIT_USECS; in wait_till() local
3716 for (; max > 0; max -= usecs) { in wait_till()
3718 usecs *= 2; in wait_till()
3719 usecs = (usecs > max)?max:usecs; in wait_till()
3723 what, gettext("sleep"), usecs, in wait_till()
3725 (void) usleep(usecs); in wait_till()
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_hw.c82 ath9k_hw_mac_clks(struct ath_hal *ah, uint32_t usecs) in ath9k_hw_mac_clks() argument
85 return (usecs * CLOCK_RATE[ath9k_hw_chan2wmode(ah, in ath9k_hw_mac_clks()
88 return (usecs * CLOCK_RATE[ATH9K_MODE_11B]); in ath9k_hw_mac_clks()
92 ath9k_hw_mac_to_clks(struct ath_hal *ah, uint32_t usecs) in ath9k_hw_mac_to_clks() argument
97 return (ath9k_hw_mac_clks(ah, usecs) * 2); in ath9k_hw_mac_to_clks()
99 return (ath9k_hw_mac_clks(ah, usecs)); in ath9k_hw_mac_to_clks()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h853 extern void qlge_delay(clock_t usecs);
/titanic_44/usr/src/uts/common/io/ib/mgt/ibdm/
H A Dibdm.c4703 clock_t usecs; in ibdm_get_waittime() local
4733 usecs = MIN(wait_time, dft_wait) / (NANOSEC / MICROSEC); in ibdm_get_waittime()
4736 (long)usecs); in ibdm_get_waittime()
4738 return (drv_usectohz(usecs)); in ibdm_get_waittime()
/titanic_44/usr/src/uts/intel/io/dnet/
H A Ddnet.c4594 dnet_usectimeout(struct dnetinstance *dnetp, uint32_t usecs, int contin, in dnet_usectimeout() argument
4598 dnetp->timer.start_ticks = (usecs * 100) / 8192; in dnet_usectimeout()
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c5870 qlge_delay(clock_t usecs) in qlge_delay() argument
5872 drv_usecwait(usecs); in qlge_delay()
/titanic_44/usr/src/lib/libc/port/
H A Dllib-lc1076 unsigned ualarm(unsigned usecs, unsigned reload);
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c16145 ql_delay(ql_adapter_state_t *ha, clock_t usecs) in ql_delay() argument
16148 drv_usecwait(usecs); in ql_delay()
16150 delay(drv_usectohz(usecs)); in ql_delay()