Searched refs:usec (Results 26 - 50 of 171) sorted by relevance

1234567

/freebsd-13-stable/contrib/ntp/lib/isc/tests/
H A Disctest.h57 isc_test_nap(isc_uint32_t usec);
/freebsd-13-stable/sys/dev/rtwn/usb/
H A Drtwn_usb_reg.c168 rtwn_usb_delay(struct rtwn_softc *sc, int usec) argument
172 if (usec < 1000)
173 DELAY(usec);
175 usb_pause_mtx(&sc->sc_mtx, msecs_to_ticks(usec / 1000));
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Drd_priv.c138 part.usec == NULL ||
172 if(part.usec)
173 outdata->usec = *part.usec;
H A Drd_safe.c161 safe.safe_body.usec == NULL ||
206 if(safe.safe_body.usec)
207 outdata->usec = *safe.safe_body.usec;
H A Dget_for_creds.c289 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-13-stable/contrib/wpa/wpa_supplicant/
H A Dscan.h13 void wpa_supplicant_req_scan(struct wpa_supplicant *wpa_s, int sec, int usec);
15 int sec, int usec);
/freebsd-13-stable/lib/libipsec/
H A Dpolicy_token.l78 usec {dot}{digit}{1,6}
/freebsd-13-stable/contrib/apr/include/
H A Dapr_time.h65 /** @return apr_time_t as a usec */
80 /** @return a second and usec combination as an apr_time_t */
81 #define apr_time_make(sec, usec) ((apr_time_t)(sec) * APR_USEC_PER_SEC \
82 + (apr_time_t)(usec))
/freebsd-13-stable/usr.sbin/rrenumd/
H A Dlexer.l80 usec {dot}{digit}{1,6}
/freebsd-13-stable/contrib/wpa/src/utils/
H A Dos_win32.c17 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 Deloop_win.c263 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...]
H A Deloop.c793 timeout->time.usec += usecs;
794 while (timeout->time.usec >= 1000000) {
796 timeout->time.usec -= 1000000;
858 remaining->sec = remaining->usec = 0;
904 requested.usec = req_usecs;
911 requested.usec,
936 requested.usec = req_usecs;
943 requested.usec,
1113 tv.sec = tv.usec = 0;
1115 timeout_ms = tv.sec * 1000 + tv.usec / 100
1260 int sec, usec; local
[all...]
H A Dos_internal.c26 void os_sleep(os_time_t sec, os_time_t usec) argument
30 if (usec)
31 usleep(usec);
41 t->usec = tv.tv_usec;
52 t->usec = tv.tv_usec;
/freebsd-13-stable/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c413 *sslp++ = res.usec;
444 rpctls_cl_handlerecord(uint64_t sec, uint64_t usec, uint64_t ssl, argument
460 arg.usec = usec;
470 rpctls_srv_handlerecord(uint64_t sec, uint64_t usec, uint64_t ssl, argument
486 arg.usec = usec;
497 rpctls_cl_disconnect(uint64_t sec, uint64_t usec, uint64_t ssl, argument
513 arg.usec = usec;
523 rpctls_srv_disconnect(uint64_t sec, uint64_t usec, uint64_t ssl, uint32_t *reterr) argument
[all...]
/freebsd-13-stable/sys/arm/arm/
H A Dmpcore_timer.c499 arm_tmr_delay(int usec, void *arg) argument
515 if (usec >= (0x80000000U / counts_per_usec))
518 counts = usec * counts_per_usec;
531 * DELAY - Delay for at least usec microseconds.
532 * @usec: number of microseconds to delay by
542 DELAY(int usec) argument
550 for (; usec > 0; usec--)
557 arm_tmr_delay(usec, sc);
H A Dgeneric_timer.c112 static void arm_tmr_do_delay(int usec, void *);
536 arm_tmr_do_delay(int usec, void *arg) argument
551 if (usec >= (0x80000000U / counts_per_usec))
554 counts = usec * counts_per_usec;
567 DELAY(int usec) argument
577 for (; usec > 0; usec--)
585 arm_tmr_do_delay(usec, arm_tmr_sc);
/freebsd-13-stable/usr.sbin/watchdogd/
H A Dwatchdogd.c589 register long sec, usec; local
624 usec = tv->tv_usec;
625 if (usec < 0) {
627 usec += 1000000;
631 if (usec > 0) {
633 usec -= 1000000;
635 printf("tvotohz: negative time difference %ld sec %ld usec\n",
636 sec, usec);
640 ticks = (sec * 1000000 + (unsigned long)usec + (tick - 1))
644 + ((unsigned long)usec
[all...]
/freebsd-13-stable/contrib/ntp/include/
H A Dtimevalops.h28 * 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-13-stable/sys/riscv/riscv/
H A Dtimer.c260 DELAY(int usec) argument
270 for (; usec > 0; usec--)
290 if (usec >= (0x80000000U / counts_per_usec))
293 counts = usec * counts_per_usec;
/freebsd-13-stable/tools/tools/netmap/
H A Dlb.c231 uint64_t pps = 0, dps = 0, bps = 0, dbps = 0, usec = 0; local
243 usec = (cur.t.tv_sec - prev.t.tv_sec) * 1000000 +
261 if (usec) {
266 pps = (x.pkts*1000000 + usec/2) / usec;
267 dps = (x.drop*1000000 + usec/2) / usec;
268 bps = ((x.bytes*1000000 + usec/2) / usec) * 8;
269 dbps = ((x.drop_bytes*1000000 + usec/
[all...]
/freebsd-13-stable/contrib/libevent/test/
H A Dbench_httpclient.c182 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-13-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c186 long long usec; local
205 usec = total_time.tv_sec * (long long)1000000 + total_time.tv_usec;
230 (double)(usec/1000) / total_n_handled,
/freebsd-13-stable/sys/mips/ingenic/
H A Djz4780_timer.c272 DELAY(int usec) argument
279 for (; usec > 0; usec--)
291 * usec * ((sc->tc.tc_frequency / 1000000) + 1)
297 remaining = usec * ((jz4780_timer_sc->tc.tc_frequency + 999999) /
/freebsd-13-stable/sys/arm/mv/
H A Dtimer.c131 static void mv_delay(int usec, void* arg);
311 mv_delay(int usec, void* arg) argument
317 nticks = ((timer_softc->config->clock_src / 1000000 + 1) * usec);
332 DELAY(int usec) argument
337 for (; usec > 0; usec--)
342 mv_delay(usec, NULL);
/freebsd-13-stable/contrib/processor-trace/libipt/src/
H A Dpt_image.c656 int pt_image_find(struct pt_image *image, struct pt_mapped_section *usec, argument
664 if (!image || !usec)
682 *usec = *msec;
688 const struct pt_mapped_section *usec, uint64_t vaddr,
695 if (!image || !usec)
698 /* Check that @vaddr lies within @usec. */
699 begin = pt_msec_begin(usec);
700 end = pt_msec_end(usec);
704 /* We assume that @usec is a copy of the top of our stack and accept
718 status = memcmp(&slist->section, usec, sizeo
687 pt_image_validate(const struct pt_image *image, const struct pt_mapped_section *usec, uint64_t vaddr, int isid) argument
[all...]

Completed in 131 milliseconds

1234567