Home
last modified time | relevance | path

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

12

/tools/include/asm/
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); \
/tools/include/linux/
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)
36 #define compiletime_assert(condition, msg) \ argument
37 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
A Dbuild_bug.h49 #define BUILD_BUG_ON(condition) \ argument
50 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
/tools/testing/selftests/bpf/
A Dtest_maps.h9 #define CHECK(condition, tag, format...) ({ \ argument
10 int __ret = !!(condition); \
A Dtest_progs.h197 #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 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/
A Dksft.py68 def test_result(condition, description=""): argument
69 if condition:
/tools/testing/selftests/mm/
A Dmap_populate.c25 #define BUG_ON(condition, description) \ argument
27 if (condition) \
A Dpkey-helpers.h72 #define pkey_assert(condition) do { \ argument
73 if (!(condition)) { \
A Dmremap_dontunmap.c30 #define BUG_ON(condition, description) \ argument
32 if (condition) { \
/tools/testing/selftests/
A Dkselftest.h216 #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 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/vDSO/
A Dvdso_test_getrandom.c43 #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 Dsock.c75 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 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/testing/selftests/damon/
A Dsysfs.py32 def assert_true(condition, expectation, status): argument
33 if condition is not True:
/tools/testing/selftests/proc/
A Dproc-maps-race.c239 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 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
A 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
A 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/
A DREADME-BENCH27 cpufreq-bench helps to test the condition of a given cpufreq governor.
/tools/testing/selftests/net/
A Dgro.c79 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
A Dfib_nexthops.sh2257 local condition=$1; shift
2261 (( $count $condition ))
A Dipsec.c44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) argument
/tools/objtool/Documentation/
A Dobjtool.txt202 stack traces need to be reliable (or an unreliable condition needs to

Completed in 46 milliseconds

12