Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/openbmc/linux/include/linux/
H A Dwait.h313 if (condition) \
346 if (condition) \
361 if (condition) \
450 if (condition) \
475 if (condition) \
818 ((condition) \
845 ((condition) \
876 ((condition) \
907 ((condition) \
1036 if (condition) \
[all …]
H A Dswait.h168 if (condition) \
182 #define __swait_event(wq, condition) \ argument
188 if (condition) \
190 __swait_event(wq, condition); \
201 if (!___wait_cond_timeout(condition)) \
213 if (!(condition)) \
226 if (!___wait_cond_timeout(condition)) \
228 condition, timeout); \
249 if (condition) \
251 __swait_event_idle(wq, condition); \
[all …]
H A Dwait_bit.h255 if (condition) \
269 #define __wait_var_event(var, condition) \ argument
273 #define wait_var_event(var, condition) \ argument
276 if (condition) \
278 __wait_var_event(var, condition); \
281 #define __wait_var_event_killable(var, condition) \ argument
285 #define wait_var_event_killable(var, condition) \ argument
289 if (!(condition)) \
290 __ret = __wait_var_event_killable(var, condition); \
303 if (!___wait_cond_timeout(condition)) \
[all …]
H A Drcuwait.h52 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument
62 if (condition) \
76 #define rcuwait_wait_event(w, condition, state) \ argument
77 ___rcuwait_wait_event(w, condition, state, 0, schedule())
79 #define __rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
80 ___rcuwait_wait_event(w, ___wait_cond_timeout(condition), \
84 #define rcuwait_wait_event_timeout(w, condition, state, timeout) \ argument
87 if (!___wait_cond_timeout(condition)) \
88 __ret = __rcuwait_wait_event_timeout(w, condition, \
H A Dratelimit.h47 #define WARN_ON_RATELIMIT(condition, state) ({ \ argument
48 bool __rtn_cond = !!(condition); \
53 #define WARN_RATELIMIT(condition, format, ...) \ argument
58 int rtn = !!(condition); \
68 #define WARN_ON_RATELIMIT(condition, state) \ argument
69 WARN_ON(condition)
71 #define WARN_RATELIMIT(condition, format, ...) \ argument
73 int rtn = WARN(condition, format, ##__VA_ARGS__); \
/openbmc/linux/include/asm-generic/
H A Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
110 #define WARN_ON_ONCE(condition) ({ \ argument
111 int __ret_warn_on = !!(condition); \
122 #define WARN_ON(condition) ({ \ argument
147 #define WARN_ON_ONCE(condition) \ argument
163 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
167 #define WARN_ON(condition) ({ \ argument
181 #define WARN_ON_ONCE(condition) WARN_ON(condition) argument
182 #define WARN_ONCE(condition, format...) WARN(condition, format) argument
183 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) argument
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Devent.hpp45 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
127 condition run_condition{*this};
[all …]
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/
H A Dtest.yaml38 class: condition
39 condition: count
49 class: condition
50 condition: count
68 class: condition
69 condition: count
79 class: condition
80 condition: count
98 class: condition
99 condition: median
[all …]
/openbmc/u-boot/include/linux/
H A Dbug.h14 #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 Dbuild_bug.h13 #define BUILD_BUG_ON(condition) (0) argument
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/io/
H A Dchannel-watch.c29 GIOCondition condition; member
41 GIOCondition condition; member
53 GIOCondition condition; member
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()
262 ssource->condition = condition; in qio_channel_create_fd_watch()
269 ssource->fd.events = condition; in qio_channel_create_fd_watch()
295 ssource->condition = condition; in qio_channel_create_socket_watch()
[all …]
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Dif.md5 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/linux/tools/include/asm/
H A Dbug.h10 #define WARN(condition, format...) ({ \ argument
11 int __ret_warn_on = !!(condition); \
17 #define WARN_ON(condition) ({ \ argument
18 int __ret_warn_on = !!(condition); \
25 #define WARN_ON_ONCE(condition) ({ \ argument
27 int __ret_warn_once = !!(condition); \
36 #define WARN_ONCE(condition, format...) ({ \ argument
38 int __ret_warn_once = !!(condition); \
/openbmc/linux/net/ax25/
H A Dax25_std_in.c160 ax25->condition = 0x00; in ax25_std_state3_machine()
179 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine()
181 ax25->condition |= AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine()
193 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_std_state3_machine()
228 ax25->condition &= ~AX25_COND_REJECT; in ax25_std_state3_machine()
238 if (ax25->condition & AX25_COND_REJECT) { in ax25_std_state3_machine()
241 ax25->condition |= AX25_COND_REJECT; in ax25_std_state3_machine()
285 ax25->condition = 0x00; in ax25_std_state4_machine()
383 ax25->condition &= ~AX25_COND_REJECT; in ax25_std_state4_machine()
393 if (ax25->condition & AX25_COND_REJECT) { in ax25_std_state4_machine()
[all …]
H A Dax25_std_subr.c37 ax25->condition = 0x00; in ax25_std_establish_data_link()
54 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_transmit_enquiry()
59 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_transmit_enquiry()
67 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_enquiry_response()
72 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_enquiry_response()
77 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_timeout_response()
82 ax25->condition &= ~AX25_COND_ACK_PENDING; in ax25_std_timeout_response()
H A Dax25_ds_in.c163 ax25->condition = 0x00; in ax25_ds_state3_machine()
185 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_ds_state3_machine()
187 ax25->condition |= AX25_COND_PEER_RX_BUSY; in ax25_ds_state3_machine()
201 ax25->condition &= ~AX25_COND_PEER_RX_BUSY; in ax25_ds_state3_machine()
234 if (ax25->condition & AX25_COND_OWN_RX_BUSY) { in ax25_ds_state3_machine()
241 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_ds_state3_machine()
243 ax25->condition &= ~AX25_COND_REJECT; in ax25_ds_state3_machine()
248 ax25->condition |= AX25_COND_ACK_PENDING; in ax25_ds_state3_machine()
253 if (ax25->condition & AX25_COND_REJECT) { in ax25_ds_state3_machine()
256 ax25->condition |= AX25_COND_REJECT; in ax25_ds_state3_machine()
[all …]
/openbmc/openbmc/meta-fii/meta-mori/recipes-phosphor/dbus/led-policy-mori/
H A Dled-config.yaml49 - name: OS BootComplete condition
50 class: condition
51 condition: count
60 - name: OS Inactive condition
61 class: condition
62 condition: count
76 - OS Inactive condition
80 class: condition
81 condition: count
91 class: condition
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/
H A Dfan-errors.yaml239 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/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/
H A Dfan-errors.yaml240 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/phosphor-inventory-manager/
H A Dassociation_manager.cpp138 for (const auto& condition : _conditions) in conditionMatch() local
140 if (condition.path != objectPath) in conditionMatch()
147 return i.first == condition.interface; in conditionMatch()
156 [&condition](const auto& p) { in conditionMatch()
164 auto match = std::find(condition.values.begin(), condition.values.end(), in conditionMatch()
166 if (match != condition.values.end()) in conditionMatch()
168 foundPath = condition.file; in conditionMatch()
189 for (const auto& condition : _conditions) in conditionMatch() local
193 auto found = std::find(condition.values.begin(), condition.values.end(), in conditionMatch()
195 if (found != condition.values.end()) in conditionMatch()
[all …]
H A Dfunctor.hpp60 auto make_path_condition(T&& condition) in make_path_condition() argument
62 return PathCondition(std::forward<T>(condition)); in make_path_condition()
201 U&& condition) : in PropertyChangedCondition()
203 _condition(std::forward<U>(condition)) in PropertyChangedCondition()
338 U&& condition, const char* service, in PropertyCondition()
341 _condition(std::forward<decltype(condition)>(condition)), in PropertyCondition()
382 auto condition = [val = std::forward<T>(val)](T&& arg) { in propertyChangedTo() local
385 using U = decltype(condition); in propertyChangedTo()
387 std::move(condition)); in propertyChangedTo()
396 auto condition = [val = std::forward<T>(val)](T&& arg) { in propertyIs() local
[all …]
/openbmc/linux/net/rose/
H A Drose_in.c45 rose->condition = 0x00; in rose_state1_machine()
112 rose->condition = 0x00; in rose_state3_machine()
130 rose->condition = 0x00; in rose_state3_machine()
141 rose->condition |= ROSE_COND_PEER_RX_BUSY; in rose_state3_machine()
149 rose->condition &= ~ROSE_COND_PEER_RX_BUSY; in rose_state3_machine()
152 rose->condition = 0x00; in rose_state3_machine()
172 rose->condition = 0x00; in rose_state3_machine()
184 rose->condition |= ROSE_COND_OWN_RX_BUSY; in rose_state3_machine()
191 rose->condition &= ~ROSE_COND_ACK_PENDING; in rose_state3_machine()
195 rose->condition |= ROSE_COND_ACK_PENDING; in rose_state3_machine()
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Ddelay.h53 #define spin_event_timeout(condition, timeout, delay) \ argument
55 typeof(condition) __ret; \
60 while (!(__ret = (condition)) && \
65 while (!(__ret = (condition)) && \
71 __ret = (condition); \
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dtimed_ctrl.c27 hrt_data condition, in timed_ctrl_snd_commnd() argument
36 timed_ctrl_reg_store(ID, _HRT_TIMED_CONTROLLER_CMD_REG_IDX, condition); in timed_ctrl_snd_commnd()
48 hrt_data condition, in timed_ctrl_snd_sp_commnd() argument
57 timed_ctrl_snd_commnd(ID, mask, condition, counter, in timed_ctrl_snd_sp_commnd()
64 hrt_data condition, in timed_ctrl_snd_gpio_commnd() argument
73 timed_ctrl_snd_commnd(ID, mask, condition, counter, in timed_ctrl_snd_gpio_commnd()
/openbmc/sdbusplus/src/
H A Devent.cpp42 condition::condition(condition&& c) in condition() function in sdbusplus::event::condition
53 condition& condition::operator=(condition&& c) in operator =()
65 void condition::signal() in signal()
75 void condition::ack() in ack()
126 condition event::add_condition(sd_event_io_handler_t handler, void* data) in add_condition()

12345678910>>...30