Home
last modified time | relevance | path

Searched refs:weakRef (Results 1 – 14 of 14) sorted by relevance

/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp119 std::weak_ptr<ADCSensor> weakRef = weak_from_this(); in setupRead() local
131 [weakRef, buffer](const boost::system::error_code& ec) { in setupRead()
132 std::shared_ptr<ADCSensor> self = weakRef.lock(); in setupRead()
142 [weakRef, buffer](const boost::system::error_code& ec, in setupRead()
144 std::shared_ptr<ADCSensor> self = weakRef.lock(); in setupRead()
158 [weakRef, buffer](const boost::system::error_code& ec, in setupRead()
160 std::shared_ptr<ADCSensor> self = weakRef.lock(); in setupRead()
172 std::weak_ptr<ADCSensor> weakRef = weak_from_this(); in restartRead() local
174 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
175 std::shared_ptr<ADCSensor> self = weakRef.lock(); in restartRead()
[all …]
/openbmc/dbus-sensors/src/fan/
H A DPresenceGpio.cpp94 std::weak_ptr<EventPresenceGpio> weakRef = weak_from_this(); in monitorPresence() local
97 [weakRef](const boost::system::error_code& ec) { in monitorPresence()
98 std::shared_ptr<EventPresenceGpio> self = weakRef.lock(); in monitorPresence()
149 const std::weak_ptr<PollingPresenceGpio>& weakRef, in pollTimerHandler() argument
152 std::shared_ptr<PollingPresenceGpio> self = weakRef.lock(); in pollTimerHandler()
180 std::weak_ptr<PollingPresenceGpio> weakRef = weak_from_this(); in monitorPresence() local
182 pollTimer.async_wait([weakRef](const boost::system::error_code& ec) { in monitorPresence()
183 pollTimerHandler(weakRef, ec); in monitorPresence()
H A DTachSensor.cpp118 std::weak_ptr<TachSensor> weakRef = weak_from_this(); in setupRead() local
121 [weakRef](const boost::system::error_code& ec, std::size_t bytesRead) { in setupRead()
122 std::shared_ptr<TachSensor> self = weakRef.lock(); in setupRead()
132 std::weak_ptr<TachSensor> weakRef = weak_from_this(); in restartRead() local
134 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
139 std::shared_ptr<TachSensor> self = weakRef.lock(); in restartRead()
H A DPresenceGpio.hpp91 const std::weak_ptr<PollingPresenceGpio>& weakRef,
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSDRSensor.cpp49 std::weak_ptr<IpmbSDRDevice> weakRef = weak_from_this(); in getSDRRepositoryInfo() local
52 [weakRef](boost::system::error_code ec, in getSDRRepositoryInfo()
54 auto self = weakRef.lock(); in getSDRRepositoryInfo()
92 std::weak_ptr<IpmbSDRDevice> weakRef = weak_from_this(); in reserveSDRRepository() local
95 [weakRef, recordCount](boost::system::error_code ec, in reserveSDRRepository()
97 auto self = weakRef.lock(); in reserveSDRRepository()
133 std::weak_ptr<IpmbSDRDevice> weakRef = weak_from_this(); in getSDRSensorData() local
141 [weakRef, recordCount, resrvIDLSB, resrvIDMSB]( in getSDRSensorData()
143 auto self = weakRef.lock(); in getSDRSensorData()
H A DIpmbSensor.cpp132 static void initCmdCb(const std::weak_ptr<IpmbSensor>& weakRef, in initCmdCb() argument
136 std::shared_ptr<IpmbSensor> self = weakRef.lock(); in initCmdCb()
156 [weakRef{weak_from_this()}](const boost::system::error_code& ec, in runInitCmd()
158 initCmdCb(weakRef, ec, response); in runInitCmd()
479 [weakRef{weak_from_this()}](const boost::system::error_code& ec) { in read()
484 std::shared_ptr<IpmbSensor> self = weakRef.lock(); in read()
502 [weakRef{weak_from_this()}](boost::system::error_code ec, in sendIpmbRequest()
504 std::shared_ptr<IpmbSensor> self = weakRef.lock(); in sendIpmbRequest()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp144 std::weak_ptr<HwmonTempSensor> weakRef = weak_from_this(); in setupRead() local
147 [weakRef](const boost::system::error_code& ec, std::size_t bytesRead) { in setupRead()
148 std::shared_ptr<HwmonTempSensor> self = weakRef.lock(); in setupRead()
158 std::weak_ptr<HwmonTempSensor> weakRef = weak_from_this(); in restartRead() local
160 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
165 std::shared_ptr<HwmonTempSensor> self = weakRef.lock(); in restartRead()
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.cpp209 std::weak_ptr<CFMSensor> weakRef = weak_from_this(); in setupMatches() local
212 [weakRef](const double& value, sdbusplus::message_t& message) { in setupMatches()
213 auto self = weakRef.lock(); in setupMatches()
232 [weakRef](const boost::system::error_code ec, in setupMatches()
234 auto self = weakRef.lock(); in setupMatches()
263 [weakRef](sdbusplus::message_t& message) { in setupMatches()
264 auto self = weakRef.lock(); in setupMatches()
316 std::weak_ptr<CFMSensor> weakRef = weak_from_this(); in addTachRanges() local
318 [weakRef, path](const boost::system::error_code ec, in addTachRanges()
325 auto self = weakRef.lock(); in addTachRanges()
[all …]
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp128 std::weak_ptr<IntelCPUSensor> weakRef = weak_from_this(); in restartRead() local
130 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
136 std::shared_ptr<IntelCPUSensor> self = weakRef.lock(); in restartRead()
169 std::weak_ptr<IntelCPUSensor> weakRef = weak_from_this(); in setupRead() local
171 [weakRef](const boost::system::error_code& ec) { in setupRead()
173 weakRef.lock(); in setupRead()
/openbmc/phosphor-net-ipmid/sol/
H A Dsol_context.cpp64 std::weak_ptr<Context> weakRef = weak_from_this(); in enableAccumulateTimer() local
66 [weakRef](const boost::system::error_code& ec) { in enableAccumulateTimer()
67 std::shared_ptr<Context> self = weakRef.lock(); in enableAccumulateTimer()
87 std::weak_ptr<Context> weakRef = weak_from_this(); in enableRetryTimer() local
88 retryTimer.async_wait([weakRef](const boost::system::error_code& ec) { in enableRetryTimer()
89 std::shared_ptr<Context> self = weakRef.lock(); in enableRetryTimer()
/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp206 std::weak_ptr<PSUSubEvent> weakRef = weak_from_this(); in setupRead() local
209 [weakRef, buffer{buffer}](const boost::system::error_code& ec, in setupRead()
211 std::shared_ptr<PSUSubEvent> self = weakRef.lock(); in setupRead()
221 std::weak_ptr<PSUSubEvent> weakRef = weak_from_this(); in restartRead() local
223 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
228 std::shared_ptr<PSUSubEvent> self = weakRef.lock(); in restartRead()
H A DPSUSensor.cpp187 std::weak_ptr<PSUSensor> weakRef = weak_from_this(); in restartRead() local
189 waitTimer.async_wait([weakRef](const boost::system::error_code& ec) { in restartRead()
195 std::shared_ptr<PSUSensor> self = weakRef.lock(); in restartRead()
/openbmc/dbus-sensors/src/intrusion/
H A DChassisIntrusionSensor.cpp153 std::weak_ptr<ChassisIntrusionPchSensor> weakRef = weak_from_this(); in pollSensorStatus() local
158 mPollTimer.async_wait([weakRef](const boost::system::error_code& ec) { in pollSensorStatus()
166 std::shared_ptr<ChassisIntrusionPchSensor> self = weakRef.lock(); in pollSensorStatus()
269 std::weak_ptr<ChassisIntrusionHwmonSensor> weakRef = weak_from_this(); in pollSensorStatus() local
274 mPollTimer.async_wait([weakRef](const boost::system::error_code& ec) { in pollSensorStatus()
282 std::shared_ptr<ChassisIntrusionHwmonSensor> self = weakRef.lock(); in pollSensorStatus()
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp636 [weakRef{weak_from_this()}](const bool req, bool& val) { in createInterface()
637 auto self = weakRef.lock(); in createInterface()