Home
last modified time | relevance | path

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

/external/kmod/tools/
Ddepmod.c1780 …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
1799 if (*last >= n_deps) in mod_fill_all_unique_dependencies()
1803 err = mod_fill_all_unique_dependencies(d, deps, n_deps, last); in mod_fill_all_unique_dependencies()
1810 static const struct mod **mod_get_all_sorted_dependencies(const struct mod *mod, size_t *n_deps) in mod_get_all_sorted_dependencies() argument
1815 *n_deps = mod_count_all_dependencies(mod); in mod_get_all_sorted_dependencies()
1816 if (*n_deps == 0) in mod_get_all_sorted_dependencies()
1819 deps = malloc(sizeof(struct mod *) * (*n_deps)); in mod_get_all_sorted_dependencies()
1823 if (mod_fill_all_unique_dependencies(mod, deps, *n_deps, &last) < 0) { in mod_get_all_sorted_dependencies()
1829 *n_deps = last; in mod_get_all_sorted_dependencies()
1847 size_t j, n_deps; in output_deps() local
[all …]