Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/cgroup/
H A Dtest_core.c553 int t, c_threads = 0, n_threads = 13; in test_cgcore_proc_migration() local
555 pthread_t threads[n_threads]; in test_cgcore_proc_migration()
570 for (c_threads = 0; c_threads < n_threads; ++c_threads) { in test_cgcore_proc_migration()
576 if (cg_read_lc(dst, "cgroup.threads") != n_threads + 1) in test_cgcore_proc_migration()
/linux-6.15/arch/powerpc/kvm/
H A Dbook3s_hv.c3360 static void kvmppc_wait_for_nap(int n_threads) in kvmppc_wait_for_nap() argument
3365 if (n_threads <= 1) in kvmppc_wait_for_nap()
3374 for (i = 1; i < n_threads; ++i) in kvmppc_wait_for_nap()
3377 if (i == n_threads) { in kvmppc_wait_for_nap()
3384 for (i = 1; i < n_threads; ++i) in kvmppc_wait_for_nap()
3513 return n_subcores <= 4 && n_threads == 1; in subcore_config_ok()
3541 int n_threads = vc->num_threads; in can_dynamic_split() local
3551 if (n_threads < cip->max_subcore_threads) in can_dynamic_split()
3552 n_threads = cip->max_subcore_threads; in can_dynamic_split()
3553 if (!subcore_config_ok(cip->n_subcores + 1, n_threads)) in can_dynamic_split()
[all …]