Home
last modified time | relevance | path

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

/openbmc/phosphor-time-manager/
H A Dbmc_epoch.cpp53 timeFd = timerfd_create(CLOCK_REALTIME, 0); in initialize()
54 if (timeFd == -1) in initialize()
61 timeFd, TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &maxTime, nullptr); in initialize()
69 r = sd_event_add_io(bus.get_event(), &es, timeFd, EPOLLIN, onTimeChange, in initialize()
81 close(timeFd); in ~BmcEpoch()
H A Dbmc_epoch.hpp84 int timeFd = -1; member in phosphor::time::BmcEpoch
/openbmc/phosphor-state-manager/
H A Dscheduled_host_transition.cpp144 timeFd = timerfd_create(CLOCK_REALTIME, 0); in initialize()
145 if (timeFd == -1) in initialize()
149 eno, "RC", timeFd); in initialize()
159 timeFd, TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &maxTime, nullptr); in initialize()
171 r = sd_event_add_io(event.get(), &es, timeFd, EPOLLIN, onTimeChange, this); in initialize()
184 close(timeFd); in ~ScheduledHostTransition()
H A Dscheduled_host_transition.hpp76 int timeFd = -1; member in phosphor::state::manager::ScheduledHostTransition