| /tools/include/asm/ |
| D | bug.h | 10 #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/ |
| D | test_framework.h | 49 #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/ |
| D | compiler.h | 14 # 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) 36 #define compiletime_assert(condition, msg) \ argument 37 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
|
| D | build_bug.h | 49 #define BUILD_BUG_ON(condition) \ argument 50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
|
| /tools/testing/selftests/bpf/ |
| D | test_maps.h | 9 #define CHECK(condition, tag, format...) ({ \ argument 10 int __ret = !!(condition); \
|
| D | test_progs.h | 190 #define _CHECK(condition, tag, duration, format...) ({ \ argument 191 int __ret = !!(condition); \ 205 #define CHECK_FAIL(condition) ({ \ argument 206 int __ret = !!(condition); \ 216 #define CHECK(condition, tag, format...) \ argument 217 _CHECK(condition, tag, duration, format) 218 #define CHECK_ATTR(condition, tag, format...) \ argument 219 _CHECK(condition, tag, tattr.duration, format)
|
| /tools/testing/scatterlist/linux/ |
| D | mm.h | 17 #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/kselftest/ |
| D | ksft.py | 65 def test_result(condition, description=""): argument 66 if condition:
|
| /tools/testing/selftests/net/mptcp/ |
| D | diag.sh | 75 local condition=$1 78 __chk_nr "ss -inmHMN $ns | $condition" "$@" 97 local condition="grep -c token:" 108 nr=$(ss -inmHMN $ns | $condition)
|
| /tools/testing/selftests/mm/ |
| D | map_populate.c | 23 #define BUG_ON(condition, description) \ argument 25 if (condition) \
|
| D | pkey-helpers.h | 71 #define pkey_assert(condition) do { \ argument 72 if (!(condition)) { \
|
| D | mremap_dontunmap.c | 30 #define BUG_ON(condition, description) \ argument 32 if (condition) { \
|
| /tools/testing/selftests/ |
| D | kselftest.h | 209 #define ksft_test_result(condition, fmt, ...) do { \ argument 210 if (!!(condition)) \ 343 #define ksft_exit(condition) do { \ argument 344 if (!!(condition)) \
|
| /tools/testing/selftests/vDSO/ |
| D | vdso_test_getrandom.c | 44 #define ksft_assert(condition) \ argument 45 do { if (!(condition)) ksft_exit_fail_msg("Assertion failed: %s\n", #condition); } while (0)
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | select_reuseport.c | 50 #define RET_IF(condition, tag, format...) ({ \ argument 51 if (CHECK_FAIL(condition)) { \ 57 #define RET_ERR(condition, tag, format...) ({ \ argument 58 if (CHECK_FAIL(condition)) { \
|
| /tools/memory-model/Documentation/ |
| D | control-dependencies.txt | 170 Because the first condition cannot fault and the second condition is 196 the writes to "b" with the condition. Unfortunately for this line
|
| D | litmus-tests.txt | 208 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 978 can never be 0 in the if condition. As a result, said clever
|
| D | ordering.txt | 416 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
|
| /tools/power/cpupower/bench/ |
| D | README-BENCH | 27 cpufreq-bench helps to test the condition of a given cpufreq governor.
|
| /tools/testing/selftests/net/ |
| D | gro.c | 79 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
|
| D | fib_nexthops.sh | 2255 local condition=$1; shift 2259 (( $count $condition ))
|
| D | ipsec.c | 44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
|
| /tools/testing/selftests/filesystems/incfs/ |
| D | incfs_test.c | 67 #define TESTCOND(condition) \ argument 69 if (!(condition)) { \ 78 #define TEST(statement, condition) \ argument 81 TESTCOND(condition); \
|
| /tools/perf/Documentation/ |
| D | perf-script.txt | 213 cases e.g. "jcc (xD)" for a condition branch within a transaction
|
| /tools/objtool/Documentation/ |
| D | objtool.txt | 190 stack traces need to be reliable (or an unreliable condition needs to
|