Home
last modified time | relevance | path

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

12

/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.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)
36 #define compiletime_assert(condition, msg) \ argument
37 _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.h9 #define CHECK(condition, tag, format...) ({ \ argument
10 int __ret = !!(condition); \
Dtest_progs.h190 #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/
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/kselftest/
Dksft.py65 def test_result(condition, description=""): argument
66 if condition:
/tools/testing/selftests/net/mptcp/
Ddiag.sh75 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/
Dmap_populate.c23 #define BUG_ON(condition, description) \ argument
25 if (condition) \
Dpkey-helpers.h71 #define pkey_assert(condition) do { \ argument
72 if (!(condition)) { \
Dmremap_dontunmap.c30 #define BUG_ON(condition, description) \ argument
32 if (condition) { \
/tools/testing/selftests/
Dkselftest.h209 #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/
Dvdso_test_getrandom.c44 #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/
Dselect_reuseport.c50 #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/
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
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
978 can never be 0 in the if condition. As a result, said clever
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
/tools/power/cpupower/bench/
DREADME-BENCH27 cpufreq-bench helps to test the condition of a given cpufreq governor.
/tools/testing/selftests/net/
Dgro.c79 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
Dfib_nexthops.sh2255 local condition=$1; shift
2259 (( $count $condition ))
Dipsec.c44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c67 #define TESTCOND(condition) \ argument
69 if (!(condition)) { \
78 #define TEST(statement, condition) \ argument
81 TESTCOND(condition); \
/tools/perf/Documentation/
Dperf-script.txt213 cases e.g. "jcc (xD)" for a condition branch within a transaction
/tools/objtool/Documentation/
Dobjtool.txt190 stack traces need to be reliable (or an unreliable condition needs to

12