Home
last modified time | relevance | path

Searched refs:n_dirs (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/tests/
H A Dbuiltin-test-list.c161 int n_dirs, i; in append_scripts_in_dir() local
165 n_dirs = scandir(path, &entlist, NULL, alphasort); in append_scripts_in_dir()
166 if (n_dirs == -1) in append_scripts_in_dir()
168 for (i = 0; i < n_dirs && (ent = entlist[i]); i++) { in append_scripts_in_dir()
184 for (i = 0; i < n_dirs; i++) /* Clean up */ in append_scripts_in_dir()
/openbmc/qemu/util/
H A Dmodule.c211 int i = 0, n_dirs = 0; in module_load() local
237 dirs[n_dirs++] = g_strdup_printf("%s", search_dir); in module_load()
239 dirs[n_dirs++] = get_relocated_path(CONFIG_QEMU_MODDIR); in module_load()
245 dirs[n_dirs++] = g_strdup_printf("/var/run/qemu/%s", version_dir); in module_load()
247 assert(n_dirs <= ARRAY_SIZE(dirs)); in module_load()
282 for (i = 0; i < n_dirs; i++) { in module_load()
311 for (i = 0; i < n_dirs; i++) { in module_load()