Searched refs:ListenerAction (Results 1 – 4 of 4) sorted by relevance
130 ListenerAction UeventListener::RegenerateUeventsForDir(DIR* d, in RegenerateUeventsForDir()141 if (callback(uevent) == ListenerAction::kStop) return ListenerAction::kStop; in RegenerateUeventsForDir()156 if (RegenerateUeventsForDir(d2.get(), callback) == ListenerAction::kStop) { in RegenerateUeventsForDir()157 return ListenerAction::kStop; in RegenerateUeventsForDir()163 return ListenerAction::kContinue; in RegenerateUeventsForDir()166 ListenerAction UeventListener::RegenerateUeventsForPath(const std::string& path, in RegenerateUeventsForPath()169 if (!d) return ListenerAction::kContinue; in RegenerateUeventsForPath()178 if (RegenerateUeventsForPath(path, callback) == ListenerAction::kStop) return; in RegenerateUevents()216 if (callback(uevent) == ListenerAction::kStop) return; in Poll()
35 enum class ListenerAction { enum40 using ListenerCallback = std::function<ListenerAction(const Uevent&)>;47 ListenerAction RegenerateUeventsForPath(const std::string& path,54 ListenerAction RegenerateUeventsForDir(DIR* d, const ListenerCallback& callback) const;
78 ListenerAction HandleBlockDevice(const std::string& name, const Uevent&);94 ListenerAction UeventCallback(const Uevent& uevent);319 return ListenerAction::kStop; in InitDeviceMapper()321 return ListenerAction::kContinue; in InitDeviceMapper()382 ListenerAction FirstStageMount::HandleBlockDevice(const std::string& name, const Uevent& uevent) { in HandleBlockDevice()396 return ListenerAction::kStop; in HandleBlockDevice()398 return ListenerAction::kContinue; in HandleBlockDevice()401 return ListenerAction::kContinue; in HandleBlockDevice()404 ListenerAction FirstStageMount::UeventCallback(const Uevent& uevent) { in UeventCallback()407 return ListenerAction::kContinue; in UeventCallback()[all …]
149 return ListenerAction::kContinue; in RegenerateUevents()277 return ListenerAction::kContinue; in ueventd_main()