Home
last modified time | relevance | path

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

/Linux-v6.6/include/drm/
Ddrm_kunit_helpers.h42 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \ argument
43 ((_type *)__drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, \
87 #define drm_kunit_helper_alloc_drm_device(_test, _dev, _type, _member, _feat) \ argument
88 ((_type *)__drm_kunit_helper_alloc_drm_device(_test, _dev, \
/Linux-v6.6/tools/testing/cxl/
Dwatermark.h19 int x##_test(void) \
24 EXPORT_SYMBOL(x##_test)
/Linux-v6.6/tools/testing/nvdimm/
Dwatermark.h18 int x##_test(void) \
23 EXPORT_SYMBOL(x##_test)
/Linux-v6.6/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.6/tools/testing/selftests/landlock/
D.gitignore1 /*_test
DMakefile9 src_test := $(wildcard *_test.c)
/Linux-v6.6/tools/testing/selftests/openat2/
D.gitignore2 /*_test
/Linux-v6.6/tools/testing/selftests/fchmodat2/
D.gitignore2 /*_test
/Linux-v6.6/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.6/tools/testing/selftests/bpf/progs/
Dtest_queue_stack_map.h28 int _test(struct __sk_buff *skb) in _test() function
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh59 ${current_test}_test "$target" "$should_fail"
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh63 ${current_test}_test "$target" "$should_fail"
/Linux-v6.6/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.6/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.6/tools/testing/selftests/kvm/aarch64/
Dpage_fault_test.c758 #define _CHECK(_test) _CHECK_##_test argument
759 #define _PREPARE(_test) _PREPARE_##_test argument
/Linux-v6.6/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()
1859 struct _test test[] = {
1877 static int check_whitelist(struct _test *t, struct sockmap_options *opt) in check_whitelist()
1897 static int check_blacklist(struct _test *t, struct sockmap_options *opt) in check_blacklist()
1929 struct _test t = test[i]; in __test_selftests()
/Linux-v6.6/drivers/firmware/
Dedd.c66 #define EDD_DEVICE_ATTR(_name,_mode,_show,_test) \ argument
70 .test = _test, \
/Linux-v6.6/net/netfilter/ipset/
Dip_set_bitmap_gen.h26 #define mtype_test IPSET_TOKEN(MTYPE, _test)
Dip_set_hash_gen.h258 #define mtype_test IPSET_TOKEN(MTYPE, _test)
/Linux-v6.6/Documentation/driver-api/
Dntb.rst203 NTB MSI Test Client (ntb\_msi\_test)
210 * *debugfs*/ntb\_msi\_test/*hw*/
/Linux-v6.6/drivers/net/ethernet/intel/igb/
Digb_ethtool.c1223 static const u32 _test[] = { in reg_pattern_test() local
1225 for (pat = 0; pat < ARRAY_SIZE(_test); pat++) { in reg_pattern_test()
1226 wr32(reg, (_test[pat] & write)); in reg_pattern_test()
1228 if (val != (_test[pat] & write & mask)) { in reg_pattern_test()
1231 reg, val, (_test[pat] & write & mask)); in reg_pattern_test()
/Linux-v6.6/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