Home
last modified time | relevance | path

Searched refs:ftv (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_time.c78 fmd_time_sync(fmd_timeval_t *ftv, hrtime_t *hrp, uint_t samples) in fmd_time_sync() argument
101 if (ftv != NULL) { in fmd_time_sync()
102 ftv->ftv_sec = todbase.tv_sec; in fmd_time_sync()
103 ftv->ftv_nsec = todbase.tv_usec * (NANOSEC / MICROSEC); in fmd_time_sync()
117 fmd_time_hrt2ftv(hrtime_t hrt, fmd_timeval_t *ftv) in fmd_time_hrt2ftv() argument
140 ftv->ftv_sec = sec; in fmd_time_hrt2ftv()
141 ftv->ftv_nsec = nsec; in fmd_time_hrt2ftv()
152 hrtime_t hrt, fmd_timeval_t *ftv) in fmd_time_hrt2tod() argument
155 tod_base->ftv_nsec + (hrt - hrt_base), ftv); in fmd_time_hrt2tod()
165 const fmd_timeval_t *ftv, hrtime_t *hrtp) in fmd_time_tod2hrt() argument
[all …]
H A Dfmd_sysevent.c284 fmd_timeval_t ftv, tod; in sysev_replay() local
380 fmd_time_hrt2tod(ed.ed_hrt_base, &tod, hrt, &ftv); in sysev_replay()
384 FMD_EVN_TOD, (uint64_t *)&ftv, 2); in sysev_replay()
H A Dfmd_log.c798 fmd_timeval_t ftv = { -1ULL, -1ULL }; in fmd_log_unpack() local
817 ftv.ftv_sec = obj->eo_item.ei_uint64; in fmd_log_unpack()
821 ftv.ftv_nsec = obj->eo_item.ei_uint64; in fmd_log_unpack()
826 if (nvl == NULL || ftv.ftv_sec == -1ULL || ftv.ftv_nsec == -1ULL) { in fmd_log_unpack()
841 &ftv, nvl, class, lp, off, ea_pack_object(grp, NULL, 0))); in fmd_log_unpack()
H A Dfmd_ckpt.c901 fmd_timeval_t ftv; in fmd_ckpt_restore_events() local
932 ftv.ftv_sec = fcfe->fcfe_todsec; in fmd_ckpt_restore_events()
933 ftv.ftv_nsec = fcfe->fcfe_todnsec; in fmd_ckpt_restore_events()
943 &ftv, NULL, NULL, lp, fcfe->fcfe_offset, 0); in fmd_ckpt_restore_events()