Home
last modified time | relevance | path

Searched refs:_test (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/tools/testing/nvdimm/
Dwatermark.h18 int x##_test(void) \
23 EXPORT_SYMBOL(x##_test)
/Linux-v6.1/fs/unicode/
Dutf8-selftest.c23 #define _test(cond, func, line, fmt, ...) do { \ macro
33 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__)
34 #define test(cond) _test(cond, __func__, __LINE__, "")
/Linux-v6.1/tools/testing/selftests/landlock/
D.gitignore1 /*_test
DMakefile9 src_test := $(wildcard *_test.c)
/Linux-v6.1/tools/testing/selftests/openat2/
D.gitignore2 /*_test
/Linux-v6.1/drivers/iio/test/
Diio-test-format.c10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \ argument
11 KUNIT_EXPECT_EQ(_test, strlen(_buf), _ret); \
12 KUNIT_EXPECT_STREQ(_test, (_buf), (_val)); \
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dtest_queue_stack_map.h28 int _test(struct __sk_buff *skb) in _test() function
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh58 ${current_test}_test "$target" "$should_fail"
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh62 ${current_test}_test "$target" "$should_fail"
/Linux-v6.1/lib/
Dtest_scanf.c31 _test(check_fn fn, const void *check_data, const char *string, const char *fmt, in _test() function
199 _test(fn, &expect_val, test_buffer, "%" scan_fmt, 1, &result); \
347 _test(fn, check_data, string, fmt, 8, \
611 _test(fn, &expect, str, scan_fmt, n_args, &result[0], &result[1]); \
/Linux-v6.1/Documentation/dev-tools/kunit/
Dstyle.rst91 name. Unless these tests are actually present, avoid using ``_test``, ``_unittest``
192 after the test suite, followed by ``_test``. If this is likely to conflict with
196 ``<suite>_test.c`` (or, as above, ``<suite>_kunit.c``). This file should be
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_sockmap.c151 struct _test { struct
184 static int test_start_subtest(const struct _test *t, struct sockmap_options *o) in test_start_subtest()
1841 struct _test test[] = {
1859 static int check_whitelist(struct _test *t, struct sockmap_options *opt) in check_whitelist()
1879 static int check_blacklist(struct _test *t, struct sockmap_options *opt) in check_blacklist()
1911 struct _test t = test[i]; in __test_selftests()
/Linux-v6.1/drivers/firmware/
Dedd.c66 #define EDD_DEVICE_ATTR(_name,_mode,_show,_test) \ argument
70 .test = _test, \
/Linux-v6.1/net/netfilter/ipset/
Dip_set_bitmap_gen.h26 #define mtype_test IPSET_TOKEN(MTYPE, _test)
Dip_set_hash_gen.h247 #define mtype_test IPSET_TOKEN(MTYPE, _test)
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1220 static const u32 _test[] = { in reg_pattern_test() local
1222 for (pat = 0; pat < ARRAY_SIZE(_test); pat++) { in reg_pattern_test()
1223 wr32(reg, (_test[pat] & write)); in reg_pattern_test()
1225 if (val != (_test[pat] & write & mask)) { in reg_pattern_test()
1228 reg, val, (_test[pat] & write & mask)); in reg_pattern_test()
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh287 sanitization_single_dev_learning_enabled_"$ADDR_FAMILY"_test
292 sanitization_single_dev_udp_checksum_"$ADDR_FAMILY"_test
/Linux-v6.1/Documentation/driver-api/
Dntb.rst203 NTB MSI Test Client (ntb\_msi\_test)