Lines Matching defs:cpu
307 * Initialize the per-cpu, TLB-related fields.
1167 * If some cpu is not using the physical pmap pointer that it
2029 unsigned int cpu, cpu_bit;
2032 for (cpu = 0, cpu_bit = 1; cpu < real_ncpus; cpu++, cpu_bit <<= 1) {
2034 cpu_NMI_interrupt(cpu);
2043 * - scan through per-cpu data to see which other cpus need to flush
2044 * - send an IPI to each non-idle cpu to be flushed
2054 unsigned int cpu;
2078 for (cpu = 0, cpu_bit = 1; cpu < real_ncpus; cpu++, cpu_bit <<= 1) {
2079 if (!cpu_datap(cpu)->cpu_running)
2081 uint64_t cpu_active_cr3 = CPU_GET_ACTIVE_CR3(cpu);
2082 uint64_t cpu_task_cr3 = CPU_GET_TASK_CR3(cpu);
2087 if (cpu == my_cpu) {
2092 cpu_datap(cpu)->cpu_tlb_invalid_global = TRUE;
2094 cpu_datap(cpu)->cpu_tlb_invalid_local = TRUE;
2111 if (CPU_CR3_IS_ACTIVE(cpu) &&
2112 (pmap_cr3 == CPU_GET_ACTIVE_CR3(cpu) ||
2114 (pmap_cr3 == CPU_GET_TASK_CR3(cpu)))) {
2116 i386_signal_cpu(cpu, MP_TLB_FLUSH, ASYNC);
2150 for (cpu = 0, cpu_bit = 1; cpu < real_ncpus; cpu++, cpu_bit <<= 1) {
2155 if (!cpu_datap(cpu)->cpu_running ||
2156 cpu_datap(cpu)->cpu_tlb_invalid == FALSE ||
2157 !CPU_CR3_IS_ACTIVE(cpu)) {