Lines Matching defs:data
39 "0cb4ddff-a545-4401-9d06-688af53e", /* not enough data */
46 const char *data, const char *actual)
48 pr_err("%s test #%u %s %s data: '%s'\n",
53 data);
55 pr_err("%s test #%u actual data: '%s'\n",
62 static void __init test_uuid_test(const struct test_uuid_data *data)
70 if (guid_parse(data->uuid, &le))
71 test_uuid_failed("conversion", false, false, data->uuid, NULL);
74 if (!guid_equal(&data->le, &le)) {
76 test_uuid_failed("cmp", false, false, data->uuid, buf);
81 if (uuid_parse(data->uuid, &be))
82 test_uuid_failed("conversion", false, true, data->uuid, NULL);
85 if (!uuid_equal(&data->be, &be)) {
87 test_uuid_failed("cmp", false, true, data->uuid, buf);
91 static void __init test_uuid_wrong(const char *data)
98 if (!guid_parse(data, &le))
99 test_uuid_failed("negative", true, false, data, NULL);
103 if (!uuid_parse(data, &be))
104 test_uuid_failed("negative", true, true, data, NULL);