Searched refs:ncpus (Results 1 – 4 of 4) sorted by relevance
368 static int test_cycle(unsigned int ncpus) in test_cycle() argument373 for (n = 2; n <= ncpus + 1; n++) { in test_cycle()627 int ncpus = num_online_cpus(); in test_ww_mutex_init() local654 ret = test_cycle(ncpus); in test_ww_mutex_init()658 ret = stress(16, 2*ncpus, STRESS_INORDER); in test_ww_mutex_init()662 ret = stress(16, 2*ncpus, STRESS_REORDER); in test_ww_mutex_init()666 ret = stress(4095, hweight32(STRESS_ALL)*ncpus, STRESS_ALL); in test_ww_mutex_init()
81 int ncpus = smp_load_acquire(&rcu_state.ncpus); /* Order vs. locking. */ in sync_exp_reset_tree_hotplug() local86 if (likely(ncpus == rcu_state.ncpus_snap)) in sync_exp_reset_tree_hotplug()88 rcu_state.ncpus_snap = ncpus; in sync_exp_reset_tree_hotplug()
315 int ncpus; /* # CPUs seen so far. */ member
4369 smp_store_release(&rcu_state.ncpus, rcu_state.ncpus + newcpu); /* ^^^ */ in rcu_cpu_starting()4370 ASSERT_EXCLUSIVE_WRITER(rcu_state.ncpus); in rcu_cpu_starting()