/freebsd/sys/netinet/ |
H A D | tcp_offload.c | 65 struct toedev *tod; in tcp_offload_connect() local 104 tod = TOEDEV(ifp); in tcp_offload_connect() 105 if (tod != NULL) in tcp_offload_connect() 106 error = tod->tod_connect(tod, so, nh, nam); in tcp_offload_connect() 133 struct toedev *tod = tp->tod; in tcp_offload_input() local 135 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp %p", __func__, tp)); in tcp_offload_input() 138 tod->tod_input(tod, tp, m); in tcp_offload_input() 144 struct toedev *tod = tp->tod; in tcp_offload_output() local 147 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp %p", __func__, tp)); in tcp_offload_output() 154 error = tod->tod_send_rst(tod, tp); in tcp_offload_output() [all …]
|
H A D | toecore.c | 78 toedev_connect(struct toedev *tod __unused, struct socket *so __unused, in toedev_connect() 86 toedev_listen_start(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_listen_start() 93 toedev_listen_stop(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_listen_stop() 100 toedev_input(struct toedev *tod __unused, struct tcpcb *tp __unused, in toedev_input() 109 toedev_rcvd(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_rcvd() 116 toedev_output(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_output() 123 toedev_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp __unused) in toedev_pcb_detach() 130 toedev_l2_update(struct toedev *tod __unused, struct ifnet *ifp __unused, in toedev_l2_update() 139 toedev_route_redirect(struct toedev *tod __unused, struct ifnet *ifp __unused, in toedev_route_redirect() 147 toedev_syncache_added(struct toedev *tod __unused, void *ctx __unused) in toedev_syncache_added() [all …]
|
H A D | tcp_syncache.c | 390 struct toedev *tod = sc->sc_tod; in syncache_insert() local 392 tod->tod_syncache_added(tod, sc->sc_todctx); in syncache_insert() 423 struct toedev *tod = sc->sc_tod; in syncache_drop() local 425 tod->tod_syncache_removed(tod, sc->sc_todctx); in syncache_drop() 973 struct toedev *tod = sc->sc_tod; in syncache_socket() local 975 tod->tod_offload_socket(tod, sc->sc_todctx, so); in syncache_socket() 1252 struct toedev *tod = sc->sc_tod; in syncache_expand() local 1254 tod->tod_syncache_removed(tod, sc->sc_todctx); in syncache_expand() 1360 struct inpcb *inp, struct socket *so, struct mbuf *m, void *tod, in syncache_add() argument 1639 sc->sc_tod = tod; in syncache_add() [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | rtas_dev.c | 105 cell_t tod[8]; in rtas_gettime() local 112 error = rtas_call_method(token, 0, 8, &tod[0], &tod[1], &tod[2], in rtas_gettime() 113 &tod[3], &tod[4], &tod[5], &tod[6], &tod[7]); in rtas_gettime() 116 if (tod[0] != 0) in rtas_gettime() 117 return ((tod[0] == -1) ? ENXIO : EAGAIN); in rtas_gettime() 119 ct.year = tod[1]; in rtas_gettime() 120 ct.mon = tod[2]; in rtas_gettime() 121 ct.day = tod[3]; in rtas_gettime() 122 ct.hour = tod[4]; in rtas_gettime() 123 ct.min = tod[5]; in rtas_gettime() [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | machines.c | 435 static int tod; in ntp_set_tod() 444 if (rc && (SET_TOD_CLOCK_SETTIME == tod || !tod)) { in ntp_set_tod() 455 if (!tod && !rc) in ntp_set_tod() 456 tod = SET_TOD_CLOCK_SETTIME; in ntp_set_tod() 461 if (rc && (SET_TOD_SETTIMEOFDAY == tod || !tod)) { in ntp_set_tod() 474 if (!tod && !rc) in ntp_set_tod() 475 tod = SET_TOD_SETTIMEOFDAY; in ntp_set_tod() 479 if (rc && (SET_TOD_STIME == tod || !to in ntp_set_tod() 436 static int tod; ntp_set_tod() local [all...] |
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 251 tp->tod = &td->tod; in offload_socket() 291 tp->tod = NULL; in undo_offload_socket() 379 t4_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp) in t4_pcb_detach() 405 tp->tod = NULL; in t4_pcb_detach() 418 t4_ctloutput(struct toedev *tod, struct tcpcb *tp, int dir, int name) in t4_ctloutput() argument 420 struct adapter *sc = tod->tod_softc; in t4_ctloutput() 832 t4_tcp_info(struct toedev *tod, const struct tcpcb *tp, struct tcp_info *ti) in t4_tcp_info() argument 834 struct adapter *sc = tod->tod_softc; in t4_tcp_info() 845 t4_alloc_tls_session(struct toedev *tod, struct tcpcb *tp, in t4_alloc_tls_session() argument 895 t4_pmtu_update(struct toedev *tod, struct tcpcb *tp, tcp_seq seq, int mtu) in t4_pmtu_update() argument [all …]
|
H A D | t4_connect.c | 116 struct toedev *tod = &toep->td->tod; in act_open_failure_cleanup() local 135 toe_connect_failed(tod, inp, status); in act_open_failure_cleanup() 240 t4_connect(struct toedev *tod, struct socket *so, struct nhop_object *nh, in t4_connect() argument 243 struct adapter *sc = tod->tod_softc; in t4_connect()
|
H A D | t4_tom_l2t.c | 233 struct toedev *tod = &td->tod; in resolve_entry() local 254 rc = toe_l2_resolve(tod, e->ifp, sa, dmac, &vtag); in resolve_entry() 423 t4_l2_update(struct toedev *tod, if_t ifp, struct sockaddr *sa, in t4_l2_update() argument 426 struct adapter *sc = tod->tod_softc; in t4_l2_update()
|
H A D | t4_tom.h | 332 struct toedev tod; member 362 tod_td(struct toedev *tod) in tod_td() argument 365 return (__containerof(tod, struct tom_data, tod)); in tod_td() 372 return (td->tod.tod_softc); in td_adapter()
|
H A D | t4_listen.c | 527 send_abort_rpl_synqe(struct toedev *tod, struct synq_entry *synqe, in send_abort_rpl_synqe() argument 530 struct adapter *sc = tod->tod_softc; in send_abort_rpl_synqe() 650 t4_listen_start(struct toedev *tod, struct tcpcb *tp) in t4_listen_start() argument 652 struct adapter *sc = tod->tod_softc; in t4_listen_start() 747 t4_listen_stop(struct toedev *tod, struct tcpcb *tp) in t4_listen_stop() argument 750 struct adapter *sc = tod->tod_softc; in t4_listen_stop() 827 t4_syncache_added(struct toedev *tod __unused, void *arg) in t4_syncache_added() 835 t4_syncache_removed(struct toedev *tod, void *arg) in t4_syncache_removed() argument 837 struct adapter *sc = tod->tod_softc; in t4_syncache_removed() 851 t4_syncache_respond(struct toedev *tod, void *arg, struct mbuf *m) in t4_syncache_respond() argument [all …]
|
H A D | t4_cpl_io.c | 412 t4_rcvd_locked(struct toedev *tod, struct tcpcb *tp) in t4_rcvd_locked() argument 414 struct adapter *sc = tod->tod_softc; in t4_rcvd_locked() 436 t4_rcvd(struct toedev *tod, struct tcpcb *tp) in t4_rcvd() argument 443 t4_rcvd_locked(tod, tp); in t4_rcvd() 1244 t4_tod_output(struct toedev *tod, struct tcpcb *tp) in t4_tod_output() argument 1246 struct adapter *sc = tod->tod_softc; in t4_tod_output() 1263 t4_send_fin(struct toedev *tod, struct tcpcb *tp) in t4_send_fin() argument 1265 struct adapter *sc = tod->tod_softc; in t4_send_fin() 1284 t4_send_rst(struct toedev *tod, struct tcpcb *tp) in t4_send_rst() argument 1286 struct adapter *sc = tod->tod_softc; in t4_send_rst() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_diagnosis.c | 296 uint64_t *tod; in zfs_mark_pool() local 319 &tod, &nelem); in zfs_mark_pool() 321 loaded.ertv_sec = tod[0]; in zfs_mark_pool() 322 loaded.ertv_nsec = tod[1]; in zfs_mark_pool() 356 uint64_t *tod; in zpool_find_load_time() local 377 &tod, &nelem) == 0 && nelem == 2) { in zpool_find_load_time() 379 lta->lt_time->ertv_sec = tod[0]; in zpool_find_load_time() 380 lta->lt_time->ertv_nsec = tod[1]; in zpool_find_load_time() 516 int64_t *tod; in zfs_ereport_when() local 519 if (nvlist_lookup_int64_array(nvl, FM_EREPORT_TIME, &tod, in zfs_ereport_when() [all …]
|
H A D | zfs_agents.c | 210 int64_t tod[2]; in zfs_agent_post_event() local 225 tod[0] = tv.tv_sec; in zfs_agent_post_event() 226 tod[1] = tv.tv_usec; in zfs_agent_post_event() 227 (void) nvlist_add_int64_array(payload, FM_EREPORT_TIME, tod, 2); in zfs_agent_post_event()
|
H A D | fmd_api.c | 402 int64_t tod[2]; in fmd_case_add_suspect() local 410 tod[0] = cp->ci_tv.tv_sec; in fmd_case_add_suspect() 411 tod[1] = cp->ci_tv.tv_usec; in fmd_case_add_suspect() 419 err |= nvlist_add_int64_array(nvl, FM_SUSPECT_DIAG_TIME, tod, 2); in fmd_case_add_suspect()
|
/freebsd/usr.bin/top/ |
H A D | display.h | 25 void i_timeofday(time_t *tod); 26 void i_uptime(struct timeval *bt, time_t *tod);
|
H A D | display.c | 299 i_timeofday(time_t *tod) in i_timeofday() argument 323 foo = ctime(tod); in i_timeofday() 327 printf("%-8.8s\n", &(ctime(tod)[11])); in i_timeofday() 1293 i_uptime(struct timeval *bt, time_t *tod) in i_uptime() argument 1299 uptime = *tod - bt->tv_sec; in i_uptime()
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 566 time_t tod; in Convert() local 599 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) in Convert() 601 Julian += tod; in Convert() 822 time_t tod; in get_date() local 869 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); in get_date() 870 Start += tod; in get_date()
|
/freebsd/usr.bin/find/ |
H A D | getdate.y | 572 time_t tod; in Convert() local 598 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) in Convert() 600 Julian += tod; in Convert() 841 time_t tod; in get_date() local 913 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); in get_date() 914 Start += tod; in get_date()
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 362 tod(struct tm *tm) in tod() function 630 tod(&runtime); in parsetime()
|
/freebsd/contrib/tzcode/ |
H A D | zic.c | 2057 zic_t dayoff, tod; in getleapdatetime() local 2115 tod = gethms(fields[LP_TIME], _("invalid time of day")); in getleapdatetime() 2116 t = tadd(t, tod); in getleapdatetime() 2957 register zic_t tod = rp->r_tod; in stringrule() local 2983 tod += wdayoff * SECSPERDAY; in stringrule() 2993 tod += wdayoff * SECSPERDAY; in stringrule() 3003 tod += stdoff; in stringrule() 3005 tod += save; in stringrule() 3006 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { in stringrule() 3008 if (! stringoffset(result, tod)) in stringrule() [all...] |
/freebsd/usr.sbin/rpc.lockd/ |
H A D | kern.c | 67 time_t tod; /* Time-of-day. */ member 158 (void)time(&owner.tod); in client_request()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_getdate.c | 948 time_t tod; in __archive_get_date() 1069 tod = RelativeDate(Start, gds->Timezone, in __archive_get_date() 1071 Start += tod; in __archive_get_date() 952 time_t tod; __archive_get_date() local
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls.h | 61 int tod; member
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | notify.c | 854 cert->tod == 2 ? " tod=2" : "", in wpas_notify_certification() 855 cert->tod == 1 ? " tod=1" : ""); in wpas_notify_certification()
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | icl_cxgbei.c | 1009 if (tp->t_flags & TF_TOE && tp->tod == &td->tod) in find_offload_adapter() 1174 MPASS(tp->tod != NULL); in icl_cxgbei_conn_handoff()
|