/src/sys/arch/arc/arc/ |
cpu.c | 74 struct cpu_info * const ci = curcpu(); local in function:cpuattach 76 ci->ci_dev = self; 77 device_set_private(self, ci);
|
/src/sys/arch/arm/arm/ |
ast.c | 116 struct cpu_info * const ci = curcpu(); local in function:ast 118 ci->ci_data.cpu_ntrap++; 120 KDASSERT(ci->ci_cpl == IPL_NONE);
|
/src/sys/arch/cobalt/cobalt/ |
cpu.c | 59 struct cpu_info * const ci = curcpu(); local in function:cpu_attach 61 ci->ci_dev = self; 62 device_set_private(self, ci);
|
/src/sys/arch/evbmips/evbmips/ |
cpu.c | 64 struct cpu_info * const ci = curcpu(); local in function:cpu_attach 66 ci->ci_dev = self; 67 device_set_private(self, ci); 70 ci->ci_cpu_freq / 1000000, 71 (ci->ci_cpu_freq % 1000000) / 10000, 72 ci->ci_cycles_per_hz, ci->ci_divisor_delay); 76 cpu_attach_common(self, ci);
|
/src/sys/arch/hpcmips/hpcmips/ |
cpu.c | 93 struct cpu_info * const ci = curcpu(); local in function:cpuattach 95 ci->ci_dev = self; 96 device_set_private(self, ci);
|
/src/sys/arch/mipsco/mipsco/ |
cpu.c | 66 struct cpu_info * const ci = curcpu(); local in function:cpuattach 68 ci->ci_dev = self; 69 device_set_private(self, ci);
|
/src/sys/arch/newsmips/newsmips/ |
cpu.c | 66 struct cpu_info * const ci = curcpu(); local in function:cpuattach 68 ci->ci_dev = self; 69 device_set_private(self, ci);
|
/src/sys/arch/pmax/pmax/ |
cpu.c | 66 struct cpu_info * const ci = curcpu(); local in function:cpuattach 68 ci->ci_dev = self; 69 device_set_private(self, ci);
|
/src/sys/arch/rs6000/rs6000/ |
cpu.c | 66 struct cpu_info *ci; local in function:cpuattach 68 ci = cpu_attach_common(self, 0); 69 if (ci == NULL)
|
/src/sys/arch/ews4800mips/ews4800mips/ |
cpu.c | 66 struct cpu_info * const ci = curcpu(); local in function:cpuattach 68 ci->ci_dev = self; 69 device_set_private(self, ci);
|
/src/sys/arch/arm/cortex/ |
gic_splfuncs.c | 54 struct cpu_info * const ci = curcpu(); local in function:gic_spllower 55 const int oldipl = ci->ci_cpl; 56 KASSERT(panicstr || newipl <= ci->ci_cpl); 57 if (newipl < ci->ci_cpl) { 59 ci->ci_intr_depth++; 61 ci->ci_intr_depth--; 74 struct cpu_info *ci = curcpu(); local in function:Xgic_splx 77 if (newipl >= ci->ci_cpl) { 82 ci->ci_intr_depth++; 84 ci->ci_intr_depth-- [all...] |
/src/sys/arch/arm/pic/ |
pic_splfuncs.c | 55 struct cpu_info * const ci = curcpu(); local in function:_splraise 56 const int oldipl = ci->ci_cpl; 58 if (newipl > ci->ci_cpl) { 59 pic_set_priority(ci, newipl); 67 struct cpu_info * const ci = curcpu(); local in function:_spllower 68 const int oldipl = ci->ci_cpl; 69 KASSERT(panicstr || newipl <= ci->ci_cpl); 70 if (newipl < ci->ci_cpl) { 72 ci->ci_intr_depth++; 74 ci->ci_intr_depth-- 85 struct cpu_info * const ci = curcpu(); local in function:splx [all...] |
/src/sys/arch/bebox/bebox/ |
ipi_bebox.c | 57 struct cpu_info * const ci = curcpu(); local in function:bebox_send_ipi 66 if (target == IPI_DST_ALL || dst_ci != ci) {
|
/src/sys/arch/epoc32/epoc32/ |
intr.c | 46 struct cpu_info * const ci = curcpu(); local in function:epoc32_irq_handler 47 const int oldipl = ci->ci_cpl; 51 ci->ci_data.cpu_nintr++;
|
/src/sys/arch/ia64/ia64/ |
clock.c | 61 struct cpu_info *ci = curcpu(); local in function:pcpu_initclock 63 ci->ci_clockadj = 0; 64 ci->ci_clock = ia64_get_itc(); 65 ia64_set_itm(ci->ci_clock + ia64_clock_reload);
|
/src/sys/arch/mips/mips/ |
mips3_clockintr.c | 68 struct cpu_info * const ci = curcpu(); local in function:mips3_clockintr 71 ci->ci_ev_count_compare.ev_count++; 73 KASSERT((ci->ci_cycles_per_hz & ~(0xffffffff)) == 0); 74 ci->ci_next_cp0_clk_intr += (uint32_t)(ci->ci_cycles_per_hz & 0xffffffff); 75 mips3_cp0_compare_write(ci->ci_next_cp0_clk_intr); 84 if ((ci->ci_next_cp0_clk_intr - new_cnt) & 0x80000000) { 86 ci->ci_next_cp0_clk_intr = new_cnt + curcpu()->ci_cycles_per_hz; 87 mips3_cp0_compare_write(ci->ci_next_cp0_clk_intr); 106 struct cpu_info * const ci = curcpu() local in function:mips3_init_cp0_clocks [all...] |
/src/sys/arch/powerpc/pic/ |
ipi.c | 59 struct cpu_info * const ci = curcpu(); local in function:ipi_intr 60 int cpu_id = cpu_index(ci); 64 ci->ci_ev_ipi.ev_count++; 65 ipi = atomic_swap_32(&ci->ci_pending_ipis, 0); 80 ci->ci_onproc->l_md.md_astpending = 1;
|
ipi_openpic.c | 81 struct cpu_info * const ci = curcpu(); local in function:openpic_send_ipi 89 if (target == IPI_DST_ALL || dst_ci != ci) { 103 openpic_write(OPENPIC_IPI(cpu_index(ci), 1), cpumask);
|
/src/tests/usr.bin/xlint/lint1/ |
d_gcc_compound_statements2.c | 20 struct cpu_info *ci; 21 __asm__ volatile("movl %%fs:4,%0":"=r" (ci)); 22 ci; 29 struct cpu_info ci = { 0 }; local in function:statement_expr_with_only_stmt 31 if (ci.bar > 0) 32 ci.bar++; 33 ci;
|
/src/sys/kern/ |
kern_idle.c | 47 struct cpu_info *ci = curcpu(); local in function:idle_loop 54 spc = &ci->ci_schedstate; 56 kcpuset_atomic_set(kcpuset_running, cpu_index(ci)); 74 KASSERT(ci == curcpu()); 89 !ci->ci_want_resched) { 104 create_idle_lwp(struct cpu_info *ci) 109 KASSERT(ci->ci_data.cpu_idlelwp == NULL); 111 ci, idle_loop, NULL, &l, "idle/%u", ci->ci_index); 116 if (ci != lwp0.l_cpu) [all...] |
/src/sys/arch/mips/alchemy/ |
au_timer.c | 73 struct cpu_info * const ci = curcpu(); local in function:au_cal_timers 113 ci->ci_cpu_freq = ((ctrdiff[2] + ctrdiff[3]) / 2) * 16; 114 ci->ci_cctr_freq = ci->ci_cpu_freq; 117 ci->ci_cycles_per_hz = (ci->ci_cpu_freq + hz / 2) / hz; 120 ci->ci_divisor_delay = (ci->ci_cpu_freq + 500000) / 1000000; 127 ci->ci_cpu_freq *= 2; 131 ci->ci_cpu_freq, ctrdiff[2], ctrdiff[3]) [all...] |
/src/sys/arch/powerpc/powerpc/ |
softint_machdep.c | 55 softint_deliver(struct cpu_info *ci, int ipl) 58 KASSERT(ci->ci_data.cpu_softints & (1 << ipl)); 59 ci->ci_data.cpu_softints ^= 1 << ipl; 60 softint_fast_dispatch(ci->ci_softlwps[si_level], ipl); 61 KASSERTMSG(ci->ci_cpl == IPL_HIGH, 62 "%s: cpl (%d) != HIGH", __func__, ci->ci_cpl); 66 powerpc_softint(struct cpu_info *ci, int old_ipl, vaddr_t pc) 71 KASSERTMSG(ci->ci_idepth == -1, 73 cpu_index(ci), ci->ci_idepth) 109 struct cpu_info * const ci = l->l_cpu; local in function:powerpc_softint_init_md 119 struct cpu_info * const ci = curcpu(); local in function:powerpc_softint_trigger [all...] |
/src/sys/arch/x86/acpi/ |
acpi_pdc.c | 55 struct cpu_info *ci = curcpu(); local in function:acpi_md_pdc 79 if ((ci->ci_feat_val[1] & CPUID2_MONITOR) != 0) 85 if ((ci->ci_feat_val[1] & CPUID2_EST) != 0) 88 if ((ci->ci_feat_val[0] & CPUID_ACPI) != 0) 115 struct cpu_info *ci; local in function:acpi_md_pdc_walk 117 ci = acpi_match_cpu_handle(hdl); 119 if (ci != NULL)
|
/src/sys/ddb/ |
db_cpu.c | 64 struct cpu_info *ci; local in function:db_cpu_by_index 66 db_read_bytes((db_addr_t)&db_cpu_infos[idx], sizeof(ci), (char *)&ci); 67 return ci; 79 db_cpu_next(struct cpu_info *ci) 83 db_read_bytes((db_addr_t)&ci->ci_index, sizeof(idx), (char *)&idx);
|
/src/sys/arch/amd64/include/ |
cpu.h | 62 struct cpu_info *ci; local in function:x86_curcpu 65 "=r" (ci) : 68 return ci;
|