Lines Matching full:cpus

88     0, "Max number of CPUs that the system was compiled for.");
99 SYSCTL_INT(_kern_smp, OID_AUTO, cpus, CTLFLAG_RD|CTLFLAG_CAPRD, &smp_cpus, 0,
100 "Number of CPUs online");
126 * functions trigger at once and cause multiple CPUs to busywait with
169 printf("FreeBSD/SMP: Multiprocessor System Detected: %d CPUs\n", in mp_start()
213 * When called the executing CPU will send an IPI to all other CPUs
218 * - Signals all CPUs in map to stop.
240 volatile cpuset_t *cpus; in generic_stop_cpus() local
276 /* send the stop IPI to all CPUs in map */ in generic_stop_cpus()
284 cpus = &suspended_cpus; in generic_stop_cpus()
287 cpus = &stopped_cpus; in generic_stop_cpus()
290 while (!CPU_SUBSET(cpus, &map)) { in generic_stop_cpus()
295 printf("timeout stopping cpus\n"); in generic_stop_cpus()
333 * Called by a CPU to restart stopped CPUs.
337 * - Signals all CPUs in map to restart.
351 volatile cpuset_t *cpus; in generic_restart_cpus() local
363 cpus = &resuming_cpus; in generic_restart_cpus()
365 cpus = &stopped_cpus; in generic_restart_cpus()
367 /* signal other cpus to restart */ in generic_restart_cpus()
374 * Wake up any CPUs stopped with MWAIT. From MI code we can't tell if in generic_restart_cpus()
394 while (CPU_OVERLAP(cpus, &map)) in generic_restart_cpus()
406 cpus = &stopped_cpus; in generic_restart_cpus()
408 /* signal other cpus to restart */ in generic_restart_cpus()
412 while (CPU_OVERLAP(cpus, &map)) in generic_restart_cpus()
436 * All-CPU rendezvous. CPUs are signalled, all execute the setup function
497 * function. Ensure all CPUs have completed the setup in smp_rendezvous_action()
514 * full exit rendezvous is requested, then all CPUs will in smp_rendezvous_action()
515 * wait here until all CPUs have finished the main action. in smp_rendezvous_action()
605 * CPUs to finish the rendezvous, so that smp_rv_* in smp_rendezvous_cpus()
612 * CPUs. in smp_rendezvous_cpus()
662 /* No topology, all cpus are equal. */ in smp_topo()
919 CPU_COPY(&map, &arg->cpus); in smp_rendezvous_cpus_retry()
937 * Execute an action on all specified CPUs while retrying until they in smp_rendezvous_cpus_retry()
942 arg->cpus, in smp_rendezvous_cpus_retry()
948 if (CPU_EMPTY(&arg->cpus)) in smp_rendezvous_cpus_retry()
952 if (!CPU_ISSET(cpu, &arg->cpus)) in smp_rendezvous_cpus_retry()
963 CPU_CLR_ATOMIC(curcpu, &arg->cpus); in smp_rendezvous_cpus_done()
973 * Force the specified CPUs to switch context at least once.
1028 * Observe all CPUs not executing in critical section.