Home
last modified time | relevance | path

Searched refs:_expected (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/tools/testing/memblock/tests/
Dcommon.h36 #define ASSERT_EQ(_expected, _seen) do { \ argument
37 if ((_expected) != (_seen)) \
39 assert((_expected) == (_seen)); \
49 #define ASSERT_NE(_expected, _seen) do { \ argument
50 if ((_expected) == (_seen)) \
52 assert((_expected) != (_seen)); \
62 #define ASSERT_LT(_expected, _seen) do { \ argument
63 if ((_expected) >= (_seen)) \
65 assert((_expected) < (_seen)); \
75 #define ASSERT_LE(_expected, _seen) do { \ argument
[all …]
/linux-6.6.21/drivers/ufs/host/
Dufs-renesas.c48 #define PARAM_POLL(_reg, _expected, _mask) \ argument
49 { .mode = MODE_POLL, .reg = _reg, .u.expected = _expected, \
126 #define PARAM_INDIRECT_POLL(_gpio, _addr, _expected, _mask) \ argument
130 PARAM_POLL(0xd4, _expected, _mask), \
/linux-6.6.21/lib/
Dfortify_kunit.c83 #define check_const(_expected, alloc, free) do { \ argument
84 size_t expected = (_expected); \
93 #define check_dynamic(_expected, alloc, free) do { \ argument
94 size_t expected = (_expected); \
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf_dump.c308 _expected, ...) \ argument
317 _expected); \
328 _expected, ...) \ argument
336 _ptr, _type_sz, _str, _expected); \
340 _expected, ...) \ argument
347 _expected); \
/linux-6.6.21/tools/testing/selftests/
Dkselftest_harness.h704 #define __EXPECT(_expected, _expected_str, _seen, _seen_str, _t, _assert) do { \ argument
706 __typeof__(_expected) __exp = (_expected); \
751 #define __EXPECT_STR(_expected, _seen, _t, _assert) do { \ argument
752 const char *__exp = (_expected); \
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dnetif_receive_skb.c52 #define TEST_BTF(_str, _type, _flags, _expected, ...) \ argument
55 _expected; \