Home
last modified time | relevance | path

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

/illumos-gate/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);
/illumos-gate/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;
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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);
/illumos-gate/usr/src/boot/efi/libefi/
H A Ddelay.c35 delay(int usecs) in delay() argument
38 BS->Stall(usecs); in delay()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/boot/efi/include/
H A Defilib.h101 void delay(int usecs);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h83 L_DECL(usecs);
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapclient.c3715 useconds_t usecs = INIT_WAIT_USECS; in wait_till() local
3717 for (; max > 0; max -= usecs) { in wait_till()
3719 usecs *= 2; in wait_till()
3720 usecs = (usecs > max)?max:usecs; in wait_till()
3724 what, gettext("sleep"), usecs, in wait_till()
3726 (void) usleep(usecs); in wait_till()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h853 extern void qlge_delay(clock_t usecs);
/illumos-gate/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()
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet.c4596 dnet_usectimeout(struct dnetinstance *dnetp, uint32_t usecs, int contin, in dnet_usectimeout() argument
4600 dnetp->timer.start_ticks = (usecs * 100) / 8192; in dnet_usectimeout()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c5871 qlge_delay(clock_t usecs) in qlge_delay() argument
5873 drv_usecwait(usecs); in qlge_delay()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c16122 ql_delay(ql_adapter_state_t *ha, clock_t usecs) in ql_delay() argument
16125 drv_usecwait(usecs); in ql_delay()
16127 delay(drv_usectohz(usecs)); in ql_delay()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Drelease.txt789 6. Problem: Can't set interrupt coalescing of 128+ usecs.