Home
last modified time | relevance | path

Searched refs:cpun (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/i86pc/sys/
H A Dpsm_types.h128 int (*psm_disable_intr)(processorid_t cpun);
129 void (*psm_enable_intr)(processorid_t cpun);
132 void (*psm_set_idlecpu)(processorid_t cpun);
133 void (*psm_unset_idlecpu)(processorid_t cpun);
148 int (*psm_cpu_start)(processorid_t cpun, caddr_t ctxt);
150 void (*psm_cpu_start)(processorid_t cpun, caddr_t rm_code);
160 void (*psm_send_ipi)(processorid_t cpun, int ipl);
276 int (*psm_disable_intr)(processorid_t cpun);
277 void (*psm_enable_intr)(processorid_t cpun);
280 void (*psm_set_idlecpu)(processorid_t cpun);
[all …]
H A Dapic_common.h178 extern void apic_send_ipi(int cpun, int ipl);
179 extern void apic_set_idlecpu(processorid_t cpun);
180 extern void apic_unset_idlecpu(processorid_t cpun);
183 extern processorid_t apic_get_next_processorid(processorid_t cpun);
/titanic_41/usr/src/uts/common/syscall/
H A Dp_online.c49 p_online_internal_locked(processorid_t cpun, int new_status, int *old_status) in p_online_internal_locked() argument
60 if ((cp = cpu_get(cpun)) == NULL) { in p_online_internal_locked()
223 p_online_internal(processorid_t cpun, int new_status, int *old_status) in p_online_internal() argument
228 rc = p_online_internal_locked(cpun, new_status, old_status); in p_online_internal()
243 p_online(processorid_t cpun, int new_status) in p_online() argument
248 ret = p_online_internal(cpun, new_status, &old_status); in p_online()
H A Dprocessor_info.c47 processor_info(processorid_t cpun, processor_info_t *infop) in processor_info() argument
53 if ((cp = cpu_get(cpun)) == NULL) { in processor_info()
/titanic_41/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic.c106 static int apic_disable_intr(processorid_t cpun);
107 static void apic_enable_intr(processorid_t cpun);
301 processorid_t cpun = psm_get_cpu_id(); in apic_init_intr() local
320 AV_HIGH_ORDER >> cpun); in apic_init_intr()
353 if (apic_cpus[cpun].aci_local_ver < APIC_INTEGRATED_VERS) { in apic_init_intr()
728 int cpun; in apic_post_cpu_start() local
775 cpun = psm_get_cpu_id(); in apic_post_cpu_start()
776 apic_cpus[cpun].aci_status |= APIC_CPU_ONLINE; in apic_post_cpu_start()
831 apic_disable_intr(processorid_t cpun) in apic_disable_intr() argument
842 if (apic_reprogram_info[i].bindcpu == cpun) { in apic_disable_intr()
[all …]
H A Dapic_regops.c321 x2apic_send_ipi(int cpun, int ipl) in x2apic_send_ipi() argument
362 if ((cpun == psm_get_cpu_id())) { in x2apic_send_ipi()
366 apic_cpus[cpun].aci_local_id, vector); in x2apic_send_ipi()
382 apic_common_send_ipi(int cpun, int ipl) in apic_common_send_ipi() argument
389 x2apic_send_ipi(cpun, ipl); in apic_common_send_ipi()
400 local_apic_regs_ops.apic_write_int_cmd(apic_cpus[cpun].aci_local_id, in apic_common_send_ipi()
H A Dapic_common.c432 apic_cpu_send_SIPI(processorid_t cpun, boolean_t start) in apic_cpu_send_SIPI() argument
439 apicid = apic_cpus[cpun].aci_local_id; in apic_cpu_send_SIPI()
489 if (apic_cpus[cpun].aci_local_ver >= APIC_INTEGRATED_VERS) { in apic_cpu_send_SIPI()
512 apic_cpu_start(processorid_t cpun, caddr_t arg) in apic_cpu_start() argument
516 if (!apic_cpu_in_range(cpun)) { in apic_cpu_start()
528 apic_cpu_send_SIPI(cpun, B_TRUE); in apic_cpu_start()
538 apic_cpu_stop(processorid_t cpun, caddr_t arg) in apic_cpu_stop() argument
547 if (!apic_cpu_in_range(cpun)) { in apic_cpu_stop()
550 if (apic_cpus[cpun].aci_local_ver < APIC_INTEGRATED_VERS) { in apic_cpu_stop()
554 cp = cpu_get(cpun); in apic_cpu_stop()
[all …]
/titanic_41/usr/src/uts/sun4/os/
H A Dmp_call.c50 poke_cpu(int cpun) in poke_cpu() argument
52 uint32_t *ptr = (uint32_t *)&cpu[cpun]->cpu_m.poke_cpu_outstanding; in poke_cpu()
63 xt_one(cpun, setsoftint_tl1, poke_cpu_inum, 0); in poke_cpu()
/titanic_41/usr/src/uts/sun4u/os/
H A Dmach_mp_states.c36 set_idle_cpu(int cpun) in set_idle_cpu() argument
46 unset_idle_cpu(int cpun) in unset_idle_cpu() argument
/titanic_41/usr/src/uts/i86pc/os/
H A Dmp_call.c49 poke_cpu(int cpun) in poke_cpu() argument
57 send_dirint(cpun, XC_CPUPOKE_PIL); in poke_cpu()
H A Dmachdep.c687 set_idle_cpu(int cpun) in set_idle_cpu() argument
689 last_idle_cpu = cpun; in set_idle_cpu()
690 (*psm_set_idle_cpuf)(cpun); in set_idle_cpu()
698 unset_idle_cpu(int cpun) in unset_idle_cpu() argument
700 (*psm_unset_idle_cpuf)(cpun); in unset_idle_cpu()
H A Dmp_machdep.c71 static int mp_disable_intr(processorid_t cpun);
72 static void mp_enable_intr(processorid_t cpun);
830 mp_disable_intr(int cpun) in mp_disable_intr() argument
835 affinity_set(cpun); in mp_disable_intr()
851 mp_enable_intr(int cpun) in mp_enable_intr() argument
856 affinity_set(cpun); in mp_enable_intr()
H A Dmp_startup.c273 mp_cpu_configure_common(int cpun, boolean_t boot) in mp_cpu_configure_common() argument
287 trap_trace_ctl_t *ttc = &trap_trace_ctl[cpun]; in mp_cpu_configure_common()
291 ASSERT(cpun < NCPU && cpu[cpun] == NULL); in mp_cpu_configure_common()
300 cp->cpu_m.mcpu_istamp = cpun << 16; in mp_cpu_configure_common()
351 cp->cpu_id = cpun; in mp_cpu_configure_common()
H A Dcpr_impl.c89 init_real_mode_platter(int cpun, uint32_t offset, uint_t cr4, wc_desctbr_t gdt);
862 init_real_mode_platter(int cpun, uint32_t offset, uint_t cr4, wc_desctbr_t gdt) in init_real_mode_platter() argument
875 real_mode_platter->rm_cpu = cpun; in init_real_mode_platter()
/titanic_41/usr/src/uts/i86xpv/io/psm/
H A Dxpv_psm.c306 xen_psm_send_ipi(int cpun, int ipl) in xen_psm_send_ipi() argument
310 ec_send_ipi(ipl, cpun); in xen_psm_send_ipi()
807 xen_psm_disable_intr(processorid_t cpun) in xen_psm_disable_intr() argument
816 if (cpun == 0) in xen_psm_disable_intr()
819 CPUSET_ATOMIC_DEL(xen_psm_cpus_online, cpun); in xen_psm_disable_intr()
821 if (!ec_irq_needs_rebind(irq, cpun)) in xen_psm_disable_intr()
829 xen_psm_enable_intr(processorid_t cpun) in xen_psm_enable_intr() argument
833 if (cpun == 0) in xen_psm_enable_intr()
836 CPUSET_ATOMIC_ADD(xen_psm_cpus_online, cpun); in xen_psm_enable_intr()
848 apic_cpus[cpun].aci_status |= APIC_CPU_INTR_ENABLE; in xen_psm_enable_intr()
[all …]
/titanic_41/usr/src/uts/i86pc/io/apix/
H A Dapix.c413 processorid_t cpun = psm_get_cpu_id(); in apix_init_intr() local
433 AV_HIGH_ORDER >> cpun); in apix_init_intr()
466 if (apic_cpus[cpun].aci_local_ver < APIC_INTEGRATED_VERS) { in apix_init_intr()
849 apix_disable_intr(processorid_t cpun) in apix_disable_intr() argument
851 apix_impl_t *apixp = apixs[cpun]; in apix_disable_intr()
857 apic_cpus[cpun].aci_status &= ~APIC_CPU_INTR_ENABLE; in apix_disable_intr()
858 apic_cpus[cpun].aci_curipl = 0; in apix_disable_intr()
861 if (apic_cpus[cpun].aci_status & APIC_CPU_SUSPEND) { in apix_disable_intr()
910 cpun); in apix_disable_intr()
921 apix_enable_intr(processorid_t cpun) in apix_enable_intr() argument
[all …]
H A Dapix_utils.c95 int cpun; in apix_alloc_ipi() local
109 for (cpun = 0; cpun < nproc; cpun++) { in apix_alloc_ipi()
110 vecp = xv_vector(cpun, vector); in apix_alloc_ipi()
117 xv_vector(cpun, vector) = vecp; in apix_alloc_ipi()
121 vecp->v_cpuid = vecp->v_bound_cpuid = cpun; in apix_alloc_ipi()
129 while (--cpun >= 0) in apix_alloc_ipi()
130 apix_cleanup_vector(xv_vector(cpun, vector)); in apix_alloc_ipi()
142 int cpun; in apix_add_ipi() local
149 for (cpun = 0; cpun < nproc; cpun++) { in apix_add_ipi()
150 APIX_ENTER_CPU_LOCK(cpun); in apix_add_ipi()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dcpu.c846 long cpun = cp->cpu_id; in cpu_pause_alloc() local
852 t = thread_create(NULL, 0, cpu_pause, (void *)cpun, in cpu_pause_alloc()
878 int cpun = cp->cpu_id; in cpu_pause_free() local
885 ASSERT(safe_list[cpun] == PAUSE_IDLE); in cpu_pause_free()
892 ASSERT(safe_list[cpun] == PAUSE_IDLE); in cpu_pause_free()
893 safe_list[cpun] = PAUSE_DIE; in cpu_pause_free()
903 while (safe_list[cpun] != PAUSE_DEAD) { in cpu_pause_free()
907 safe_list[cpun] = PAUSE_IDLE; in cpu_pause_free()
1064 cpu_get_all(processorid_t cpun) in cpu_get_all() argument
1068 if (cpun >= NCPU || cpun < 0 || !CPU_IN_SET(cpu_available, cpun)) in cpu_get_all()
[all …]
/titanic_41/usr/src/uts/sun4v/os/
H A Dmach_mp_states.c47 set_idle_cpu(int cpun) in set_idle_cpu() argument
56 unset_idle_cpu(int cpun) in unset_idle_cpu() argument
/titanic_41/usr/src/uts/common/sys/
H A Dcpuvar.h641 void mbox_init(int cpun); /* initialize cross-calls */
642 void poke_cpu(int cpun); /* interrupt another CPU (to preempt) */
660 cpu_t *cpu_get(processorid_t cpun); /* get the CPU struct associated */
/titanic_41/usr/src/uts/common/disp/
H A Ddisp.c112 extern void set_idle_cpu(int cpun);
113 extern void unset_idle_cpu(int cpun);
/titanic_41/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpu.c2199 cmd_cpu_t *cpu, *cpun; in cmd_cpu_validate() local
2214 for (cpu = cmd_list_next(&cmd.cmd_cpus); cpu != NULL; cpu = cpun) { in cmd_cpu_validate()
2215 cpun = cmd_list_next(cpu); in cmd_cpu_validate()