/openbmc/phosphor-dbus-monitor/src/test/yaml/callbackgroupgentest/ |
H A D | test.yaml | 1 # Validate nested callback groups. 37 - name: test journal callback 1 38 class: callback 39 callback: journal 45 - name: test journal callback 2 46 class: callback 47 callback: journal 53 - name: test journal callback 3 54 class: callback 55 callback: journal [all …]
|
/openbmc/phosphor-dbus-monitor/src/example/ |
H A D | example.yaml | 54 any optional callback that may be triggered. 56 An optional callback can be triggered when property values change and 59 By default the callback is called when the monitor starts. An optional 60 `ignore_start_callback` can be set to true so that the callback will not 67 callback: example count condition 75 - name: example journal callback 79 Some callback types refer to a group of paths and group of properties in a 82 The journal callback logs the specified message to the systemd journal 85 Additionally, the journal callback will add to the journal key value pair 89 class: callback [all …]
|
H A D | test.yaml | 155 class: callback 156 callback: journal 163 class: callback 164 callback: journal 171 class: callback 172 callback: journal 179 class: callback 180 callback: journal 187 class: callback 188 callback: journal [all …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/ |
H A D | led-config.yaml | 38 callback: OS state callback group 46 callback: Chassis power state callback group 54 callback: turn on boot status led callback 65 callback: blink boot status led callback 71 - name: OS state callback group 72 class: callback 73 callback: group 77 - OS journal callback 84 callback: OS Inactive condition 95 callback: turn off boot status led callback [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/ |
H A D | fan-errors.yaml | 127 callback: check power 136 callback: check power fan0 presence 145 callback: check power fan0 functional 154 callback: check power fan1 presence 163 callback: check power fan1 functional 172 callback: check power fan2 presence 181 callback: check power fan2 functional 190 callback: check power fan3 presence 199 callback: check power fan3 functional 208 callback: resolve fan0 errors if present and functional [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/ |
H A D | fan-errors.yaml | 126 callback: check power 135 callback: check power fan0 presence 144 callback: check power fan0 functional 153 callback: check power fan1 presence 162 callback: check power fan1 functional 171 callback: check power fan2 presence 180 callback: check power fan2 functional 189 callback: check power fan3 presence 198 callback: check power fan3 functional 207 callback: resolve fan0 errors if present and functional [all …]
|
H A D | water-cooled.yaml | 91 callback: check cooling type 100 callback: check cooling type 109 callback: check cooling type 126 callback: check power 139 callback: check fans 149 class: callback 150 callback: group 170 callback: log and shutdown 189 callback: log and shutdown 199 class: callback [all …]
|
H A D | air-cooled.yaml | 91 callback: check cooling type 100 callback: check cooling type 109 callback: check cooling type 126 callback: check power 139 callback: check fans 149 class: callback 150 callback: group 170 callback: log and shutdown 189 callback: log and shutdown 199 class: callback [all …]
|
/openbmc/sdeventplus/src/sdeventplus/source/ |
H A D | event.cpp | 14 void EventBase::set_callback(Callback&& callback) in set_callback() argument 16 get_userdata().callback = std::move(callback); in set_callback() 24 Callback&& callback) : in EventBase() argument 28 std::make_unique<detail::EventBaseData>(*this, std::move(callback))); in EventBase() 36 EventBase::Callback& EventBase::get_callback() in get_callback() 38 return get_userdata().callback; in get_callback() 52 return sourceCallback<Callback, detail::EventBaseData, in eventCallback() 61 EventBase::Callback&& callback) : in EventBaseData() argument 63 callback(std::move(callback)) in EventBaseData() 68 Defer::Defer(const Event& event, Callback&& callback) : in Defer() argument [all …]
|
H A D | event.hpp | 31 using Callback = fu2::unique_function<void(EventBase& source)>; typedef in sdeventplus::source::EventBase 33 /** @brief Sets the callback 35 * @param[in] callback - The function executed on event dispatch 37 void set_callback(Callback&& callback); 55 * reconfigured upon each callback. 60 * @param[in] callback - The function executed on event dispatch 63 Callback&& callback); 72 /** @brief Returns a reference to the callback executed for this source 74 * @return A reference to the callback 76 Callback& get_callback(); [all …]
|
H A D | signal.hpp | 27 /** @brief Type of the user provided callback function */ 28 using Callback = fu2::unique_function<void( typedef in sdeventplus::source::Signal 33 * callback for each signal observed. You are required to block 38 * @param[in] callback - The function executed on event dispatch 41 Signal(const Event& event, int sig, Callback&& callback); 55 /** @brief Sets the callback 57 * @param[in] callback - The function executed on event dispatch 59 void set_callback(Callback&& callback); 75 /** @brief Returns a reference to the callback executed for this source 77 * @return A reference to the callback [all …]
|
H A D | io.hpp | 28 using Callback = fu2::unique_function<void(IO&, int fd, uint32_t revents)>; typedef in sdeventplus::source::IO 32 * callback for each IO epoll event observed. 38 * @param[in] callback - The function executed on event dispatch 40 IO(const Event& event, int fd, uint32_t events, Callback&& callback); 53 /** @brief Sets the callback 55 * @param[in] callback - The function executed on event dispatch 57 void set_callback(Callback&& callback); 74 * events trigger the callback action 82 * trigger the callback handler 90 * seen in the most recent callback [all …]
|
H A D | time.hpp | 35 /** @brief Type of the user provided callback function */ 36 using Callback = fu2::unique_function<void(Time& source, TimePoint time)>; typedef in sdeventplus::source::Time 40 * reconfigured upon each callback. 43 * @param[in] time - Absolute time when the callback should be executed 45 * @param[in] callback - The function executed on event dispatch 49 Callback&& callback); 63 /** @brief Sets the callback 65 * @param[in] callback - The function executed on event dispatch 67 void set_callback(Callback&& callback); 104 /** @brief Returns a reference to the callback executed for this source [all …]
|
H A D | child.hpp | 26 using Callback = typedef in sdeventplus::source::Child 31 * reconfigured upon each callback. 37 * @param[in] callback - The function executed on event dispatch 39 Child(const Event& event, pid_t pid, int options, Callback&& callback); 52 /** @brief Sets the callback 54 * @param[in] callback - The function executed on event dispatch 56 void set_callback(Callback&& callback); 72 /** @brief Returns a reference to the callback executed for this source 74 * @return A reference to the callback 76 Callback& get_callback(); [all …]
|
/openbmc/bmcweb/src/ |
H A D | dbus_utility.cpp | 75 const DBusPropertiesMap&)>&& callback) in getAllProperties() argument 79 std::move(callback)); in getAllProperties() 86 const DBusPropertiesMap&)>&& callback) in getAllProperties() argument 88 getAllProperties(service, objectPath, interface, std::move(callback)); in getAllProperties() 92 std::function<void(bool)>&& callback) in checkDbusPathExists() argument 95 [callback = std::move(callback)](const boost::system::error_code& ec, in checkDbusPathExists() 97 callback(!ec && !objectNames.empty()); in checkDbusPathExists() 108 const MapperGetSubTreeResponse&)>&& callback) in getSubTree() argument 111 [callback{std::move(callback)}]( in getSubTree() 113 const MapperGetSubTreeResponse& subtree) { callback(ec, subtree); }, in getSubTree() [all …]
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/dbus/chassis-intrusion-monitor/ |
H A D | config.yaml | 22 callback: intrusion enable 29 callback: intrusion disable 36 callback: enable log and event 47 callback: disable log and event 54 class: callback 55 callback: group 57 - journal callback enable value 61 class: callback 62 callback: group 64 - journal callback disable value [all …]
|
/openbmc/linux/arch/alpha/lib/ |
H A D | callback_srm.S | 19 ldq $0,hwrpb # gp is set up by CALLBACK macro. 29 extwl $25,0,$16 # SRM callback function code 59 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 65 #define CALLBACK(NAME, CODE, ARG_CNT) \ macro 78 CALLBACK(puts, CCB_PUTS, 4) 79 CALLBACK(open, CCB_OPEN, 3) 80 CALLBACK(close, CCB_CLOSE, 2) 81 CALLBACK(read, CCB_READ, 5) 82 CALLBACK(open_console, CCB_OPEN_CONSOLE, 1) 83 CALLBACK(close_console, CCB_CLOSE_CONSOLE, 1) [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/ |
H A D | test.yaml | 1 # Validate condition callback rendering. 42 callback: test journal callback 1 53 callback: test journal callback 1 59 - name: test journal callback 1 60 class: callback 61 callback: journal 72 callback: test journal callback 2 83 callback: test journal callback 2 89 - name: test journal callback 2 90 class: callback [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | ftrace-uses.rst | 26 The ability to add a callback to almost any function within the 27 kernel comes with risks. A callback can be called from any context 30 This requires extra care to what can be done inside a callback. A callback 40 To register a function callback, a ftrace_ops is required. This structure 41 is used to tell ftrace what function should be called as the callback 42 as well as what protections the callback will perform and not require 70 The registered callback will start being called some time after the 73 of services. The callback itself will have to handle any synchronization if it 76 The unregister_ftrace_function() will guarantee that the callback is 82 The callback function [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | callback.hpp | 19 /** @class Callback 20 * @brief Callback interface. 24 class Callback class 27 Callback() = default; 28 Callback(const Callback&) = delete; 29 Callback(Callback&&) = default; 30 Callback& operator=(const Callback&) = delete; 31 Callback& operator=(Callback&&) = default; 32 virtual ~Callback() = default; 34 /** @brief Run the callback. [all …]
|
/openbmc/u-boot/env/ |
H A D | callback.c | 15 * Look up a callback function pointer by name 26 /* look up the callback in the linker-list */ in find_env_callback() 41 * Look for a possible callback for a newly added variable 66 /* if an association was found, set the callback pointer */ in env_callback_init() 71 var_entry->callback = clbkp->callback + gd->reloc_off; in env_callback_init() 73 var_entry->callback = clbkp->callback; in env_callback_init() 80 * a callback association should remove its callback. 84 entry->callback = NULL; in clear_callback() 99 e.callback = NULL; in set_callback() 104 /* the assocaition delares no callback, so remove the pointer */ in set_callback() [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | video_detect.c | 150 .callback = video_detect_force_vendor, 158 .callback = video_detect_force_vendor, 166 .callback = video_detect_force_vendor, 174 .callback = video_detect_force_vendor, 183 .callback = video_detect_force_vendor, 191 .callback = video_detect_force_vendor, 199 .callback = video_detect_force_vendor, 208 .callback = video_detect_force_vendor, 216 .callback = video_detect_force_vendor, 225 .callback = video_detect_force_vendor, [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/power-supply-policy/ |
H A D | power-supply-policy.yaml | 68 callback: check power 77 callback: check power 86 callback: check power supplies 95 class: callback 96 callback: group 116 callback: notpresent power supply0 error 131 callback: notpresent power supply1 error 138 class: callback 139 callback: elog 149 class: callback [all …]
|
/openbmc/linux/block/ |
H A D | blk-stat.h | 12 * struct blk_stat_callback - Block statistics callback. 26 * @timer: Timer for the next callback invocation. 53 * @fn: Callback function. 71 /* record time/size info in request but not add a callback */ 76 * blk_stat_alloc_callback() - Allocate a block statistics callback. 77 * @timer_fn: Timer callback function. 78 * @bucket_fn: Bucket callback function. 82 * See &struct blk_stat_callback for details on the callback functions. 92 * blk_stat_add_callback() - Add a block statistics callback to be run on a 95 * @cb: The callback. [all …]
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/fan-fault-led/ |
H A D | board-0-fan-1.yaml | 27 callback: check if fan critical threshold assert 34 callback: check if fan critical threshold deassert 41 callback: set fan fail 52 callback: set fan ok 59 class: callback 60 callback: method 72 class: callback 73 callback: method 85 class: callback 86 callback: method [all …]
|