Home
last modified time | relevance | path

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

/external/kmod/tools/
Ddepmod.c1977 …ll_unique_dependencies(const struct mod *mod, const struct mod **deps, size_t n_deps, size_t *last) in mod_fill_all_unique_dependencies() argument
1996 if (*last >= n_deps) in mod_fill_all_unique_dependencies()
2000 err = mod_fill_all_unique_dependencies(d, deps, n_deps, last); in mod_fill_all_unique_dependencies()
2007 static const struct mod **mod_get_all_sorted_dependencies(const struct mod *mod, size_t *n_deps) in mod_get_all_sorted_dependencies() argument
2012 *n_deps = mod_count_all_dependencies(mod); in mod_get_all_sorted_dependencies()
2013 if (*n_deps == 0) in mod_get_all_sorted_dependencies()
2016 deps = malloc(sizeof(struct mod *) * (*n_deps)); in mod_get_all_sorted_dependencies()
2020 if (mod_fill_all_unique_dependencies(mod, deps, *n_deps, &last) < 0) { in mod_get_all_sorted_dependencies()
2026 *n_deps = last; in mod_get_all_sorted_dependencies()
2044 size_t j, n_deps; in output_deps() local
[all …]