Lines Matching refs:kconfigs
164 void tst_kconfig_read(const char *const *kconfigs, in tst_kconfig_read() argument
173 const char *val = strchr(kconfigs[i], '='); in tst_kconfig_read()
175 if (strncmp("CONFIG_", kconfigs[i], 7)) in tst_kconfig_read()
176 tst_brk(TBROK, "Invalid config string '%s'", kconfigs[i]); in tst_kconfig_read()
179 matches[i].len = strlen(kconfigs[i]); in tst_kconfig_read()
196 if (match(&matches[i], kconfigs[i], &results[i], buf)) { in tst_kconfig_read()
213 static size_t array_len(const char *const kconfigs[]) in array_len() argument
217 while (kconfigs[++i]); in array_len()
241 void tst_kconfig_check(const char *const kconfigs[]) in tst_kconfig_check() argument
243 size_t cnt = array_len(kconfigs); in tst_kconfig_check()
248 tst_kconfig_read(kconfigs, results, cnt); in tst_kconfig_check()
252 tst_res(TINFO, "Missing kernel %s", kconfigs[i]); in tst_kconfig_check()
258 tst_res(TINFO, "Kernel %s is not set", kconfigs[i]); in tst_kconfig_check()
263 const char *val = strchr(kconfigs[i], '='); in tst_kconfig_check()
275 if (compare_res(&results[i], kconfigs[i], match, val)) in tst_kconfig_check()