| /tools/include/asm/ |
| A 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/include/linux/ |
| A 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__)
|
| A 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/ |
| A D | test_maps.h | 9 #define CHECK(condition, tag, format...) ({ \ argument 10 int __ret = !!(condition); \
|
| A D | test_progs.h | 197 #define _CHECK(condition, tag, duration, format...) ({ \ argument 198 int __ret = !!(condition); \ 212 #define CHECK_FAIL(condition) ({ \ argument 213 int __ret = !!(condition); \ 223 #define CHECK(condition, tag, format...) \ argument 224 _CHECK(condition, tag, duration, format) 225 #define CHECK_ATTR(condition, tag, format...) \ argument 226 _CHECK(condition, tag, tattr.duration, format)
|
| /tools/testing/scatterlist/linux/ |
| A 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/ |
| A D | ksft.py | 68 def test_result(condition, description=""): argument 69 if condition:
|
| /tools/testing/selftests/mm/ |
| A D | map_populate.c | 25 #define BUG_ON(condition, description) \ argument 27 if (condition) \
|
| A D | pkey-helpers.h | 72 #define pkey_assert(condition) do { \ argument 73 if (!(condition)) { \
|
| A D | mremap_dontunmap.c | 30 #define BUG_ON(condition, description) \ argument 32 if (condition) { \
|
| /tools/testing/selftests/ |
| A D | kselftest.h | 216 #define ksft_test_result(condition, fmt, ...) do { \ argument 217 if (!!(condition)) \ 367 #define ksft_exit(condition) do { \ argument 368 if (!!(condition)) \
|
| /tools/testing/selftests/net/mptcp/ |
| A 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/vDSO/ |
| A D | vdso_test_getrandom.c | 43 #define ksft_assert(condition) \ argument 44 do { if (!(condition)) ksft_exit_fail_msg("Assertion failed: %s\n", #condition); } while (0)
|
| /tools/testing/selftests/net/tcp_ao/lib/ |
| A D | sock.c | 75 test_cnt condition) in __skpair_poll_should_stop() argument 85 return (diff & condition) == condition; in __skpair_poll_should_stop() 166 test_cnt condition, volatile int *err) in _test_skpair_connect_poll() argument 180 ret = __test_skpair_poll(sk, 1, TEST_TIMEOUT_SEC, &c, condition, err); in _test_skpair_connect_poll()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A 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/testing/selftests/damon/ |
| A D | sysfs.py | 32 def assert_true(condition, expectation, status): argument 33 if condition is not True:
|
| /tools/testing/selftests/proc/ |
| A D | proc-maps-race.c | 239 static bool print_boundaries_on(bool condition, const char *title, in print_boundaries_on() argument 242 if (self->verbose && condition) in print_boundaries_on() 245 return condition; in print_boundaries_on()
|
| /tools/memory-model/Documentation/ |
| A 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
|
| A 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
|
| A 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/ |
| A D | README-BENCH | 27 cpufreq-bench helps to test the condition of a given cpufreq governor.
|
| /tools/testing/selftests/net/ |
| A D | gro.c | 79 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
|
| A D | fib_nexthops.sh | 2257 local condition=$1; shift 2261 (( $count $condition ))
|
| A D | ipsec.c | 44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
|
| /tools/objtool/Documentation/ |
| A D | objtool.txt | 202 stack traces need to be reliable (or an unreliable condition needs to
|