Searched refs:n_mods (Results 1 – 1 of 1) sorted by relevance
/external/kmod/tools/ |
D | depmod.c | 1625 static void depmod_report_cycles(struct depmod *depmod, uint16_t n_mods, in depmod_report_cycles() argument 1639 for (i = 0, n_r = 0; i < n_mods; i++) { in depmod_report_cycles() 1687 uint16_t i, n_roots = 0, n_sorted = 0, n_mods = depmod->modules.count; in depmod_calculate_dependencies() local 1690 users = malloc(sizeof(uint16_t) * n_mods * 3); in depmod_calculate_dependencies() 1693 roots = users + n_mods; in depmod_calculate_dependencies() 1694 sorted = roots + n_mods; in depmod_calculate_dependencies() 1696 DBG("calculate dependencies and ordering (%hu modules)\n", n_mods); in depmod_calculate_dependencies() 1702 for (i = 0; i < n_mods; i++, itrm++) { in depmod_calculate_dependencies() 1736 if (n_sorted < n_mods) { in depmod_calculate_dependencies() 1737 depmod_report_cycles(depmod, n_mods, users); in depmod_calculate_dependencies() [all …]
|