Home
last modified time | relevance | path

Searched full:condition (Results 1 – 25 of 3402) sorted by relevance

12345678910>>...137

/OK3568_Linux_fs/kernel/include/linux/
H A Dwait.h265 #define ___wait_cond_timeout(condition) \ argument
267 bool __cond = (condition); \
284 * to wrap the condition.
291 #define ___wait_event(wq_head, condition, state, exclusive, ret, cmd) \ argument
301 if (condition) \
315 #define __wait_event(wq_head, condition) \ argument
316 (void)___wait_event(wq_head, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
320 * wait_event - sleep until a condition gets true
322 * @condition: a C expression for the event to wait for
325 * @condition evaluates to true. The @condition is checked each time
[all …]
H A Dswait.h158 #define ___swait_event(wq, condition, state, ret, cmd) \ argument
168 if (condition) \
182 #define __swait_event(wq, condition) \ argument
183 (void)___swait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, \
186 #define swait_event_exclusive(wq, condition) \ argument
188 if (condition) \
190 __swait_event(wq, condition); \
193 #define __swait_event_timeout(wq, condition, timeout) \ argument
194 ___swait_event(wq, ___wait_cond_timeout(condition), \
198 #define swait_event_timeout_exclusive(wq, condition, timeout) \ argument
[all …]
H A Dbuild_bug.h11 * Force a compilation error if condition is true, but also produce a
33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
35 * @condition: the condition which the compiler should know is false.
42 * BUILD_BUG_ON - break compile if a condition is true.
43 * @condition: the condition which the compiler should know is false.
46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to
49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
73 * Also note that BUILD_BUG_ON() fails the build if the condition is
H A Dwait_bit.h242 #define ___wait_var_event(var, condition, state, exclusive, ret, cmd) \ argument
255 if (condition) \
269 #define __wait_var_event(var, condition) \ argument
270 ___wait_var_event(var, condition, TASK_UNINTERRUPTIBLE, 0, 0, \
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
282 ___wait_var_event(var, condition, TASK_KILLABLE, 0, 0, \
285 #define wait_var_event_killable(var, condition) \ argument
[all …]
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__); \
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dbug.h63 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0) argument
101 #define WARN_ON_ONCE(condition) ({ \ argument
102 int __ret_warn_on = !!(condition); \
118 #define WARN_ON(condition) ({ \ argument
119 int __ret_warn_on = !!(condition); \
127 #define WARN(condition, format...) ({ \ argument
128 int __ret_warn_on = !!(condition); \
135 #define WARN_TAINT(condition, taint, format...) ({ \ argument
136 int __ret_warn_on = !!(condition); \
143 #define WARN_ON_ONCE(condition) ({ \ argument
[all …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dbuild_bug.h13 #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)
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); \
/OK3568_Linux_fs/external/mpp/osal/inc/
H A Dmpp_thread.h71 class Condition; variable
105 friend class Condition;
144 class Condition
147 Condition();
148 Condition(int type);
149 ~Condition();
161 inline Condition::Condition() in Condition() function
165 inline Condition::~Condition() in ~Condition()
169 inline RK_S32 Condition::wait(Mutex& mutex) in wait()
173 inline RK_S32 Condition::wait(Mutex* mutex) in wait()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DConditions.html76 specified place. You can also specify a <em>condition</em> for a
77 breakpoint. A condition is just a Boolean expression in your
79 a condition evaluates the expression each time your program reaches it,
80 and your program stops only if the condition is <em>true</em>.
84 when the condition is false. In C, if you want to test an assertion expressed
85 by the condition <var>assert</var>, you should set the condition
91 and specify a condition that tests whether the new value is an interesting
100 program without checking the condition of this one.) Note that
114 when its condition evaluates to true. This mechanism may provide faster
121 with the <code>condition</code> command.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DConditions.html76 specified place. You can also specify a <em>condition</em> for a
77 breakpoint. A condition is just a Boolean expression in your
79 a condition evaluates the expression each time your program reaches it,
80 and your program stops only if the condition is <em>true</em>.
84 when the condition is false. In C, if you want to test an assertion expressed
85 by the condition <var>assert</var>, you should set the condition
91 and specify a condition that tests whether the new value is an interesting
100 program without checking the condition of this one.) Note that
114 when its condition evaluates to true. This mechanism may provide faster
121 with the <code>condition</code> command.
[all …]
/OK3568_Linux_fs/kernel/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()
214 if (ax25->condition & AX25_COND_PEER_RX_BUSY) { in ax25_std_state3_machine()
219 if (ax25->condition & AX25_COND_OWN_RX_BUSY) { in ax25_std_state3_machine()
226 if (ax25->condition & AX25_COND_OWN_RX_BUSY) in ax25_std_state3_machine()
228 ax25->condition &= ~AX25_COND_REJECT; in ax25_std_state3_machine()
232 if (!(ax25->condition & AX25_COND_ACK_PENDING)) { in ax25_std_state3_machine()
233 ax25->condition |= AX25_COND_ACK_PENDING; in ax25_std_state3_machine()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_kernel_common.h61 * Basic error macro. This checks whether the given condition is true, and if not returns
70 #define MALI_CHECK(condition, error_code) do { if(!(condition)) MALI_ERROR(error_code); } while(0) argument
94 * Error macro with goto. This checks whether the given condition is true, and if not jumps
99 * Like the other macros, this is a macro to allow us to override the condition if we wish,
102 #define MALI_CHECK_GOTO(condition, label) do { if(!(condition)) goto label; } while(0) argument
141 #define MALI_DEBUG_PRINT_IF(level,condition,args) \ argument
142 if((condition)&&((level) <= mali_debug_level))\
154 #define MALI_DEBUG_PRINT_ASSERT(condition, args) do {if( !(condition)) { MALI_PRINT_ERROR(args); _… argument
156 #define MALI_DEBUG_ASSERT(condition) do {if( !(condition)) {MALI_PRINT_ERROR(("ASSERT failed: " #c… argument
163 #define MALI_DEBUG_PRINT_IF(level,condition,args) do {} while(0) argument
[all …]
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Dbuild_bug.h11 * Force a compilation error if condition is true, but also produce a
33 * BUILD_BUG_ON_MSG - break compile if a condition is true & emit supplied
35 * @condition: the condition which the compiler should know is false.
42 * BUILD_BUG_ON - break compile if a condition is true.
43 * @condition: the condition which the compiler should know is false.
46 * some other compile-time-evaluated condition, you should use BUILD_BUG_ON to
49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
73 * Also note that BUILD_BUG_ON() fails the build if the condition is
H A Dcompiler.h14 # define __compiletime_assert(condition, msg, prefix, suffix) \ argument
17 if (!(condition)) \
21 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0) argument
24 #define _compiletime_assert(condition, msg, prefix, suffix) \ argument
25 __compiletime_assert(condition, msg, prefix, suffix)
28 * compiletime_assert - break build and emit msg if condition is false
29 * @condition: a compile-time constant condition to check
30 * @msg: a message to emit if condition is false
33 * supplied condition is *false*, emitting the supplied error message if the
36 #define compiletime_assert(condition, msg) \ argument
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Ddelay.h34 * spin_event_timeout - spin until a condition gets true or a timeout elapses
35 * @condition: a C expression to evalate
38 * @condition
40 * The process spins until the condition evaluates to true (non-zero) or the
42 * @condition when the loop terminates. This allows you to determine the cause
53 #define spin_event_timeout(condition, timeout, delay) \ argument
55 typeof(condition) __ret; \
60 while (!(__ret = (condition)) && \
65 while (!(__ret = (condition)) && \
71 __ret = (condition); \
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dspeculation_barrier.h80 /* The value we have loaded, or failval if the condition check \
89 /* The value to return if the condition check fails. */ \
91 /* We always clobber the condition codes. */ \
104 /* The value we have loaded, or failval if the condition check \
114 /* The value to return if the condition check fails. */ \
116 /* We always clobber the condition codes. */ \
199 /* The value we have loaded, or failval if the condition check \
208 /* The value to return if the condition check fails. */ \
210 /* We always clobber the condition codes. */ \
227 /* The value we have loaded, or failval if the condition check \
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dspeculation_barrier.h80 /* The value we have loaded, or failval if the condition check \
89 /* The value to return if the condition check fails. */ \
91 /* We always clobber the condition codes. */ \
104 /* The value we have loaded, or failval if the condition check \
114 /* The value to return if the condition check fails. */ \
116 /* We always clobber the condition codes. */ \
199 /* The value we have loaded, or failval if the condition check \
208 /* The value to return if the condition check fails. */ \
210 /* We always clobber the condition codes. */ \
227 /* The value we have loaded, or failval if the condition check \
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/opencl/
H A Docl_defs.hpp29 #define CV_OCL_RUN_(condition, func, ...) \ argument
31 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
45 #define CV_OCL_RUN_(condition, func, ...) \ argument
47 if (cv::ocl::isOpenCLActivated() && (condition)) \
61 #define CV_OCL_RUN_(condition, func, ...) \ argument
62 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
70 #define CV_OCL_RUN_(condition, func, ...) argument
73 #define CV_OCL_RUN(condition, func) CV_OCL_RUN_(condition, func) argument
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/opencl/
H A Docl_defs.hpp29 #define CV_OCL_RUN_(condition, func, ...) \ argument
31 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
45 #define CV_OCL_RUN_(condition, func, ...) \ argument
47 if (cv::ocl::isOpenCLActivated() && (condition)) \
61 #define CV_OCL_RUN_(condition, func, ...) \ argument
62 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
70 #define CV_OCL_RUN_(condition, func, ...) argument
73 #define CV_OCL_RUN(condition, func) CV_OCL_RUN_(condition, func) argument
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/opencl/
H A Docl_defs.hpp29 #define CV_OCL_RUN_(condition, func, ...) \ argument
31 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
45 #define CV_OCL_RUN_(condition, func, ...) \ argument
47 if (cv::ocl::isOpenCLActivated() && (condition)) \
61 #define CV_OCL_RUN_(condition, func, ...) \ argument
62 if (cv::ocl::isOpenCLActivated() && (condition) && func) \
70 #define CV_OCL_RUN_(condition, func, ...) argument
73 #define CV_OCL_RUN(condition, func) CV_OCL_RUN_(condition, func) argument
/OK3568_Linux_fs/kernel/drivers/input/joystick/iforce/
H A Diforce-ff.c162 iforce_dump_packet(iforce, "condition", FF_CMD_CONDITION, data); in make_condition_modifier()
178 * Analyse the changes in an effect, and tell if we need to send an condition
195 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()
463 * Upload an condition effect. Those are for example friction, inertia, springs...
484 effect->u.condition[0].right_saturation, in iforce_upload_condition()
[all …]
/OK3568_Linux_fs/kernel/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); \
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/util/
H A Dcondition.hpp30 //BOOST_FORCEINLINE bool condition(bool const b) { return b; }
33 //#define BOOST_GEOMETRY_CONDITION(CONDITION) boost::geometry::detail::condition(CONDITION)
35 #define BOOST_GEOMETRY_CONDITION(CONDITION) ((void)0, (CONDITION)) argument
39 #define BOOST_GEOMETRY_CONDITION(CONDITION) (CONDITION) argument
/OK3568_Linux_fs/kernel/arch/arm/nwfpe/
H A Dfpa11_cprt.c153 /* Check for unordered condition and convert all operands to 80-bit in PerformComparison()
221 /* test for less than condition */ in PerformComparison()
225 /* test for equal condition */ in PerformComparison()
229 /* test for greater than or equal condition */ in PerformComparison()
247 /* test for less than condition */ in PerformComparison()
251 /* test for equal condition */ in PerformComparison()
255 /* test for greater than or equal condition */ in PerformComparison()
268 /* test for less than condition */ in PerformComparison()
272 /* test for equal condition */ in PerformComparison()
276 /* test for greater than or equal condition */ in PerformComparison()
[all …]

12345678910>>...137