/openbmc/phosphor-fan-presence/monitor/ |
H A D | conditions.hpp | 17 * @brief Create a condition function object 19 * @param[in] condition - The condition being created 21 * @return - The created condition function object 24 auto make_condition(T&& condition) in make_condition() argument 26 return Condition(std::forward<T>(condition)); in make_condition() 29 namespace condition namespace 33 * @brief A condition that checks all properties match the given values 35 * property values must match their given value for the condition to pass 39 * @return Condition lambda function 40 * A Condition function that checks all properties match [all …]
|
H A D | conditions.cpp | 17 namespace condition namespace 22 Condition propertiesMatch(std::vector<PropertyState>&& propStates) in propertiesMatch() 35 Condition getPropertiesMatch(const json& condParams) in getPropertiesMatch() 40 lg2::error("Missing fan monitor condition properties {NAME}", "NAME", in getPropertiesMatch() 42 throw std::runtime_error("Missing fan monitor condition properties"); in getPropertiesMatch() 52 "Missing properties. Match condition parameters 'object, interface, property'"); in getPropertiesMatch() 54 "Missing propertiesMatch condition parameters"); in getPropertiesMatch() 62 "Missing properties. Match condition property attributes 'name, value'"); in getPropertiesMatch() 64 "Missing propertiesMatch condition property attributes"); in getPropertiesMatch() 73 // Add property for propertiesMatch condition in getPropertiesMatch() [all …]
|
/openbmc/linux/include/linux/ |
D | swait.h |
|
D | rcuwait.h |
|
D | build_bug.h |
|
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/ |
H A D | test.yaml | 1 # Validate condition callback rendering. 37 - name: test count condition 1 38 class: condition 39 condition: count 48 - name: test count condition 2 49 class: condition 50 condition: count 67 - name: test count condition 3 68 class: condition 69 condition: count [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/ |
H A D | fan-errors.yaml | 240 class: condition 241 condition: count 253 class: condition 254 condition: count 266 class: condition 267 condition: count 279 class: condition 280 condition: count 292 class: condition 293 condition: count [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/ |
H A D | fan-errors.yaml | 239 class: condition 240 condition: count 252 class: condition 253 condition: count 265 class: condition 266 condition: count 278 class: condition 279 condition: count 291 class: condition 292 condition: count [all …]
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | if.md | 5 Performs actions based on whether a condition is true. 7 The "condition" property specifies an action to execute. The condition is true 8 if the action returns true. Otherwise the condition is false. 10 If the condition is true, the actions within the "then" property are executed. 12 If the condition is false, the actions within the "else" property are executed 19 | condition | yes | [action](action.md) | Action that tests whether condition is tru… 20 … yes | array of [actions](action.md) | One or more actions to perform if condition is true. | 21 … no | array of [actions](action.md) | One or more actions to perform if condition is false. | 25 If the condition was true, returns the value of the last action in the "then" 28 If the condition was false, returns the value of the last action in the "else" [all …]
|
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/ |
H A D | led-config.yaml | 49 - name: OS BootComplete condition 50 class: condition 51 condition: count 60 - name: OS Inactive condition 61 class: condition 62 condition: count 75 - OS BootComplete condition 76 - OS Inactive condition 79 - name: Chassis power on condition 80 class: condition [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/actions/ |
H A D | if_action.hpp | 32 * Performs actions based on whether a condition is true. 38 * - condition 42 * The condition is a single action. The action is executed to determine if the 43 * condition is true. 45 * If the condition is true, the actions in the "then" clause are executed. 47 * If the condition is false, the actions in the "else" clause are executed (if 64 * @param conditionAction action that tests whether condition is true 65 * @param thenActions actions to perform if condition is true 66 * @param elseActions actions to perform if condition is false (optional) 77 * Executes the condition action specified in the constructor. [all …]
|
/openbmc/qemu/io/ |
H A D | channel-watch.c | 29 GIOCondition condition; member 41 GIOCondition condition; member 53 GIOCondition condition; member 72 return ssource->fd.revents & ssource->condition; in qio_channel_fd_source_check() 85 ssource->fd.revents & ssource->condition, in qio_channel_fd_source_dispatch() 121 if (!ssource->condition) { in qio_channel_socket_source_check() 128 if (ssource->condition & G_IO_IN) { in qio_channel_socket_source_check() 131 if (ssource->condition & G_IO_OUT) { in qio_channel_socket_source_check() 134 if (ssource->condition & G_IO_PRI) { in qio_channel_socket_source_check() 203 return poll_condition & ssource->condition; in qio_channel_fd_pair_source_check() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | event.hpp | 45 class condition class 50 condition() = delete; 51 explicit condition(event& e) : condition_source(e) {} in condition() function in sdbusplus::event::condition 52 condition(const condition&) = delete; 53 condition(condition&&); 55 condition& operator=(const condition&) = delete; 56 condition& operator=(condition&&); 58 ~condition() in ~condition() 72 condition(source&& s, int&& f) : in condition() function in sdbusplus::event::condition 111 /** Add a eventfd-based sdbusplus::event::condition to the run-loop. */ [all …]
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | storage_device_message_registry.hpp | 45 "A battery charging condition was detected.", 46 "A charging condition for the battery located in '%1' was detected.", 57 "A battery failure condition was detected.", 58 "A failure condition for the battery located in '%1' was detected.", 69 "A battery missing condition was detected.", 93 "A storage controller degraded condition was detected.", 94 …"A degraded condition for the storage controller located in '%1' was detected due to reason '%2'.", 107 "A failure condition for the storage controller located in '%1' was detected.", 154 "A controller port degraded condition was detected.", 155 … "A degraded condition for the controller port located in '%1' was detected due to reason '%2'.", [all …]
|
H A D | environmental_message_registry.hpp | 186 "Check the condition of the resource listed in OriginOfCondition.", 200 "Check the condition of the resource listed in OriginOfCondition.", 214 "Check the condition of the resource listed in OriginOfCondition.", 228 "Check the condition of the resource listed in OriginOfCondition.", 242 "Check the condition of the resource listed in OriginOfCondition.", 256 "Check the condition of the resource listed in OriginOfCondition.", 270 "Check the condition of the resource listed in OriginOfCondition.", 284 "Check the condition of the resource listed in OriginOfCondition.", 298 "Check the condition of the resource listed in OriginOfCondition.", 312 "Check the condition of the resource listed in OriginOfCondition.", [all …]
|
H A D | power_message_registry.hpp | 114 "Check the condition of the resource listed in OriginOfCondition.", 128 "Check the condition of the resource listed in OriginOfCondition.", 142 "Check the condition of the resource listed in OriginOfCondition.", 156 "Check the condition of the resource listed in OriginOfCondition.", 170 "Check the condition of the resource listed in OriginOfCondition.", 184 "Check the condition of the resource listed in OriginOfCondition.", 198 "Check the condition of the resource listed in OriginOfCondition.", 212 "Check the condition of the resource listed in OriginOfCondition.", 226 "Check the condition of the resource listed in OriginOfCondition.", 240 "Check the condition of the resource listed in OriginOfCondition.", [all …]
|
/openbmc/u-boot/include/linux/ |
H A D | bug.h | 14 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument 16 #define WARN_ON(condition) ({ \ argument 17 int __ret_warn_on = !!(condition); \ 23 #define WARN(condition, format...) ({ \ argument 24 int __ret_warn_on = !!(condition); \ 30 #define WARN_ON_ONCE(condition) ({ \ argument 32 int __ret_warn_once = !!(condition); \ 41 #define WARN_ONCE(condition, format...) ({ \ argument 43 int __ret_warn_once = !!(condition); \
|
H A D | build_bug.h | 13 #define BUILD_BUG_ON(condition) (0) argument 24 * Force a compilation error if condition is true, but also produce a 40 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied 42 * @condition: the condition which the compiler should know is false. 49 * BUILD_BUG_ON - break compile if a condition is true. 50 * @condition: the condition which the compiler should know is false. 53 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to 67 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument 69 #define BUILD_BUG_ON(condition) \ argument 70 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
/openbmc/qemu/include/io/ |
H A D | channel-watch.h | 36 * @condition: the I/O condition 40 * I/O conditions in @condition. This is able 48 GIOCondition condition); 54 * @condition: the I/O condition 58 * I/O conditions in @condition. This is equivalent 66 GIOCondition condition); 73 * @condition: the I/O condition 77 * and @fdwrite for the I/O conditions in @condition. 88 GIOCondition condition);
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a510/ |
D | branch.json |
|
/openbmc/phosphor-dbus-monitor/src/example/ |
H A D | test.yaml | 327 class: condition 328 condition: count 339 class: condition 340 condition: count 352 class: condition 353 condition: count 364 class: condition 365 condition: count 376 class: condition 377 condition: count [all …]
|
/openbmc/phosphor-inventory-manager/ |
H A D | association_manager.cpp | 60 if (json.is_object() && json.contains("condition")) in loadConditions() 62 const auto& conditionJSON = json.at("condition"); in loadConditions() 69 "Invalid JSON in associations condition entry in {PATH}. Skipping file.", in loadConditions() 74 Condition c; in loadConditions() 119 "Invalid condition property value in {FILE}:", in loadConditions() 122 "Invalid condition property value"); in loadConditions() 138 for (const auto& condition : _conditions) in conditionMatch() local 140 if (condition.path != objectPath) in conditionMatch() 146 object.begin(), object.end(), [&condition](const auto& i) { in conditionMatch() 147 return i.first == condition.interface; in conditionMatch() [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/arm64/arm/cortex-a55/ |
D | branch.json |
|
/openbmc/linux/tools/include/linux/ |
D | build_bug.h |
|
/openbmc/linux/tools/include/asm/ |
D | bug.h |
|