/freebsd-current/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_reg.c | 111 rtwn_pci_delay(struct rtwn_softc *sc, int usec) argument 113 if (usec < 1000) 114 DELAY(usec); 117 msecs_to_ticks(usec / 1000));
|
/freebsd-current/sys/arm/arm/ |
H A D | platform.c | 207 platform_delay(int usec, void *arg __unused) argument 211 for (; usec > 0; usec--)
|
H A D | mpcore_timer.c | 494 arm_tmr_delay(int usec, void *arg) argument 510 if (usec >= (0x80000000U / counts_per_usec)) 513 counts = usec * counts_per_usec; 526 * DELAY - Delay for at least usec microseconds. 527 * @usec: number of microseconds to delay by 537 DELAY(int usec) argument 545 for (; usec > 0; usec--) 552 arm_tmr_delay(usec, sc);
|
/freebsd-current/contrib/libpcap/pcap/ |
H A D | nflog.h | 70 uint64_t usec; member in struct:nflog_timestamp
|
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | rd_safe.c | 161 safe.safe_body.usec == NULL || 206 if(safe.safe_body.usec) 207 outdata->usec = *safe.safe_body.usec;
|
H A D | rd_priv.c | 138 part.usec == NULL || 172 if(part.usec) 173 outdata->usec = *part.usec;
|
H A D | get_for_creds.c | 289 int32_t usec; local 291 krb5_us_timeofday (context, &sec, &usec); 300 ALLOC(enc_krb_cred_part.usec, 1); 301 if (enc_krb_cred_part.usec == NULL) { 306 *enc_krb_cred_part.usec = usec; 309 enc_krb_cred_part.usec = NULL;
|
/freebsd-current/sys/dev/rtwn/usb/ |
H A D | rtwn_usb_reg.c | 165 rtwn_usb_delay(struct rtwn_softc *sc, int usec) argument 169 if (usec < 1000) 170 DELAY(usec); 172 usb_pause_mtx(&sc->sc_mtx, msecs_to_ticks(usec / 1000));
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 147 __int64 usec; local 151 usec = tv->tv_sec * 1000000LL + tv->tv_usec; 152 if (!usec) 155 li.QuadPart = -10LL * usec; 172 /* Some systems don't like to usleep more than 999999 usec */ 407 ev_uint64_t abstime, usec; local 416 usec = (abstime * base->mach_timebase_units.numer) 418 tp->tv_sec = usec / 1000000; 419 tp->tv_usec = usec % 1000000;
|
/freebsd-current/lib/libipsec/ |
H A D | policy_token.l | 77 usec {dot}{digit}{1,6}
|
/freebsd-current/usr.sbin/rrenumd/ |
H A D | lexer.l | 78 usec {dot}{digit}{1,6}
|
/freebsd-current/contrib/libevent/ |
H A D | evutil_time.c | 147 __int64 usec; local 151 usec = tv->tv_sec * 1000000LL + tv->tv_usec; 152 if (!usec) 155 li.QuadPart = -10LL * usec; 172 /* Some systems don't like to usleep more than 999999 usec */ 407 ev_uint64_t abstime, usec; local 416 usec = (abstime * base->mach_timebase_units.numer) 418 tp->tv_sec = usec / 1000000; 419 tp->tv_usec = usec % 1000000;
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | os_win32.c | 17 void os_sleep(os_time_t sec, os_time_t usec) argument 21 if (usec) 22 Sleep(usec / 1000); 45 t->usec = (os_time_t) (tt % 1000000); 57 t->usec = now.usec;
|
H A D | os_internal.c | 26 void os_sleep(os_time_t sec, os_time_t usec) argument 29 const struct timespec req = { sec, usec * 1000 }; 35 if (usec) 36 usleep(usec); 47 t->usec = tv.tv_usec; 58 t->usec = tv.tv_usec;
|
H A D | eloop_win.c | 263 timeout->time.usec += usecs; 264 while (timeout->time.usec >= 1000000) { 266 timeout->time.usec -= 1000000; 323 remaining->sec = remaining->usec = 0; 369 requested.usec = req_usecs; 376 requested.usec, 401 requested.usec = req_usecs; 408 requested.usec, 543 tv.sec = tv.usec = 0; 563 timeout_val = tv.sec * 1000 + tv.usec / 100 [all...] |
/freebsd-current/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 587 register long sec, usec; local 622 usec = tv->tv_usec; 623 if (usec < 0) { 625 usec += 1000000; 629 if (usec > 0) { 631 usec -= 1000000; 633 printf("tvotohz: negative time difference %ld sec %ld usec\n", 634 sec, usec); 638 ticks = (sec * 1000000 + (unsigned long)usec + (tick - 1)) 642 + ((unsigned long)usec [all...] |
/freebsd-current/contrib/ntp/include/ |
H A D | timevalops.h | 28 * Convert usec to a time stamp fraction. 56 * TV_SHIFT is used to turn the table result into a usec value. To 85 long usec; \ 87 usec = (tv)->tv_usec; \ 89 usec = -usec; \ 93 TVUTOTSF(usec, (ts)->l_uf); \
|
/freebsd-current/tools/tools/netmap/ |
H A D | lb.c | 230 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; local 242 usec = (cur.t.tv_sec - prev.t.tv_sec) * 1000000 + 260 if (usec) { 265 pps = (x.pkts*1000000 + usec/2) / usec; 266 dps = (x.drop*1000000 + usec/2) / usec; 267 bps = ((x.bytes*1000000 + usec/2) / usec) * 8; 268 dbps = ((x.drop_bytes*1000000 + usec/ [all...] |
/freebsd-current/sys/riscv/riscv/ |
H A D | timer.c | 276 DELAY(int usec) argument 286 for (; usec > 0; usec--) 306 if (usec >= (0x80000000U / counts_per_usec)) 309 counts = usec * counts_per_usec;
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | bench_httpclient.c | 182 long long usec; local 207 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec; 232 (double)(usec/1000) / total_n_handled,
|
/freebsd-current/contrib/libevent/test/ |
H A D | bench_httpclient.c | 182 long long usec; local 207 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec; 232 (double)(usec/1000) / total_n_handled,
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | temp.sh | 123 uint64_t usec; 153 usec = ((uint64_t)1000000 * 161 (double)usec / 1000000);
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | scan.h | 37 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec); 39 int sec, int usec);
|
/freebsd-current/sys/arm/qualcomm/ |
H A D | qcom_cpu_kpssv2.c | 60 loop_delay(int usec) argument 62 int lcount = usec * 100000;
|
/freebsd-current/sys/arm/mv/ |
H A D | timer.c | 128 static void mv_delay(int usec, void* arg); 306 mv_delay(int usec, void* arg) argument 312 nticks = ((timer_softc->config->clock_src / 1000000 + 1) * usec); 327 DELAY(int usec) argument 332 for (; usec > 0; usec--) 337 mv_delay(usec, NULL);
|