Home
last modified time | relevance | path

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

/external/kmod/tools/
Ddepmod.c1876 static void depmod_report_cycles(struct depmod *depmod, uint16_t n_mods, in depmod_report_cycles() argument
1890 for (i = 0, n_r = 0; i < n_mods; i++) { in depmod_report_cycles()
1943 uint16_t i, n_roots = 0, n_sorted = 0, n_mods = depmod->modules.count; in depmod_calculate_dependencies() local
1946 users = malloc(sizeof(uint16_t) * n_mods * 3); in depmod_calculate_dependencies()
1949 roots = users + n_mods; in depmod_calculate_dependencies()
1950 sorted = roots + n_mods; in depmod_calculate_dependencies()
1952 DBG("calculate dependencies and ordering (%hu modules)\n", n_mods); in depmod_calculate_dependencies()
1958 for (i = 0; i < n_mods; i++, itrm++) { in depmod_calculate_dependencies()
1992 if (n_sorted < n_mods) { in depmod_calculate_dependencies()
1993 depmod_report_cycles(depmod, n_mods, users); in depmod_calculate_dependencies()
[all …]