Home
last modified time | relevance | path

Searched refs:sourcePtr (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-gpio-monitor/
H A Devdev.cpp58 decltype(eventSource.get()) sourcePtr = nullptr; in registerCallback() local
59 auto rc = sd_event_add_io(event.get(), &sourcePtr, (fd)(), EPOLLIN, in registerCallback()
61 eventSource.reset(sourcePtr); in registerCallback()
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dwatch.cpp47 decltype(eventSource.get()) sourcePtr = nullptr; in Watch() local
48 auto rc = sd_event_add_io(loop, &sourcePtr, fd(), EPOLLIN, callback, this); in Watch()
50 eventSource.reset(sourcePtr); in Watch()
/openbmc/openpower-occ-control/
H A Docc_errors.cpp46 decltype(eventSource.get()) sourcePtr = nullptr; in registerCallBack() local
47 auto r = sd_event_add_io(event.get(), &sourcePtr, fd, EPOLLPRI | EPOLLERR, in registerCallBack()
49 eventSource.reset(sourcePtr); in registerCallBack()
H A Dpldm.cpp761 decltype(eventSource.get()) sourcePtr = nullptr; in registerPldmRspCallback() local
765 rc = sd_event_add_io(event.get(), &sourcePtr, pldmFd, EPOLLIN, in registerPldmRspCallback()
770 rc = sd_event_add_io(event.get(), &sourcePtr, pldmFd, EPOLLIN, in registerPldmRspCallback()
782 eventSource.reset(sourcePtr); in registerPldmRspCallback()
H A Dpowermode.cpp1142 decltype(eventSource.get()) sourcePtr = nullptr; in registerIpsStatusCallBack() local
1144 auto r = sd_event_add_io(event.get(), &sourcePtr, fd, EPOLLPRI | EPOLLERR, in registerIpsStatusCallBack()
1162 eventSource.reset(sourcePtr); in registerIpsStatusCallBack()