Home
last modified time | relevance | path

Searched refs:sdeventplus (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/openbmc/sdeventplus/src/
H A Dmeson.build9 '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 Docc_manager.hpp76 sdpEvent(sdeventplus::Event::get_default()), in Manager()
79 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
90 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
94 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
98 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
152 void collectDumpData(sdeventplus::source::Signal&,
230 sdeventplus::Event sdpEvent;
245 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
321 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
334 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dhost_notifier.hpp214 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 Dmanager.hpp57 _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 Dpldm_interface.hpp100 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;
H A Devent_logger.hpp60 _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;
/openbmc/openpower-proc-control/extensions/phal/
H A Dclock_logger.hpp28 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/phosphor-host-postd/
H A Dmain.cpp73 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()
397 sdeventplus::Event event = sdeventplus::Event::get_default(); in main()
398 std::optional<sdeventplus::source::IO> reporterSource; in main()
407 auto intCb = [](sdeventplus::source::Signal& source, in main()
[all …]
/openbmc/sdeventplus/example/
H A Dheartbeat.cpp12 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 Dfollow.cpp19 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 Dheartbeat_timer.cpp17 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 Ddelayed_echo.cpp19 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 Dnetwork_manager_main.cpp32 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-power/phosphor-regulators/src/
H A Dmanager.hpp37 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/phosphor-fan-presence/monitor/
H A Dpower_off_action.hpp58 _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 Dfan.hpp83 Fan(Mode mode, sdbusplus::bus_t& bus, const sdeventplus::Event& event,
299 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _monitorTimer;
342 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
H A Dtach_sensor.hpp113 const sdeventplus::Event& event);
524 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
551 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
565 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
/openbmc/phosphor-power/phosphor-power-supply/
H A Dchassis_manager.hpp50 ChassisManager(sdbusplus::bus_t& bus, const sdeventplus::Event& e);
72 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
90 const sdeventplus::Event& eventLoop;
/openbmc/pldm/host-bmc/
H A Dhost_pdr_handler.hpp15 #include <sdeventplus/event.hpp>
16 #include <sdeventplus/source/event.hpp>
93 int mctp_fd, uint8_t mctp_eid, sdeventplus::Event& event,
204 * @param[in] source - sdeventplus event source
206 void _fetchPDR(sdeventplus::source::EventBase& source);
228 * @param[in] source - sdeventplus event source
230 void _processPDRRepoChgEvent(sdeventplus::source::EventBase& source);
234 * @param[in] source - sdeventplus event source
237 sdeventplus::source::EventBase& source);
301 sdeventplus
[all...]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpower_control.hpp49 PowerControl(sdbusplus::bus_t& bus, const sdeventplus::Event& event);
151 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> pgoodWaitTimer;
186 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
/openbmc/phosphor-fan-presence/sensor-monitor/
H A Dshutdown_alarm_monitor.hpp73 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 Dbase.hpp23 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 Dscheduled_host_transition.hpp34 size_t id, const sdeventplus::Event& event) : in ScheduledHostTransition()
70 const sdeventplus::Event& event;
73 sdeventplus::utility::Timer<sdeventplus::ClockId::RealTime> timer;
/openbmc/phosphor-certificate-manager/
H A Dwatch.hpp28 Watch(sdeventplus::Event& event, std::string& certFile, Callback cb);
54 std::unique_ptr<sdeventplus::source::IO> ioPtr = nullptr;
57 sdeventplus::Event& event;
/openbmc/sdeventplus/src/sdeventplus/source/
H A Dsignal.cpp10 namespace sdeventplus namespace
22 Signal::Signal(const Signal& other, sdeventplus::internal::NoOwn) : in Signal()
23 Base(other, sdeventplus::internal::NoOwn()) in Signal()
68 Signal(base, sdeventplus::internal::NoOwn()), BaseData(base), in SignalData()

12345678910>>...13