Searched refs:n_roots (Results 1 – 1 of 1) sorted by relevance
1884 uint16_t i, n_roots = 0, n_sorted = 0, n_mods = depmod->modules.count; in depmod_calculate_dependencies() local1903 roots[n_roots] = i; in depmod_calculate_dependencies()1904 n_roots++; in depmod_calculate_dependencies()1909 while (n_roots > 0) { in depmod_calculate_dependencies()1912 uint16_t src_idx = roots[--n_roots]; in depmod_calculate_dependencies()1927 roots[n_roots] = dst_idx; in depmod_calculate_dependencies()1928 n_roots++; in depmod_calculate_dependencies()