/openbmc/sdeventplus/src/ |
H A D | meson.build | 9 'sdeventplus', 11 'sdeventplus/clock.cpp', 12 'sdeventplus/event.cpp', 13 'sdeventplus/exception.cpp', 14 'sdeventplus/internal/sdevent.cpp', 15 'sdeventplus/source/base.cpp', 16 'sdeventplus/source/child.cpp', 17 'sdeventplus/source/event.cpp', 18 'sdeventplus/source/io.cpp', 19 'sdeventplus/source/signal.cpp', [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_manager.hpp | 19 #include <sdeventplus/event.hpp> 20 #include <sdeventplus/utility/timer.hpp> 84 sdpEvent(sdeventplus::Event::get_default()), in Manager() 87 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager() 100 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager() 104 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager() 110 sdeventplus in Manager() [all...] |
/openbmc/phosphor-host-postd/ |
H A D | main.cpp | 73 bool rateLimit(PostReporter& reporter, sdeventplus::source::IO& ioSource) in rateLimit() 81 using Clock = sdeventplus::Clock<sdeventplus::ClockId::Monotonic>; in rateLimit() 87 const sdeventplus::Event& event = ioSource.get_event(); in rateLimit() 112 ioSource.set_enabled(sdeventplus::source::Enabled::Off); in rateLimit() 113 sdeventplus::source::Time<sdeventplus::ClockId::Monotonic>( in rateLimit() 120 ioSource.set_enabled(sdeventplus::source::Enabled::On); in rateLimit() 198 void PostCodeEventHandler(PostReporter* reporter, sdeventplus::source::IO& s, in PostCodeEventHandler() 396 sdeventplus::Event event = sdeventplus::Event::get_default(); in main() 397 std::optional<sdeventplus::source::IO> reporterSource; in main() 406 auto intCb = [](sdeventplus::source::Signal& source, in main() [all …]
|
/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | host_notifier.hpp | 214 void dispatch(sdeventplus::source::EventBase& source); 323 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _retryTimer; 329 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _hostFullTimer; 335 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _hostUpTimer; 342 std::unique_ptr<sdeventplus::source::Defer> _dispatcher;
|
H A D | manager.hpp | 57 _event(sdeventplus::Event::get_default()), in Manager() 345 void closeFD(int fd, sdeventplus::source::EventBase& source); 389 void pruneRepo(sdeventplus::source::EventBase& source); 404 void pelFileDeleted(sdeventplus::source::IO& io, int fd, uint32_t revents); 493 void deleteObmcLog(sdeventplus::source::EventBase&, uint32_t obmcLogID); 543 sdeventplus::Event _event; 574 std::unique_ptr<sdeventplus::source::Defer> _fdCloserEventSource; 580 std::unique_ptr<sdeventplus::source::Defer> _repoPrunerEventSource; 586 std::unique_ptr<sdeventplus::source::Defer> _obmcLogDeleteEventSource; 591 std::unique_ptr<sdeventplus::source::IO> _pelFileDeleteEventSource;
|
H A D | event_logger.hpp | 60 _event(sdeventplus::Event::get_default()), _creator(creator) in EventLogger() 110 _eventSource = std::make_unique<sdeventplus::source::Defer>( in scheduleCreate() 124 void create(sdeventplus::source::EventBase& /*source*/) in create() 161 sdeventplus::Event _event; 178 std::unique_ptr<sdeventplus::source::Defer> _eventSource;
|
H A D | pldm_interface.hpp | 100 void receive(sdeventplus::source::IO& io, int fd, uint32_t revents, 184 std::unique_ptr<sdeventplus::source::IO> _source; 190 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _receiveTimer;
|
/openbmc/openpower-proc-control/extensions/phal/ |
H A D | clock_logger.hpp | 28 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>; 50 Manager(const sdeventplus::Event& event); 85 sdeventplus::Event _event; 88 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
|
/openbmc/sdeventplus/example/ |
H A D | follow.cpp | 19 void reader(const char* fifo, sdeventplus::source::IO& source, int fd, uint32_t) in reader() 50 void remover(const char* fifo, sdeventplus::source::EventBase& source) in remover() 61 void clean_exit(sdeventplus::source::Signal& source, in clean_exit() 105 sdeventplus::Event event = sdeventplus::Event::get_default(); in main() 106 sdeventplus::source::Exit remover_source( in main() 108 sdeventplus::source::Signal sigint(event, SIGINT, clean_exit); in main() 109 sdeventplus::source::IO reader_source( in main()
|
H A D | heartbeat.cpp | 12 using sdeventplus::Event; 13 using sdeventplus::source::Enabled; 14 using sdeventplus::source::Signal; 16 constexpr auto clockId = sdeventplus::ClockId::RealTime; 17 using Clock = sdeventplus::Clock<clockId>; 18 using Time = sdeventplus::source::Time<clockId>;
|
H A D | heartbeat_timer.cpp | 17 using sdeventplus::Clock; 18 using sdeventplus::ClockId; 19 using sdeventplus::Event; 20 using sdeventplus::source::Signal; 23 using Timer = sdeventplus::utility::Timer<clockId>;
|
H A D | delayed_echo.cpp | 19 using sdeventplus::Clock; 20 using sdeventplus::ClockId; 21 using sdeventplus::Event; 22 using sdeventplus::source::IO; 25 using Timer = sdeventplus::utility::Timer<clockId>;
|
/openbmc/phosphor-networkd/src/ |
H A D | network_manager_main.cpp | 32 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>; 35 TimerExecutor(sdeventplus::Event& event, std::chrono::milliseconds delay) : in TimerExecutor() 54 void termCb(sdeventplus::source::Signal& signal, const struct signalfd_siginfo*) in termCb() 62 auto event = sdeventplus::Event::get_default(); in main() 64 sdeventplus::source::Signal(event, SIGTERM, termCb).set_floating(true); in main() 79 return sdeventplus::utility::loopWithBus(event, bus); in main()
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | power_off_action.hpp | 58 _event(sdeventplus::Event::get_default()), in PowerOffAction() 134 sdeventplus::Event _event; 232 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; 324 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; 471 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> 477 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _meltdownTimer;
|
H A D | tach_sensor.hpp | 114 const sdeventplus::Event& event); 527 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer; 554 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>> 568 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
|
H A D | fan.hpp | 83 Fan(Mode mode, sdbusplus::bus_t& bus, const sdeventplus::Event& event, 304 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _monitorTimer; 347 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.hpp | 37 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>; 59 Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event); 124 void sighupHandler(sdeventplus::source::Signal& sigSrc, 199 const sdeventplus::Event& eventLoop [[maybe_unused]];
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | oem_ibm_handler.hpp | 53 sdeventplus::Event& event, in Handler() 232 void _processEndUpdate(sdeventplus::source::EventBase& source); 239 void _processStartUpdate(sdeventplus::source::EventBase& source); 246 void _processSystemReboot(sdeventplus::source::EventBase& source); 335 std::unique_ptr<sdeventplus::source::Defer> assembleImageEvent; 336 std::unique_ptr<sdeventplus::source::Defer> startUpdateEvent; 337 std::unique_ptr<sdeventplus::source::Defer> systemRebootEvent; 346 sdeventplus::Event& event; 369 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
|
/openbmc/pldm/host-bmc/ |
H A D | host_pdr_handler.hpp | 93 int mctp_fd, uint8_t mctp_eid, sdeventplus::Event& event, 200 void _fetchPDR(sdeventplus::source::EventBase& source); 224 void _processPDRRepoChgEvent(sdeventplus::source::EventBase& source); 231 sdeventplus::source::EventBase& source); 295 sdeventplus::Event& event; 312 std::unique_ptr<sdeventplus::source::Defer> pdrFetchEvent; 313 std::unique_ptr<sdeventplus::source::Defer> deferredFetchPDREvent; 314 std::unique_ptr<sdeventplus::source::Defer> deferredPDRRepoChgEvent;
|
/openbmc/phosphor-power/phosphor-power-sequencer/src/ |
H A D | power_control.hpp | 49 PowerControl(sdbusplus::bus_t& bus, const sdeventplus::Event& event); 165 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> pgoodWaitTimer; 200 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
|
/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | shutdown_alarm_monitor.hpp | 73 ShutdownAlarmMonitor(sdbusplus::bus_t& bus, sdeventplus::Event& event, 177 sdeventplus::Event& event; 199 std::map<AlarmKey, std::unique_ptr<sdeventplus::utility::Timer< 200 sdeventplus::ClockId::Monotonic>>>
|
/openbmc/pldm/libpldmresponder/ |
H A D | base.hpp | 23 Handler(sdeventplus::Event& event) : event(event) in Handler() 77 void _processSetEventReceiver(sdeventplus::source::EventBase& source); 101 sdeventplus::Event& event; 107 std::unique_ptr<sdeventplus::source::Defer> survEvent;
|
/openbmc/phosphor-state-manager/ |
H A D | scheduled_host_transition.hpp | 34 size_t id, const sdeventplus::Event& event) : in ScheduledHostTransition() 70 const sdeventplus::Event& event; 73 sdeventplus::utility::Timer<sdeventplus::ClockId::RealTime> timer;
|
/openbmc/phosphor-power/power-supply/ |
H A D | power_supply.hpp | 55 sdbusplus::bus_t& bus, const sdeventplus::Event& e, 141 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> presentTimer; 170 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> powerOnTimer;
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | power_supply.hpp | 55 sdbusplus::bus_t& bus, const sdeventplus::Event& e, 141 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> presentTimer; 170 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> powerOnTimer;
|