/freebsd-current/sys/netinet/ |
H A D | tcp_subr.c | 2110 struct timeval tv; local 2116 log.u_bbr.timeStamp = tcp_get_usecs(&tv); 2119 ERRNO_UNK, 0, &log, false, NULL, NULL, 0, &tv); 4322 struct timeval tv; local 4348 log.u_bbr.timeStamp = tcp_get_usecs(&tv); 4353 0, &log, false, &tv);
|
H A D | sctputil.c | 1721 struct timeval tv; local 1946 (void)SCTP_GETTIME_TIMEVAL(&tv); 1947 inp->sctp_ep.time_of_secret_change = tv.tv_sec;
|
H A D | sctp_pcb.c | 5691 struct timeval tv; local 5707 (void)SCTP_GETTIME_TIMEVAL(&tv); 5710 SCTP_BASE_STATS[PCPU_GET(cpuid)].sctps_discontinuitytime.tv_sec = (uint32_t)tv.tv_sec; 5711 SCTP_BASE_STATS[PCPU_GET(cpuid)].sctps_discontinuitytime.tv_usec = (uint32_t)tv.tv_usec; 5714 SCTP_BASE_STAT(sctps_discontinuitytime).tv_sec = (uint32_t)tv.tv_sec; 5715 SCTP_BASE_STAT(sctps_discontinuitytime).tv_usec = (uint32_t)tv.tv_usec;
|
H A D | sctp_output.c | 6360 struct timeval tv; local 6363 tv.tv_sec = sp->timetolive / 1000; 6364 tv.tv_usec = (sp->timetolive * 1000) % 1000000; 6369 timevaladd(&sp->ts, &tv);
|
H A D | sctp_input.c | 535 struct timeval tv; local 620 tv.tv_sec = cp->heartbeat.hb_info.time_value_1; 621 tv.tv_usec = cp->heartbeat.hb_info.time_value_2; 623 sctp_calculate_rto(stcb, &stcb->asoc, r_net, &tv,
|
H A D | ip_carp.c | 1214 struct timeval tv; local 1225 tv.tv_sec = sc->sc_advbase; 1226 tv.tv_usec = advskew * 1000000 / 256; 1356 callout_reset(&sc->sc_ad_tmo, tvtohz(&tv), carp_callout, sc); 1806 struct timeval tv; local 1827 tv.tv_sec = 3 * sc->sc_advbase; 1828 tv.tv_usec = sc->sc_advskew * 1000000 / 256; 1829 timeout = tvtohz(&tv); 1870 tv.tv_sec = sc->sc_advbase; 1871 tv [all...] |
/freebsd-current/sys/netinet/tcp_stacks/ |
H A D | tcp_rack.h | 114 rack_to_usec_ts(struct timeval *tv) argument 116 return ((tv->tv_sec * HPTS_USEC_IN_SEC) + tv->tv_usec);
|
H A D | rack.c | 445 #define RACK_TCPT_RANGESET(tv, value, tvmin, tvmax, slop) do { \ 446 (tv) = (value) + slop; \ 447 if ((u_long)(tv) < (u_long)(tvmin)) \ 448 (tv) = (tvmin); \ 449 if ((u_long)(tv) > (u_long)(tvmax)) \ 450 (tv) = (tvmax); \ 614 struct timeval tv; local 621 microuptime(&tv); 623 tim += (tcp_tv_to_lusectick(&tv) - rack->r_ctl.lt_timemark); 696 struct timeval tv; local 768 struct timeval tv; local 2117 struct timeval tv; local 2212 struct timeval tv; local 2319 struct timeval tv; local 2611 struct timeval tv; local 2644 struct timeval tv; local 2753 struct timeval tv; local 2796 struct timeval tv; local 2839 struct timeval tv; local 2879 struct timeval tv; local 2928 struct timeval tv; local 3002 struct timeval tv; local 3046 struct timeval tv; local 3073 struct timeval tv; local 3100 struct timeval tv; local 3126 rack_log_type_bbrsnd(struct tcp_rack *rack, uint32_t len, uint32_t slot, uint32_t cts, struct timeval *tv, int line) argument 3160 struct timeval tv; local 3208 struct timeval tv; local 3236 struct timeval tv; local 3268 rack_log_to_cancel(struct tcp_rack *rack, int32_t hpts_removed, int line, uint32_t us_cts, struct timeval *tv, uint32_t flags_on_entry) argument 3313 struct timeval tv; local 3342 struct timeval tv; local 3372 struct timeval tv; local 3758 struct timeval tv; local 4206 struct timeval tv; local 4952 struct timeval tv; local 5302 struct timeval tv; local 5338 struct timeval tv; local 5521 struct timeval tv; local 5621 struct timeval tv; local 5728 struct timeval tv; local 5773 struct timeval tv; local 5925 struct timeval tv; local 6029 struct timeval tv; local 6183 struct timeval tv; local 6262 struct timeval tv; local 7073 rack_log_hpts_diag(struct tcp_rack *rack, uint32_t cts, struct hpts_diag *diag, struct timeval *tv) argument 7116 struct timeval tv; local 7138 struct timeval tv; local 8657 struct timeval tv; local 11780 struct timeval tv; local 11941 struct timeval tv; local 12725 struct timeval tv; local 14862 struct timeval tv; local 14937 struct timeval tv; local 15055 struct timeval tv; local 15872 struct timeval tv; local 16324 struct timeval tv; local 16408 struct timeval tv; local 16432 rack_do_compressed_ack_processing(struct tcpcb *tp, struct socket *so, struct mbuf *m, int nxt_pkt, struct timeval *tv) argument 17109 rack_do_segment_nounlock(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th, int32_t drop_hdrlen, int32_t tlen, uint8_t iptos, int32_t nxt_pkt, struct timeval *tv) argument 17772 struct timeval tv; local 17874 struct timeval tv; local 18105 struct timeval tv; local 18752 struct timeval tv; local 18932 struct timeval tv; local 18997 struct timeval tv; local 19253 rack_log_queue_level(struct tcpcb *tp, struct tcp_rack *rack, int len, struct timeval *tv, uint32_t cts) argument 19283 rack_check_queue_level(struct tcp_rack *rack, struct tcpcb *tp, struct timeval *tv, uint32_t cts, int len, uint32_t segsiz) argument 19351 rack_fast_rsm_output(struct tcpcb *tp, struct tcp_rack *rack, struct rack_sendmap *rsm, uint64_t ts_val, uint32_t cts, uint32_t ms_cts, struct timeval *tv, int len, uint8_t doing_tlp) argument 19939 rack_fast_output(struct tcpcb *tp, struct tcp_rack *rack, uint64_t ts_val, uint32_t cts, uint32_t ms_cts, struct timeval *tv, long tot_len, int *send_err) argument 20347 struct timeval tv; local 20638 struct timeval tv; local 23827 struct timeval tv; local 25207 struct timeval tv; local [all...] |
H A D | bbr.c | 134 #define TCPT_RANGESET_NOSLOP(tv, value, tvmin, tvmax) do { \ 135 (tv) = (value); \ 136 if ((u_long)(tv) < (u_long)(tvmin)) \ 137 (tv) = (tvmin); \ 138 if ((u_long)(tv) > (u_long)(tvmax)) \ 139 (tv) = (tvmax); \ 1992 struct timeval tv; local 2000 bbr_fill_in_logging_data(bbr, &log.u_bbr, tcp_get_usecs(&tv)); 2004 0, &log, false, &tv); 2239 struct timeval tv; local 11261 bbr_do_segment_nounlock(struct tcpcb *tp, struct mbuf *m, struct tcphdr *th, int32_t drop_hdrlen, int32_t tlen, uint8_t iptos, int32_t nxt_pkt, struct timeval *tv) argument 11606 struct timeval tv; local 11801 bbr_output_wtime(struct tcpcb *tp, const struct timeval *tv) argument 14024 struct timeval tv; local 14096 struct timeval tv; local [all...] |
/freebsd-current/contrib/bsddialog/utility/ |
H A D | util_theme.c | 373 struct timeval tv; local 379 gettimeofday(&tv, NULL); 380 srand(tv.tv_usec);
|
/freebsd-current/contrib/one-true-awk/ |
H A D | run.c | 2071 time_t tv; local 2234 tv = (time_t) getfval(y); 2237 tv = time((time_t *) 0); 2238 tm = localtime(&tv); 2240 FATAL("bad time %ld", (long)tv);
|
/freebsd-current/contrib/bmake/ |
H A D | main.c | 959 struct timeval tv; local 961 gettimeofday(&tv, NULL); 962 srandom((unsigned int)(tv.tv_sec + tv.tv_usec));
|
H A D | job.c | 2971 struct timeval tv, *tvp; local 3000 tv.tv_sec = usecs / 1000000; 3001 tv.tv_usec = usecs % 1000000; 3002 tvp = &tv;
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_misc.c | 388 struct timeval tv; local 392 microtime(&tv); 393 tm = tv.tv_sec; 424 struct timeval tv, utime, stime, cutime, cstime; local 448 microuptime(&tv); 449 td->td_retval[0] = (int)CONVTCK(tv); 506 struct timeval tv[2], *tvp; local 513 tv[0].tv_sec = lut.l_actime; 514 tv[0].tv_usec = 0; 515 tv[ 531 struct timeval tv[2], *tvp = NULL; local 696 struct timeval tv[2], *tvp = NULL; local [all...] |
/freebsd-current/contrib/unbound/validator/ |
H A D | validator.c | 802 struct timeval tv; local 848 tv.tv_usec = (usec % 1000000); 849 tv.tv_sec = (usec / 1000000); 851 comm_timer_set(vq->suspend_timer, &tv);
|
/freebsd-current/contrib/unbound/util/ |
H A D | netevent.h | 486 * @param tv: pointer to time in microseconds is returned. 488 void comm_base_timept(struct comm_base* b, time_t** tt, struct timeval** tv); 741 * @param tv: when the timer should activate. if NULL timer is disabled. 743 void comm_timer_set(struct comm_timer* timer, struct timeval* tv);
|
H A D | netevent.c | 272 comm_base_timept(struct comm_base* b, time_t** tt, struct timeval** tv) argument 275 *tv = &b->eb->now; 1251 struct timeval tv; local 1269 tv.tv_sec = NETEVENT_SLOW_ACCEPT_TIME/1000; 1270 tv.tv_usec = (NETEVENT_SLOW_ACCEPT_TIME%1000)*1000; 1279 else if(ub_event_add(b->eb->slow_accept, &tv) 4990 comm_timer_set(struct comm_timer* timer, struct timeval* tv) argument 4992 log_assert(tv); 4996 comm_timer_callback, timer, tv) != 0)
|
/freebsd-current/contrib/unbound/smallapp/ |
H A D | unbound-control.c | 672 struct timeval tv; local 679 tv.tv_sec = UNBOUND_CONTROL_CONNECT_TIMEOUT/1000; 680 tv.tv_usec= (UNBOUND_CONTROL_CONNECT_TIMEOUT%1000)*1000; 681 if(select(fd+1, &rset, &wset, &eset, &tv) == -1) {
|
/freebsd-current/contrib/unbound/services/ |
H A D | mesh.c | 1490 struct timeval tv = {0, 0}; local 1532 tv = r->start_time; 1621 mesh_do_callback(mstate, mstate->s.return_rcode, rep, c, &tv); 2155 struct timeval tv = {0, 0}; local 2253 tv = r->start_time; 2323 mesh_do_callback(mstate, LDNS_RCODE_NOERROR, msg->rep, c, &tv);
|
H A D | authzone.c | 6912 struct timeval tv; local 6970 tv.tv_sec = xfr->task_nextprobe->next_probe - 6972 else tv.tv_sec = 0; 6973 if(tv.tv_sec != 0 && lookup_only && xfr->task_probe->masters) { 6976 tv.tv_sec = 0; 6984 zname, (int)tv.tv_sec); 6986 tv.tv_usec = 0; 6987 comm_timer_set(xfr->task_nextprobe->timer, &tv);
|
/freebsd-current/contrib/unbound/daemon/ |
H A D | worker.c | 1959 struct timeval tv; local 1960 memset(&tv, 0, sizeof(tv)); 1968 tv, 1, c->buffer, 1974 tv, 1, c->buffer, 2027 struct timeval tv; local 2029 tv.tv_sec = worker->env.cfg->stat_interval; 2030 tv.tv_usec = 0; 2032 comm_timer_set(worker->stat_timer, &tv); 2056 struct timeval tv; local 2275 struct timeval tv; local [all...] |
/freebsd-current/sys/arm64/vmm/ |
H A D | vmm_dev.c | 525 getmicrotime(&vmstats->tv);
|
/freebsd-current/sys/amd64/vmm/ |
H A D | vmm_dev.c | 71 struct timeval tv; member in struct:vm_stats_old 691 getmicrotime(&vmstats_old->tv); 700 getmicrotime(&vmstats->tv);
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | z_Linux_util.cpp | 79 #define TIMEVAL_TO_TIMESPEC(tv, ts) \ 81 (ts)->tv_sec = (tv)->tv_sec; \ 82 (ts)->tv_nsec = (tv)->tv_usec * 1000; \ 2034 struct timeval tv; local 2036 status = gettimeofday(&tv, NULL); 2039 (double)tv.tv_usec * (1.0 / (double)KMP_USEC_PER_SEC) + (double)tv.tv_sec;
|
/freebsd-current/sys/kern/ |
H A D | uipc_socket.c | 3111 struct timeval tv; local 3222 CP(tv32, tv, tv_sec); 3223 CP(tv32, tv, tv_usec); 3226 error = sooptcopyin(sopt, &tv, sizeof tv, 3227 sizeof tv); 3230 if (tv.tv_sec < 0 || tv.tv_usec < 0 || 3231 tv.tv_usec >= 1000000) { 3235 if (tv 3335 struct timeval tv; local [all...] |