Lines Matching refs:attrs
117 struct ktest_module *mod, struct nl_ktest_parsed *attrs) in dump_mod_tests() argument
121 if (attrs->test_name != NULL && strcmp(attrs->test_name, test_info->name)) in dump_mod_tests()
134 struct nl_ktest_parsed attrs = { }; in dump_tests() local
138 error = nl_parse_nlmsg(hdr, &ktest_parser, npt, &attrs); in dump_tests()
146 if (attrs.mod_name && strcmp(attrs.mod_name, mod->info->name)) in dump_tests()
148 error = dump_mod_tests(hdr, npt, mod, &attrs); in dump_tests()
165 struct nl_ktest_parsed attrs = { }; in run_test() local
169 error = nl_parse_nlmsg(hdr, &ktest_parser, npt, &attrs); in run_test()
173 if (attrs.mod_name == NULL) { in run_test()
178 if (attrs.test_name == NULL) { in run_test()
187 if (strcmp(attrs.mod_name, mod->info->name)) in run_test()
195 if (!strcmp(attrs.test_name, test_info->name)) { in run_test()
222 if (test->parse != NULL && attrs.test_meta != NULL) { in run_test()
223 error = test->parse(&ctx, attrs.test_meta); in run_test()