Home
last modified time | relevance | path

Searched refs:sd_event_source (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/sdeventplus/src/sdeventplus/internal/
H A Dsdevent.hpp23 virtual int sd_event_add_io(sd_event* event, sd_event_source** source,
27 sd_event* event, sd_event_source** source, clockid_t clock,
30 virtual int sd_event_add_signal(sd_event* event, sd_event_source** source,
34 sd_event* event, sd_event_source** source, pid_t, int options,
36 virtual int sd_event_add_defer(sd_event* event, sd_event_source** source,
39 virtual int sd_event_add_post(sd_event* event, sd_event_source** source,
42 virtual int sd_event_add_exit(sd_event* event, sd_event_source** source,
60 virtual sd_event_source*
61 sd_event_source_ref(sd_event_source* source) const = 0;
62 virtual sd_event_source*
[all …]
H A Dsdevent.cpp31 sd_event* event, sd_event_source** source, int fd, uint32_t events, in sd_event_add_io()
38 sd_event* event, sd_event_source** source, clockid_t clock, uint64_t usec, in sd_event_add_time()
45 int SdEventImpl::sd_event_add_defer(sd_event* event, sd_event_source** source, in sd_event_add_defer()
52 int SdEventImpl::sd_event_add_post(sd_event* event, sd_event_source** source, in sd_event_add_post()
59 int SdEventImpl::sd_event_add_exit(sd_event* event, sd_event_source** source, in sd_event_add_exit()
117 sd_event_source* SdEventImpl::sd_event_source_ref(sd_event_source* source) const in sd_event_source_ref()
122 sd_event_source*
123 SdEventImpl::sd_event_source_unref(sd_event_source* source) const in sd_event_source_unref()
128 void* SdEventImpl::sd_event_source_get_userdata(sd_event_source* source) const in sd_event_source_get_userdata()
133 void* SdEventImpl::sd_event_source_set_userdata(sd_event_source* source, in sd_event_source_set_userdata()
[all …]
/openbmc/sdeventplus/src/sdeventplus/test/
H A Dsdevent.hpp27 int(sd_event*, sd_event_source**, int, uint32_t,
30 int(sd_event*, sd_event_source**, clockid_t, uint64_t,
33 int(sd_event*, sd_event_source**, int,
36 int(sd_event*, sd_event_source**, pid_t, int,
38 MOCK_CONST_METHOD4(sd_event_add_defer, int(sd_event*, sd_event_source**,
40 MOCK_CONST_METHOD4(sd_event_add_post, int(sd_event*, sd_event_source**,
42 MOCK_CONST_METHOD4(sd_event_add_exit, int(sd_event*, sd_event_source**,
58 MOCK_CONST_METHOD1(sd_event_source_ref, sd_event_source*(sd_event_source*));
60 sd_event_source*(sd_event_source*));
62 MOCK_CONST_METHOD1(sd_event_source_get_userdata, void*(sd_event_source*));
[all …]
/openbmc/sdeventplus/src/sdeventplus/source/
H A Dbase.hpp58 sd_event_source* get() const;
155 Base(const Event& event, sd_event_source* source, std::false_type);
200 static int sourceCallback(const char* name, sd_event_source*, in sourceCallback() argument
227 static sd_event_source* ref(sd_event_source* const& source,
229 static void drop(sd_event_source*&& source,
232 stdplus::Copyable<sd_event_source*, const internal::SdEvent*,
249 static int prepareCallback(sd_event_source* source, void* userdata);
H A Dbase.cpp14 sd_event_source* Base::get() const in get()
109 Base::Base(const Event& event, sd_event_source* source, std::false_type) : in Base()
137 sd_event_source* Base::ref(sd_event_source* const& source, in ref()
144 void Base::drop(sd_event_source*&& source, const internal::SdEvent*& sdevent, in drop()
158 int Base::prepareCallback(sd_event_source* source, void* userdata) in prepareCallback()
H A Dsignal.cpp48 sd_event_source* Signal::create_source(const Event& event, int sig) in create_source()
50 sd_event_source* source; in create_source()
57 int Signal::signalCallback(sd_event_source* source, in signalCallback()
H A Dchild.cpp50 sd_event_source* Child::create_source(const Event& event, pid_t pid, in create_source()
53 sd_event_source* source; in create_source()
61 int Child::childCallback(sd_event_source* source, const siginfo_t* si, in childCallback()
H A Devent.cpp41 sd_event_source* EventBase::create_source(const char* name, CreateFunc create, in create_source()
44 sd_event_source* source; in create_source()
50 int EventBase::eventCallback(sd_event_source* source, void* userdata) in eventCallback()
H A Dio.cpp77 sd_event_source* IO::create_source(const Event& event, int fd, uint32_t events) in create_source()
79 sd_event_source* source; in create_source()
86 int IO::ioCallback(sd_event_source* source, int fd, uint32_t revents, in ioCallback()
H A Dsignal.hpp89 static sd_event_source* create_source(const Event& event, int sig);
97 static int signalCallback(sd_event_source* source,
H A Dchild.hpp86 static sd_event_source* create_source(const Event& event, pid_t pid,
95 static int childCallback(sd_event_source* source, const siginfo_t* si,
H A Dio.hpp119 static sd_event_source* create_source(const Event& event, int fd,
128 static int ioCallback(sd_event_source* source, int fd, uint32_t revents,
H A Devent.hpp86 static sd_event_source* create_source(const char* name, CreateFunc create,
95 static int eventCallback(sd_event_source* source, void* userdata);
H A Dtime.cpp86 sd_event_source* Time<Id>::create_source(const Event& event, TimePoint time, in create_source()
89 sd_event_source* source; in create_source()
100 int Time<Id>::timeCallback(sd_event_source* source, uint64_t usec, in timeCallback()
H A Dtime.hpp118 static sd_event_source* create_source(const Event& event, TimePoint time,
127 static int timeCallback(sd_event_source* source, uint64_t usec,
/openbmc/phosphor-time-manager/
H A Dbmc_epoch.hpp96 static int onTimeChange(sd_event_source* es, int fd, uint32_t revents,
100 std::function<void(sd_event_source*)> sdEventSourceDeleter =
101 [](sd_event_source* p) { in __anon105726ce0102()
108 std::unique_ptr<sd_event_source, decltype(sdEventSourceDeleter)>;
H A Dbmc_epoch.cpp68 sd_event_source* es = nullptr; in initialize()
104 int BmcEpoch::onTimeChange(sd_event_source* /* es */, int fd, in onTimeChange() argument
/openbmc/phosphor-state-manager/
H A Dscheduled_host_transition.hpp104 static int onTimeChange(sd_event_source* es, int fd, uint32_t revents,
108 std::function<void(sd_event_source*)> sdEventSourceDeleter =
109 [](sd_event_source* p) { in __anon26d1c7f80202()
117 std::unique_ptr<sd_event_source, decltype(sdEventSourceDeleter)>;
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dwatch.hpp20 void operator()(sd_event_source* eventSource) const in operator ()()
25 using EventSourcePtr = std::unique_ptr<sd_event_source, EventSourceDeleter>;
103 static int callback(sd_event_source* s, int fd, uint32_t revents,
/openbmc/sdbusplus/include/sdbusplus/
H A Devent.hpp31 source(event& e, sd_event_source*& s) : ev(&e) in source()
37 sd_event_source* sourcep = nullptr;
122 static int run_wakeup(sd_event_source*, int, uint32_t, void*);
/openbmc/openpower-occ-control/
H A Docc_events.hpp24 void operator()(sd_event_source* eventSource) const in operator ()()
29 using EventSourcePtr = std::unique_ptr<sd_event_source, EventSourceDeleter>;
/openbmc/sdeventplus/test/source/
H A Dbase.cpp41 BaseImpl(const Event& event, sd_event_source* source, std::false_type);
58 BaseImpl::BaseImpl(const Event& event, sd_event_source* source, in BaseImpl()
68 sd_event_source* const expected_source =
69 reinterpret_cast<sd_event_source*>(1234);
70 sd_event_source* const expected_source2 =
71 reinterpret_cast<sd_event_source*>(3456);
90 make_base(const Event& event, sd_event_source* source) in make_base()
133 void expect_base_destruct(const Event& event, sd_event_source* source) in expect_base_destruct()
/openbmc/phosphor-gpio-monitor/
H A Devdev.hpp31 void operator()(sd_event_source* eventSource) const in operator ()()
36 using EventSourcePtr = std::unique_ptr<sd_event_source, EventSourceDeleter>;
/openbmc/sdbusplus/test/event/
H A Devent.cpp44 static int _(sd_event_source*, int, uint32_t, void* data) in TEST_F()
66 static int _(sd_event_source*, uint64_t, void* data) in TEST_F()
/openbmc/phosphor-buttons/inc/
H A Dbutton_interface.hpp50 virtual void handleEvent(sd_event_source* es, int fd, uint32_t revents) = 0;
51 static int EventHandler(sd_event_source* es, int fd, uint32_t revents, in EventHandler()

123