Searched refs:ncpus (Results 1 – 5 of 5) sorted by relevance
103 unsigned ncpus; member112 return ln->ncpus - rn->ncpus; in ncpus_cmp_func()139 node_vectors[n].ncpus = UINT_MAX; in alloc_nodes_vectors()143 unsigned ncpus; in alloc_nodes_vectors() local146 ncpus = cpumask_weight(nmsk); in alloc_nodes_vectors()148 if (!ncpus) in alloc_nodes_vectors()150 remaining_ncpus += ncpus; in alloc_nodes_vectors()151 node_vectors[n].ncpus = ncpus; in alloc_nodes_vectors()228 unsigned nvectors, ncpus; in alloc_nodes_vectors() local230 if (node_vectors[n].ncpus == UINT_MAX) in alloc_nodes_vectors()[all …]
328 static int test_cycle(unsigned int ncpus) in test_cycle() argument333 for (n = 2; n <= ncpus + 1; n++) { in test_cycle()587 int ncpus = num_online_cpus(); in test_ww_mutex_init() local610 ret = test_cycle(ncpus); in test_ww_mutex_init()614 ret = stress(16, 2*ncpus, STRESS_INORDER); in test_ww_mutex_init()618 ret = stress(16, 2*ncpus, STRESS_REORDER); in test_ww_mutex_init()622 ret = stress(4095, hweight32(STRESS_ALL)*ncpus, STRESS_ALL); in test_ww_mutex_init()
79 int ncpus = smp_load_acquire(&rcu_state.ncpus); /* Order vs. locking. */ in sync_exp_reset_tree_hotplug() local84 if (likely(ncpus == rcu_state.ncpus_snap)) in sync_exp_reset_tree_hotplug()86 rcu_state.ncpus_snap = ncpus; in sync_exp_reset_tree_hotplug()
310 int ncpus; /* # CPUs seen so far. */ member
4359 smp_store_release(&rcu_state.ncpus, rcu_state.ncpus + newcpu); /* ^^^ */ in rcu_cpu_starting()4360 ASSERT_EXCLUSIVE_WRITER(rcu_state.ncpus); in rcu_cpu_starting()