Searched refs:_test (Results 1 - 19 of 19) sorted by relevance

/linux-master/tools/testing/nvdimm/
H A Dwatermark.h18 int x##_test(void) \
23 EXPORT_SYMBOL(x##_test)
/linux-master/tools/testing/cxl/
H A Dwatermark.h19 int x##_test(void) \
24 EXPORT_SYMBOL(x##_test)
/linux-master/tools/testing/selftests/landlock/
H A DMakefile9 src_test := $(wildcard *_test.c)
/linux-master/include/drm/
H A Ddrm_kunit_helpers.h30 * @_test: The test context object
40 * The driver is tied to the @_test context and will get cleaned at the
48 #define drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, _type, _member, _drv) \
49 ((_type *)__drm_kunit_helper_alloc_drm_device_with_driver(_test, _dev, \
74 * @_test: The test context object
85 * The driver is tied to the @_test context and will get cleaned at the
93 #define drm_kunit_helper_alloc_drm_device(_test, _dev, _type, _member, _feat) \
94 ((_type *)__drm_kunit_helper_alloc_drm_device(_test, _dev, \
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_queue_stack_map.h28 int _test(struct __sk_buff *skb) function
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh63 ${current_test}_test "$target" "$should_fail"
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dresource_scale.sh59 ${current_test}_test "$target" "$should_fail"
/linux-master/fs/unicode/
H A 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-master/drivers/iio/test/
H A Diio-test-format.c10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \
11 KUNIT_EXPECT_EQ(_test, strlen(_buf), _ret); \
12 KUNIT_EXPECT_STREQ(_test, (_buf), (_val)); \
/linux-master/lib/
H A Dtest_scanf.c31 _test(check_fn fn, const void *check_data, const char *string, const char *fmt, 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-master/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c758 #define _CHECK(_test) _CHECK_##_test
759 #define _PREPARE(_test) _PREPARE_##_test
/linux-master/tools/testing/selftests/bpf/
H A Dtest_sockmap.c151 struct _test { struct
184 static int test_start_subtest(const struct _test *t, struct sockmap_options *o)
1859 struct _test test[] = {
1877 static int check_whitelist(struct _test *t, struct sockmap_options *opt)
1897 static int check_blacklist(struct _test *t, struct sockmap_options *opt)
1929 struct _test t = test[i];
/linux-master/drivers/firmware/
H A Dedd.c66 #define EDD_DEVICE_ATTR(_name,_mode,_show,_test) \
70 .test = _test, \
/linux-master/drivers/gpu/drm/xe/tests/
H A Dxe_migrate.c94 #define check(_retval, _expected, str, _test) \
96 KUNIT_FAIL(_test, "Sanity check failed: " str \
/linux-master/fs/bcachefs/
H A Dtests.c818 #define perf_test(_test) \
819 if (!strcmp(testname, #_test)) j.fn = _test
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h28 #define mtype_test IPSET_TOKEN(MTYPE, _test)
H A Dip_set_hash_gen.h260 #define mtype_test IPSET_TOKEN(MTYPE, _test)
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c1223 static const u32 _test[] = { local
1225 for (pat = 0; pat < ARRAY_SIZE(_test); pat++) {
1226 wr32(reg, (_test[pat] & write));
1228 if (val != (_test[pat] & write & mask)) {
1231 reg, val, (_test[pat] & write & mask));
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dvxlan.sh287 sanitization_single_dev_learning_enabled_"$ADDR_FAMILY"_test
292 sanitization_single_dev_udp_checksum_"$ADDR_FAMILY"_test

Completed in 201 milliseconds