Lines Matching refs:CPU

76  * (Note that per-CPU statistics fall out by creating a different trap table
77 * for each CPU.)
236 * branch displacement; if each CPU were to consume a disjoint virtual range
241 * each CPU were to consume a disjoint virtual range, we would have an
246 * solve this by not permitting each CPU to consume a disjoint virtual range.
247 * Rather, we have each CPU's interposing trap table use the _same_ virtual
273 * by reducing the virtual address space requirements per CPU via shared
278 * | CPU 1015 trap statistics (4KB) | .
284 * | CPU 1 trap statistics (4KB) | .
286 * | CPU 0 trap statistics (4KB) | .
297 * Note that each CPU has its own 4K space for its trap statistics but
299 * use the CPU ID to determine the location of per CPU trap statistics
498 * a well defined CPU module interface (cpu_trapstat_conf to enable this
523 static tstat_percpu_t *tstat_percpu; /* per-CPU data */
604 * of locked down entries (i.e. permanent mappings). Each CPU uses a
615 tstat_percpu_t *tcpu = &tstat_percpu[CPU->cpu_id];
670 "(error: 0x%lx)", CPU->cpu_id, ret);
775 * called from a cross call on the desired CPU, and that it is called on
776 * every CPU (this is necessary because the probe effect may differ from
777 * one CPU to another).
782 tstat_percpu_t *tcpu = &tstat_percpu[CPU->cpu_id];
800 * Preserve this CPU's data before destroying it by enabling the
890 * This routine actually enables a CPU by setting its %tba to be the
891 * CPU's interposing trap table. It is called out of cross call context.
896 tstat_percpu_t *tcpu = &tstat_percpu[CPU->cpu_id];
928 cpu_t *cp = CPU;
939 * This routine disables a CPU (vis a vis trapstat) by setting its %tba to be
945 tstat_percpu_t *tcpu = &tstat_percpu[CPU->cpu_id];
991 cpu_t *cp = CPU;
1005 * We therefore cross call onto a CPU to get a snapshot of its data to
1011 tstat_percpu_t *tcpu = &tstat_percpu[CPU->cpu_id];
1030 tstat_buffer->tdata_cpuid = CPU->cpu_id;
1284 * the per-CPU tstat_data structure. tdata_tmptick will be used in
1589 * number of traps. Note that the trap counter is kept in per CPU
1591 * adding the offset of that CPU's trap statistics area from CPU 0
1592 * (i.e. cpu_id * TSTAT_DATA_SIZE) to the address of the CPU 0
1604 * ldxa [%g3]ASI_SCRATCHPAD, %g3 ! %g3 = CPU ID
1606 * sllx %g3, TSTAT_DATA_SHIFT, %g3 ! %g3 = CPU trapstat data offset
1748 * (Olympus-C has 2 strands per core), each CPU uses a
1858 * Finally, get the target CPU to load the locked pages into its TLBs.
1948 * For detailed TLB statistics, invoke CPU specific interface
1993 * we determine the probe effect on each CPU serially instead
2080 * This is trapstat's DR CPU configuration callback. It's called (with
2081 * cpu_lock held) to unconfigure a newly powered-off CPU, or to configure a
2082 * powered-off CPU that is to be brought into the system. We need only take
2083 * action in the unconfigure case: because a powered-off CPU will have its
2086 * powered-off CPU. Note that this means that a TSTAT_CPU_ENABLED CPU that
2144 * TSTAT_CPU_ENABLED CPU, and explicitly destroy and reestablish its
2146 * of whether or not the CPU has been newly powered on.
2182 * Preserve this CPU's data in tstat_buffer and rip down its
2325 * If this is the first CPU to be specified (or if we are
2412 * This CPU is not currently responding to