/freebsd-9.3-release/sys/pc98/include/ |
H A D | cpu.h | 6 #include <i386/cpu.h>
|
/freebsd-9.3-release/sys/mips/include/ |
H A D | cputypes.h | 34 extern int cpu;
|
/freebsd-9.3-release/sys/mips/sibyte/ |
H A D | sb_scd.h | 39 void sb_enable_intsrc(int cpu, int src); 40 void sb_disable_intsrc(int cpu, int src); 41 uint64_t sb_read_intsrc_mask(int cpu); 42 void sb_write_intsrc_mask(int cpu, uint64_t mask); 43 void sb_write_intmap(int cpu, int intsrc, int intrnum); 44 int sb_read_intmap(int cpu, int intsrc);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | tst.allcpus.ksh | 43 cpu=0 61 /cpus[cpu] != 1/ 63 cpus[cpu] = 1; 64 @a[cpu] = count(); 77 while [ $cpu -le $numproc ] 79 if [ "`psrinfo -s $cpu 2> /dev/null`" -eq 1 ]; then 80 printf "%9d %16d\n" $cpu 1 >> $scriptout 82 allpids[$cpu]=$! 83 pbind -b $cpu $! 85 cpu [all...] |
/freebsd-9.3-release/contrib/gcc/config/i386/ |
H A D | driver-i386.c | 64 const char *cpu = NULL; local 158 cpu = "core2"; 162 cpu = "nocona"; 164 cpu = "prescott"; 167 cpu = "pentium4"; 169 cpu = "pentiumpro"; 171 cpu = "pentium-mmx"; 173 cpu = "pentium"; 175 cpu = "i386"; 178 cpu 293 const char *cpu; local [all...] |
/freebsd-9.3-release/sys/dev/hwpmc/ |
H A D | hwpmc_tsc.c | 71 tsc_allocate_pmc(int cpu, int ri, struct pmc *pm, argument 74 (void) cpu; 76 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 77 ("[tsc,%d] illegal CPU value %d", __LINE__, cpu)); 98 tsc_config_pmc(int cpu, int ri, struct pmc *pm) argument 102 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); 104 KASSERT(cpu >= 0 && cpu < pmc_cpu_ma 120 tsc_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) argument 152 tsc_get_config(int cpu, int ri, struct pmc **ppm) argument 179 tsc_pcpu_fini(struct pmc_mdep *md, int cpu) argument 200 tsc_pcpu_init(struct pmc_mdep *md, int cpu) argument 235 tsc_read_pmc(int cpu, int ri, pmc_value_t *v) argument 264 tsc_release_pmc(int cpu, int ri, struct pmc *pmc) argument 287 tsc_start_pmc(int cpu, int ri) argument 299 tsc_stop_pmc(int cpu, int ri) argument 311 tsc_write_pmc(int cpu, int ri, pmc_value_t v) argument [all...] |
H A D | hwpmc_soft.c | 36 #include <machine/cpu.h> 96 soft_allocate_pmc(int cpu, int ri, struct pmc *pm, argument 102 (void) cpu; 104 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 105 ("[soft,%d] illegal CPU value %d", __LINE__, cpu)); 135 soft_config_pmc(int cpu, int ri, struct pmc *pm) argument 139 PMCDBG(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); 141 KASSERT(cpu > 158 soft_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) argument 191 soft_get_config(int cpu, int ri, struct pmc **ppm) argument 205 soft_pcpu_fini(struct pmc_mdep *md, int cpu) argument 229 soft_pcpu_init(struct pmc_mdep *md, int cpu) argument 266 soft_read_pmc(int cpu, int ri, pmc_value_t *v) argument 290 soft_write_pmc(int cpu, int ri, pmc_value_t v) argument 314 soft_release_pmc(int cpu, int ri, struct pmc *pmc) argument 346 soft_start_pmc(int cpu, int ri) argument 373 soft_stop_pmc(int cpu, int ri) argument [all...] |
H A D | hwpmc_mips24k.c | 36 #include <machine/cpu.h> 219 mips24k_allocate_pmc(int cpu, int ri, struct pmc *pm, argument 226 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 227 ("[mips,%d] illegal CPU value %d", __LINE__, cpu)); 267 mips24k_read_pmc(int cpu, int ri, pmc_value_t *v) argument 272 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 273 ("[mips,%d] illegal CPU value %d", __LINE__, cpu)); 277 pm = mips24k_pcpu[cpu] 289 mips24k_write_pmc(int cpu, int ri, pmc_value_t v) argument 311 mips24k_config_pmc(int cpu, int ri, struct pmc *pm) argument 334 mips24k_start_pmc(int cpu, int ri) argument 360 mips24k_stop_pmc(int cpu, int ri) argument 388 mips24k_release_pmc(int cpu, int ri, struct pmc *pmc) argument 405 mips24k_intr(int cpu, struct trapframe *tf) argument 411 mips24k_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) argument 440 mips24k_get_config(int cpu, int ri, struct pmc **ppm) argument 463 mips24k_pcpu_init(struct pmc_mdep *md, int cpu) argument 500 mips24k_pcpu_fini(struct pmc_mdep *md, int cpu) argument [all...] |
H A D | hwpmc_xscale.c | 251 xscale_allocate_pmc(int cpu, int ri, struct pmc *pm, argument 258 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 259 ("[xscale,%d] illegal CPU value %d", __LINE__, cpu)); 287 xscale_read_pmc(int cpu, int ri, pmc_value_t *v) argument 292 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), 293 ("[xscale,%d] illegal CPU value %d", __LINE__, cpu)); 297 pm = xscale_pcpu[cpu]->pc_xscalepmcs[ri].phw_pmc; 309 xscale_write_pmc(int cpu, in argument 331 xscale_config_pmc(int cpu, int ri, struct pmc *pm) argument 354 xscale_start_pmc(int cpu, int ri) argument 424 xscale_stop_pmc(int cpu, int ri) argument 486 xscale_release_pmc(int cpu, int ri, struct pmc *pmc) argument 503 xscale_intr(int cpu, struct trapframe *tf) argument 510 xscale_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) argument 539 xscale_get_config(int cpu, int ri, struct pmc **ppm) argument 562 xscale_pcpu_init(struct pmc_mdep *md, int cpu) argument 604 xscale_pcpu_fini(struct pmc_mdep *md, int cpu) argument [all...] |
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Bin/ |
H A D | cswstat.d | 52 sched:::off-cpu 56 start[cpu] = timestamp; 59 sched:::on-cpu 60 /start[cpu]/ 63 times += timestamp - start[cpu]; 64 start[cpu] = 0;
|
/freebsd-9.3-release/cddl/contrib/dtracetoolkit/Kernel/ |
H A D | cswstat.d | 52 sched:::off-cpu 56 start[cpu] = timestamp; 59 sched:::on-cpu 60 /start[cpu]/ 63 times += timestamp - start[cpu]; 64 start[cpu] = 0;
|
/freebsd-9.3-release/sys/dev/cpuctl/ |
H A D | cpuctl.c | 68 static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd, 70 static int cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data, 72 static int cpuctl_do_update(int cpu, cpuctl_update_args_t *data, 74 static int update_intel(int cpu, cpuctl_update_args_t *args, 76 static int update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td); 77 static int update_via(int cpu, cpuctl_update_args_t *args, 91 * This function checks if specified cpu enabled or not. 94 cpu_enabled(int cpu) argument 97 return (pmc_cpu_is_disabled(cpu) == 0); 101 * Check if the current thread is bound to a specific cpu 118 set_cpu(int cpu, struct thread *td) argument 149 int cpu = dev2unit(dev); local 192 cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data, struct thread *td) argument 216 cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd, struct thread *td) argument 262 cpuctl_do_update(int cpu, cpuctl_update_args_t *data, struct thread *td) argument 296 update_intel(int cpu, cpuctl_update_args_t *args, struct thread *td) argument 355 update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) argument 410 update_via(int cpu, cpuctl_update_args_t *args, struct thread *td) argument 486 int cpu; local 502 int cpu; local [all...] |
/freebsd-9.3-release/sys/ia64/ia64/ |
H A D | highfp.c | 52 ia64_highfp_ipi(struct pcpu *cpu) argument 56 ipi_send(cpu, ia64_ipi_highfp); 57 error = msleep_spin(&cpu->pc_fpcurthread, &ia64_highfp_mtx, 67 struct pcpu *cpu; local 72 cpu = pcb->pcb_fpcpu; 73 if (cpu != NULL) { 74 KASSERT(cpu->pc_fpcurthread == td, 75 ("cpu->pc_fpcurthread != td")); 78 cpu->pc_fpcurthread = NULL; 82 return ((cpu ! 89 struct pcpu *cpu; local 132 struct pcpu *cpu; local [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sched/ |
H A D | tst.oncpu.d | 32 sched:::on-cpu 38 sched:::off-cpu 44 sched:::off-cpu
|
H A D | tst.stackdepth.d | 31 sched:::on-cpu
|
/freebsd-9.3-release/sys/powerpc/include/ |
H A D | openpicreg.h | 115 /* interrupt destination cpu */ 124 #define OPENPIC_PCPU_BASE(cpu) (0x20000 + (cpu) * 0x1000) 126 #define OPENPIC_PCPU_IPI_DISPATCH(cpu, ipi) \ 127 (OPENPIC_PCPU_BASE(cpu) + OPENPIC_IPI_DISPATCH(ipi)) 129 #define OPENPIC_PCPU_TPR(cpu) \ 130 (OPENPIC_PCPU_BASE(cpu) + OPENPIC_TPR) 132 #define OPENPIC_PCPU_WHOAMI(cpu) \ 133 (OPENPIC_PCPU_BASE(cpu) + OPENPIC_WHOAMI) 135 #define OPENPIC_PCPU_IACK(cpu) \ [all...] |
/freebsd-9.3-release/contrib/bind9/lib/dns/rdata/generic/ |
H A D | hinfo_13.h | 26 char *cpu; member in struct:dns_rdata_hinfo
|
/freebsd-9.3-release/usr.sbin/pmcstat/ |
H A D | pmcpl_annotate.h | 39 uint32_t nsamples, uintfptr_t *cc, int usermode, uint32_t cpu);
|
/freebsd-9.3-release/etc/rc.d/ |
H A D | powerd | 20 sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
|
/freebsd-9.3-release/sys/conf/ |
H A D | makeLINT.sed | 4 /^(machine|ident|device|nodevice|makeoptions|nomakeoption|options|option|nooption|profile|cpu|maxusers)[[:space:]]/ {
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cpuvar.h | 88 typedef struct cpu { struct 92 struct cpu *cpu_self; /* pointer to itself */ 99 struct lgrp_ld *cpu_lpl; /* pointer to this cpu's load */ 111 struct cpu *cpu_next; /* next existing CPU */ 112 struct cpu *cpu_prev; /* prev existing CPU */ 113 struct cpu *cpu_next_onln; /* next online (enabled) CPU */ 114 struct cpu *cpu_prev_onln; /* prev online (enabled) CPU */ 115 struct cpu *cpu_next_part; /* next CPU in partition */ 116 struct cpu *cpu_prev_part; /* prev CPU in partition */ 117 struct cpu *cpu_next_lgr [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 48 xdt:sched::on-cpu 54 xdt:sched::off-cpu 60 xdt:sched::off-cpu
|
H A D | tst.schedenable.ksh | 55 xdt:sched::off-cpu, 56 xdt:sched::on-cpu, 57 xdt:sched::idle-off-cpu, 58 xdt:sched::idle-on-cpu,
|
/freebsd-9.3-release/sys/cddl/dev/dtrace/ |
H A D | dtrace_debug.c | 49 dtrace_debug_lock(int cpu) argument 55 while (atomic_cmpset_acq_ptr(&dtrace_debug_data[cpu].lock, 0, tid) == 0) /* Loop until the lock is obtained. */ 60 dtrace_debug_unlock(int cpu) argument 62 atomic_store_rel_ptr(&dtrace_debug_data[cpu].lock, 0); 155 dtrace_debug__putc(int cpu, char c) argument 159 d = &dtrace_debug_data[cpu]; 177 int cpu; local 179 cpu = curcpu; 180 dtrace_debug_lock(cpu); 182 dtrace_debug__putc(cpu, 190 int cpu; local 230 dtrace_debug_vprintf(int cpu, const char *fmt, va_list ap) argument 540 int cpu; local [all...] |
/freebsd-9.3-release/sys/amd64/include/ |
H A D | cputypes.h | 55 extern int cpu;
|