Home
last modified time | relevance | path

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

12345678910>>...14

/linux/include/linux/
A Dwait.h310 if (condition) \
343 if (condition) \
358 if (condition) \
447 if (condition) \
472 if (condition) \
814 ((condition) \
841 ((condition) \
872 ((condition) \
903 ((condition) \
1004 if (condition) \
[all …]
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 …]
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 …]
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__); \
A Dcompiler_types.h306 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
315 if (!(condition)) \
319 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
322 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
323 __compiletime_assert(condition, msg, prefix, suffix)
334 #define compiletime_assert(condition, msg) \ argument
335 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
/linux/include/asm-generic/
A Dbug.h65 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
103 #define WARN_ON_ONCE(condition) ({ \ argument
104 int __ret_warn_on = !!(condition); \
120 #define WARN_ON(condition) ({ \ argument
145 #define WARN_ON_ONCE(condition) \ argument
161 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
165 #define WARN_ON(condition) ({ \ argument
179 #define WARN_ON_ONCE(condition) WARN_ON(condition) argument
180 #define WARN_ONCE(condition, format...) WARN(condition, format) argument
181 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) argument
[all …]
/linux/net/ax25/
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 …]
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 …]
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()
A Dax25_ds_subr.c65 if (!(ax25->condition & AX25_COND_PEER_RX_BUSY)) { in ax25_ds_enquiry_response()
91 if (!(ax25o->condition & AX25_COND_PEER_RX_BUSY) && ax25o->state == AX25_STATE_3) { in ax25_ds_enquiry_response()
109 ax25->condition &= AX25_COND_DAMA_MODE; in ax25_ds_establish_data_link()
161 …if (ax25->ax25_dev == ax25_dev && (ax25->condition & AX25_COND_DAMA_MODE) && ax25->state > AX25_ST… in ax25_check_dama_slave()
197 ax25->condition |= AX25_COND_DAMA_MODE; in ax25_dama_on()
202 ax25->condition &= ~AX25_COND_DAMA_MODE; in ax25_dama_off()
/linux/tools/include/asm/
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); \
/linux/net/rose/
A Drose_in.c44 rose->condition = 0x00; in rose_state1_machine()
111 rose->condition = 0x00; in rose_state3_machine()
129 rose->condition = 0x00; in rose_state3_machine()
140 rose->condition |= ROSE_COND_PEER_RX_BUSY; in rose_state3_machine()
148 rose->condition &= ~ROSE_COND_PEER_RX_BUSY; in rose_state3_machine()
151 rose->condition = 0x00; in rose_state3_machine()
171 rose->condition = 0x00; in rose_state3_machine()
183 rose->condition |= ROSE_COND_OWN_RX_BUSY; in rose_state3_machine()
190 rose->condition &= ~ROSE_COND_ACK_PENDING; in rose_state3_machine()
194 rose->condition |= ROSE_COND_ACK_PENDING; in rose_state3_machine()
[all …]
/linux/drivers/input/joystick/iforce/
A Diforce-ff.c195 ret |= old->u.condition[i].right_saturation != new->u.condition[i].right_saturation in need_condition_modifier()
196 || old->u.condition[i].left_saturation != new->u.condition[i].left_saturation in need_condition_modifier()
197 || old->u.condition[i].right_coeff != new->u.condition[i].right_coeff in need_condition_modifier()
198 || old->u.condition[i].left_coeff != new->u.condition[i].left_coeff in need_condition_modifier()
199 || old->u.condition[i].deadband != new->u.condition[i].deadband in need_condition_modifier()
200 || old->u.condition[i].center != new->u.condition[i].center; in need_condition_modifier()
487 effect->u.condition[0].left_coeff, in iforce_upload_condition()
488 effect->u.condition[0].deadband, in iforce_upload_condition()
489 effect->u.condition[0].center); in iforce_upload_condition()
500 effect->u.condition[1].deadband, in iforce_upload_condition()
[all …]
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
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()
/linux/net/netrom/
A Dnr_in.c177 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
180 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
190 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
207 nrom->condition |= NR_COND_PEER_RX_BUSY; in nr_state3_machine()
210 nrom->condition &= ~NR_COND_PEER_RX_BUSY; in nr_state3_machine()
218 if (nrom->condition & NR_COND_PEER_RX_BUSY) { in nr_state3_machine()
227 if (nrom->condition & NR_COND_OWN_RX_BUSY) in nr_state3_machine()
238 nrom->condition |= NR_COND_OWN_RX_BUSY; in nr_state3_machine()
257 if (!(nrom->condition & NR_COND_ACK_PENDING)) { in nr_state3_machine()
258 nrom->condition |= NR_COND_ACK_PENDING; in nr_state3_machine()
A Dnr_out.c89 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_iframe()
111 if (nr->condition & NR_COND_OWN_RX_BUSY) in nr_send_nak_frame()
116 nr->condition &= ~NR_COND_ACK_PENDING; in nr_send_nak_frame()
131 if (nr->condition & NR_COND_PEER_RX_BUSY) in nr_kick()
179 nr->condition &= ~NR_COND_ACK_PENDING; in nr_kick()
224 nr->condition = 0x00; in nr_establish_data_link()
243 if (nr->condition & NR_COND_OWN_RX_BUSY) { in nr_enquiry_response()
253 nr->condition &= ~NR_COND_ACK_PENDING; in nr_enquiry_response()
/linux/arch/powerpc/include/asm/
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); \
/linux/tools/include/linux/
A Dcompiler.h12 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
15 if (!(condition)) \
19 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
22 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
23 __compiletime_assert(condition, msg, prefix, suffix)
34 #define compiletime_assert(condition, msg) \ argument
35 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
/linux/include/kunit/
A Dtest.h815 condition, \ argument
824 #condition, \
832 condition, \
843 condition, \
1321 #define KUNIT_EXPECT_TRUE(test, condition) \ argument
1327 condition, \
1340 #define KUNIT_EXPECT_FALSE(test, condition) \ argument
1346 condition, \
1610 #define KUNIT_ASSERT_TRUE(test, condition) \ argument
1616 condition, \
[all …]
/linux/net/x25/
A Dx25_in.c97 x25->condition = 0x00; in x25_state1_machine()
221 x25->condition = 0x00; in x25_state3_machine()
243 x25->condition = 0x00; in x25_state3_machine()
252 x25->condition |= X25_COND_PEER_RX_BUSY; in x25_state3_machine()
260 x25->condition &= ~X25_COND_PEER_RX_BUSY; in x25_state3_machine()
265 x25->condition = 0x00; in x25_state3_machine()
283 x25->condition = 0x00; in x25_state3_machine()
293 x25->condition |= X25_COND_OWN_RX_BUSY; in x25_state3_machine()
300 x25->condition &= ~X25_COND_ACK_PENDING; in x25_state3_machine()
304 x25->condition |= X25_COND_ACK_PENDING; in x25_state3_machine()
[all …]
/linux/net/lapb/
A Dlapb_in.c59 lapb->condition = 0x00; in lapb_state0_machine()
79 lapb->condition = 0x00; in lapb_state0_machine()
157 lapb->condition = 0x00; in lapb_state1_machine()
268 lapb->condition = 0x00; in lapb_state3_machine()
286 lapb->condition = 0x00; in lapb_state3_machine()
324 lapb->condition |= LAPB_PEER_RX_BUSY_CONDITION; in lapb_state3_machine()
416 lapb->condition &= ~LAPB_REJECT_CONDITION; in lapb_state3_machine()
420 if (!(lapb->condition & in lapb_state3_machine()
433 lapb->condition |= LAPB_REJECT_CONDITION; in lapb_state3_machine()
492 lapb->condition = 0x00; in lapb_state4_machine()
[all …]
/linux/drivers/staging/r8188eu/hal/
A DHalHWImg8188E_MAC.c7 static bool Checkcondition(const u32 condition, const u32 hex) in Checkcondition() argument
12 u32 cond = condition; in Checkcondition()
14 if (condition == 0xCDCDCDCD) in Checkcondition()
17 cond = condition & 0x000000FF; in Checkcondition()
21 cond = condition & 0x0000FF00; in Checkcondition()
26 cond = condition & 0x00FF0000; in Checkcondition()
/linux/arch/mips/include/asm/
A Dbug.h22 static inline void __BUG_ON(unsigned long condition) in __BUG_ON() argument
24 if (__builtin_constant_p(condition)) { in __BUG_ON()
25 if (condition) in __BUG_ON()
31 : : "r" (condition), "i" (BRK_BUG)); in __BUG_ON()
/linux/tools/testing/selftests/bpf/
A Dtest_progs.h136 #define _CHECK(condition, tag, duration, format...) ({ \ argument
137 int __ret = !!(condition); \
151 #define CHECK_FAIL(condition) ({ \ argument
152 int __ret = !!(condition); \
162 #define CHECK(condition, tag, format...) \ argument
163 _CHECK(condition, tag, duration, format)
164 #define CHECK_ATTR(condition, tag, format...) \ argument
165 _CHECK(condition, tag, tattr.duration, format)
/linux/scripts/coccinelle/misc/
A Dbugon.cocci2 /// Use BUG_ON instead of a if condition followed by BUG.
5 //# condition on an expression and replaces the if condition and BUG()
61 msg="WARNING: Use BUG_ON instead of if condition followed by BUG.\nPlease make sure the condition h…

Completed in 44 milliseconds

12345678910>>...14