Home
last modified time | relevance | path

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

/tools/include/asm/
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); \
/tools/testing/selftests/filesystems/fuse/
Dtest_framework.h49 #define TESTCOND(condition) \ argument
51 if (!(condition)) { \
60 #define TESTCONDERR(condition) \ argument
62 if (!(condition)) { \
73 #define TEST(statement, condition) \ argument
76 TESTCOND(condition); \
79 #define TESTERR(statement, condition) \ argument
82 TESTCONDERR(condition); \
/tools/include/linux/
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__)
Dbuild_bug.h49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
/tools/testing/selftests/bpf/
Dtest_maps.h8 #define CHECK(condition, tag, format...) ({ \ argument
9 int __ret = !!(condition); \
Dtest_progs.h102 #define _CHECK(condition, tag, duration, format...) ({ \ argument
103 int __ret = !!(condition); \
117 #define CHECK_FAIL(condition) ({ \ argument
118 int __ret = !!(condition); \
128 #define CHECK(condition, tag, format...) \ argument
129 _CHECK(condition, tag, duration, format)
130 #define CHECK_ATTR(condition, tag, format...) \ argument
131 _CHECK(condition, tag, tattr.duration, format)
Dget_cgroup_id_user.c24 #define CHECK(condition, tag, format...) ({ \ argument
25 int __ret = !!(condition); \
/tools/testing/scatterlist/linux/
Dmm.h17 #define WARN_ON(condition) ({ \ argument
18 int __ret_warn_on = !!(condition); \
22 #define WARN_ON_ONCE(condition) ({ \ argument
23 int __ret_warn_on = !!(condition); \
/tools/testing/selftests/net/mptcp/
Ddiag.sh45 local condition="$1"
51 nr=$(ss -inmHMN $ns | $condition)
70 local condition="grep -c token:"
81 nr=$(ss -inmHMN $ns | $condition)
/tools/testing/selftests/
Dkselftest.h179 #define ksft_test_result(condition, fmt, ...) do { \ argument
180 if (!!(condition)) \
246 #define ksft_exit(condition) do { \ argument
247 if (!!(condition)) \
/tools/testing/selftests/vm/
Dmap_populate.c24 #define BUG_ON(condition, description) \ argument
26 if (condition) { \
Dpkey-helpers.h71 #define pkey_assert(condition) do { \ argument
72 if (!(condition)) { \
Dmremap_dontunmap.c33 #define BUG_ON(condition, description) \ argument
35 if (condition) { \
/tools/testing/selftests/bpf/prog_tests/
Dselect_reuseport.c53 #define RET_IF(condition, tag, format...) ({ \ argument
54 if (CHECK_FAIL(condition)) { \
60 #define RET_ERR(condition, tag, format...) ({ \ argument
61 if (CHECK_FAIL(condition)) { \
Dbtf.c37 #define CHECK(condition, format...) _CHECK(condition, "check", duration, format) argument
/tools/memory-model/Documentation/
Dcontrol-dependencies.txt170 Because the first condition cannot fault and the second condition is
196 the writes to "b" with the condition. Unfortunately for this line
Dordering.txt416 through an "if" condition to a marked store (WRITE_ONCE() or stronger)
422 an READ_ONCE() and a WRITE_ONCE() when there is an "if" condition
Dlitmus-tests.txt208 clause's condition and run the test.) The numbers ("0 3") at the end
617 the "filter" clause. Line 24 does a known-true "if" condition to avoid
619 on line 32 is updated to a condition that is alway satisfied at the end
Daccess-marking.txt108 in a retry. Unless the race condition that resulted in the bogus value
/tools/power/cpupower/bench/
DREADME-BENCH27 cpufreq-bench helps to test the condition of a given cpufreq governor.
/tools/testing/selftests/net/
Dfib_nexthops.sh2007 local condition=$1; shift
2011 (( $count $condition ))
Dipsec.c45 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c65 #define TESTCOND(condition) \ argument
67 if (!(condition)) { \
76 #define TEST(statement, condition) \ argument
79 TESTCOND(condition); \
/tools/objtool/Documentation/
Dstack-validation.txt110 stack traces need to be reliable (or an unreliable condition needs to
/tools/perf/Documentation/
Dperf-script.txt207 cases e.g. "jcc (x)" for a condition branch within a transaction.