Home
last modified time | relevance | path

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

/external/kmod/tools/
Ddepmod.c1817 static void depmod_report_cycles(struct depmod *depmod, uint16_t n_mods, in depmod_report_cycles() argument
1831 for (i = 0, n_r = 0; i < n_mods; i++) { in depmod_report_cycles()
1884 uint16_t i, n_roots = 0, n_sorted = 0, n_mods = depmod->modules.count; in depmod_calculate_dependencies() local
1887 users = malloc(sizeof(uint16_t) * n_mods * 3); in depmod_calculate_dependencies()
1890 roots = users + n_mods; in depmod_calculate_dependencies()
1891 sorted = roots + n_mods; in depmod_calculate_dependencies()
1893 DBG("calculate dependencies and ordering (%hu modules)\n", n_mods); in depmod_calculate_dependencies()
1899 for (i = 0; i < n_mods; i++, itrm++) { in depmod_calculate_dependencies()
1933 if (n_sorted < n_mods) { in depmod_calculate_dependencies()
1934 depmod_report_cycles(depmod, n_mods, users); in depmod_calculate_dependencies()
[all …]