Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/sdeventplus/src/
H A Dmeson.build9 'sdeventplus',
11 'sdeventplus/clock.cpp',
12 'sdeventplus/event.cpp',
13 'sdeventplus/exception.cpp',
18 'sdeventplus/source/io.cpp',
48 'sdeventplus/clock.hpp',
49 'sdeventplus/event.hpp',
50 'sdeventplus/exception.hpp',
51 'sdeventplus/types.hpp',
52 subdir: 'sdeventplus')
[all …]
/openbmc/openpower-occ-control/
H A Docc_manager.hpp79 sdpEvent(sdeventplus::Event::get_default()), in Manager()
82 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
106 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
110 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
116 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>( in Manager()
236 sdeventplus::Event sdpEvent;
251 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
329 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
342 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
352 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
H A Docc_status.hpp132 sdpEvent(sdeventplus::Event::get_default()), in Status()
134 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>( in Status()
137 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>( in Status()
317 sdeventplus::Event sdpEvent;
349 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>
360 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>
/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.hpp58 _event(sdeventplus::Event::get_default()), in Manager()
338 void closeFD(int fd, sdeventplus::source::EventBase& source);
382 void pruneRepo(sdeventplus::source::EventBase& source);
397 void pelFileDeleted(sdeventplus::source::IO& io, int fd, uint32_t revents);
486 void deleteObmcLog(sdeventplus::source::EventBase&, uint32_t obmcLogID);
536 sdeventplus::Event _event;
567 std::unique_ptr<sdeventplus::source::Defer> _fdCloserEventSource;
573 std::unique_ptr<sdeventplus::source::Defer> _repoPrunerEventSource;
579 std::unique_ptr<sdeventplus::source::Defer> _obmcLogDeleteEventSource;
584 std::unique_ptr<sdeventplus::source::IO> _pelFileDeleteEventSource;
H A Dpldm_interface.hpp97 void receive(sdeventplus::source::IO& io, int fd,
176 std::unique_ptr<sdeventplus::source::IO> _source;
182 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/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()
389 sdeventplus::Event event = sdeventplus::Event::get_default(); in main()
390 std::optional<sdeventplus::source::IO> reporterSource; in main()
399 auto intCb = [](sdeventplus::source::Signal& source, in main()
406 sdeventplus::source::Signal(event, SIGTERM, std::move(intCb)) in main()
[all …]
/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/sdeventplus/example/
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.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 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-fan-presence/monitor/
H A Dpower_off_action.hpp59 _event(sdeventplus::Event::get_default()), in PowerOffAction()
135 sdeventplus::Event _event;
233 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
325 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
472 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>
478 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _meltdownTimer;
H A Dtach_sensor.hpp114 const sdeventplus::Event& event);
529 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> _timer;
556 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
570 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>>
H A Dfan.hpp83 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 Dmanager.hpp37 using Timer = sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic>;
59 Manager(sdbusplus::bus_t& bus, const sdeventplus::Event& event);
123 void sighupHandler(sdeventplus::source::Signal& sigSrc,
211 const sdeventplus::Event& eventLoop;
/openbmc/pldm/host-bmc/
H A Dhost_pdr_handler.hpp92 int mctp_fd, uint8_t mctp_eid, sdeventplus::Event& event,
190 void _fetchPDR(sdeventplus::source::EventBase& source);
215 void _processPDRRepoChgEvent(sdeventplus::source::EventBase& source);
222 sdeventplus::source::EventBase& source);
273 sdeventplus::Event& event;
293 std::unique_ptr<sdeventplus::source::Defer> pdrFetchEvent;
294 std::unique_ptr<sdeventplus::source::Defer> deferredFetchPDREvent;
295 std::unique_ptr<sdeventplus::source::Defer> deferredPDRRepoChgEvent;
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Doem_ibm_handler.hpp48 sdeventplus::Event& event, in Handler()
215 void _processEndUpdate(sdeventplus::source::EventBase& source);
222 void _processStartUpdate(sdeventplus::source::EventBase& source);
229 void _processSystemReboot(sdeventplus::source::EventBase& source);
314 std::unique_ptr<sdeventplus::source::Defer> assembleImageEvent;
315 std::unique_ptr<sdeventplus::source::Defer> startUpdateEvent;
316 std::unique_ptr<sdeventplus::source::Defer> systemRebootEvent;
321 sdeventplus::Event& event;
344 sdeventplus::utility::Timer<sdeventplus::ClockId::Monotonic> timer;
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpower_control.hpp49 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 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/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>>...12