Searched refs:n_threads (Results 1 – 2 of 2) sorted by relevance
551 int t, c_threads = 0, n_threads = 13; in test_cgcore_proc_migration() local553 pthread_t threads[n_threads]; in test_cgcore_proc_migration()568 for (c_threads = 0; c_threads < n_threads; ++c_threads) { in test_cgcore_proc_migration()574 if (cg_read_lc(dst, "cgroup.threads") != n_threads + 1) in test_cgcore_proc_migration()
3265 static void kvmppc_wait_for_nap(int n_threads) in kvmppc_wait_for_nap() argument3270 if (n_threads <= 1) in kvmppc_wait_for_nap()3279 for (i = 1; i < n_threads; ++i) in kvmppc_wait_for_nap()3282 if (i == n_threads) { in kvmppc_wait_for_nap()3289 for (i = 1; i < n_threads; ++i) in kvmppc_wait_for_nap()3411 static bool subcore_config_ok(int n_subcores, int n_threads) in subcore_config_ok() argument3418 return n_subcores <= 4 && n_threads == 1; in subcore_config_ok()3432 return n_subcores * roundup_pow_of_two(n_threads) <= MAX_SMT_THREADS; in subcore_config_ok()3446 int n_threads = vc->num_threads; in can_dynamic_split() local3456 if (n_threads < cip->max_subcore_threads) in can_dynamic_split()[all …]