Home
last modified time | relevance | path

Searched refs:cpu_get (Results 1 – 25 of 49) sorted by relevance

12

/titanic_50/usr/src/uts/sun4v/os/
H A Dsuspend.c372 if ((cp = cpu_get(id)) == NULL) in update_cpu_mappings()
394 if ((cp = cpu_get(id)) == NULL) in update_cpu_mappings()
410 if ((cp = cpu_get(id)) == NULL) in update_cpu_mappings()
422 if ((cp = cpu_get(id)) == NULL) in update_cpu_mappings()
435 if ((cp = cpu_get(id)) == NULL) in update_cpu_mappings()
H A Dmach_mp_startup.c237 if ((cpu = cpu_get(id)) == NULL) in mp_cpu_configure()
/titanic_50/usr/src/uts/common/os/
H A Dpool_pset.c173 c = cpu_get(cpuid); in pool_pset_cpu_setup()
302 if ((cpu = cpu_get(cpuid)) == NULL) in pool_pset_disable()
553 if ((cpu = cpu_get((processorid_t)ids[id])) == NULL || in pool_pset_xtransfer()
787 if ((cpu = cpu_get(cpuid)) == NULL) in pool_cpu_propput()
816 if ((cpu = cpu_get(cpuid)) == NULL || cpu_is_poweredoff(cpu)) { in pool_cpu_proprm()
964 if ((cpu = cpu_get(cpuid)) == NULL) { in pool_cpu_propget()
H A Dkcpc.c205 cp = cpu_get(cpuid); in kcpc_bind_cpu()
511 cp = cpu_get(ctx->kc_cpuid); in kcpc_stop_hw()
587 cp = cpu_get(ctx->kc_cpuid); in kcpc_unbind()
1495 cp = cpu_get(ctx->kc_cpuid); in kcpc_free()
/titanic_50/usr/src/uts/common/syscall/
H A Dprocessor_info.c53 if ((cp = cpu_get(cpun)) == NULL) { in processor_info()
H A Dprocessor_bind.c213 if ((cp = cpu_get(bind)) == NULL || in processor_bind()
336 if (id == P_MYID || bind != PBIND_NONE || cpu_get(id) == NULL) in processor_bind()
H A Dp_online.c60 if ((cp = cpu_get(cpun)) == NULL) { in p_online_internal_locked()
/titanic_50/usr/src/uts/i86xpv/os/
H A Dmp_xen.c601 cpu_t *cp = cpu_get(i); in mp_enter_barrier()
637 cpu_t *cp = cpu_get(i); in mp_leave_barrier()
707 if ((cp = cpu_get(id)) == NULL) { in vcpu_config_poweroff()
733 if ((cp = cpu_get(id)) == NULL) in vcpu_config_poweroff()
810 if ((cp = cpu_get(id)) == NULL) { in vcpu_config_poweron()
/titanic_50/usr/src/uts/i86pc/io/dr/
H A Ddr_cpu.c311 cp = cpu_get(up->sbc_cpu_id); in dr_post_attach_cpu()
402 if ((cp = cpu_get(cpuid)) == NULL) { in dr_pre_release_cpu()
494 cp = cpu_get(up->sbc_cpu_id); in dr_pre_detach_cpu()
626 if (!cpu_get(csp->cs_cpuid)) { in dr_fill_cpu_stat()
/titanic_50/usr/src/uts/sun4v/io/
H A Ddr_cpu.c738 if ((cp = cpu_get(cpuids[idx])) == NULL) in dr_cpu_check_cpus()
798 if ((cp = cpu_get(cpuids[cpu_idx])) == NULL) in dr_cpu_check_psrset()
1076 if ((cp = cpu_get(cpuid)) == NULL) { in dr_cpu_configure()
1089 cp = cpu_get(cpuid); in dr_cpu_configure()
1148 cp = cpu_get(cpuid); in dr_cpu_unconfigure()
1259 if ((cp = cpu_get(cpuid)) == NULL) { in dr_cpu_status()
/titanic_50/usr/src/uts/sun4u/ngdr/io/
H A Ddr_cpu.c380 cp = cpu_get(up->sbc_cpu_id); in dr_post_attach_cpu()
468 if ((cp = cpu_get(cpuid)) == NULL) { in dr_pre_release_cpu()
558 cp = cpu_get(up->sbc_cpu_id); in dr_pre_detach_cpu()
690 if (!cpu_get(csp->cs_cpuid)) { in dr_fill_cpu_stat()
/titanic_50/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdsv3_af_thr.c53 cp = cpu_get((processorid_t)i); in rdsv3_af_init()
350 cp = cpu_get(cpuid); in rdsv3_af_thr_bind()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip_squeue.c336 cpu_t *cp = cpu_get(i); in ip_squeue_init()
437 cpu = cpu_get(cpuid); in ip_squeue_cpu_move()
753 cpu_t *cp = cpu_get(id); in ip_squeue_cpu_setup()
/titanic_50/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c403 cpup = cpu_get(cpuid); in sbd_pre_release_cpu()
564 cp = cpu_get(cpuid); in sbd_post_attach_cpu()
679 cpu = cpu_get(cpuid); in sbd_pre_detach_cpu()
1007 cpu = cpu_get(cpuid); in sbd_connect_cpu()
/titanic_50/usr/src/uts/intel/ia32/os/
H A Dcpc_subr.c218 if ((cpu = cpu_get(cpuid)) == NULL) { in kcpc_hw_cpu_hook()
/titanic_50/usr/src/uts/sun4u/os/
H A Dcmp.c112 (cpu = cpu_get(i)) != NULL && cpu_is_active(cpu)) { in cmp_error_resteer()
/titanic_50/usr/src/uts/i86pc/os/
H A Dmp_startup.c1602 cp = cpu_get(cpuid); in mp_cpu_configure()
1621 ASSERT(cp != NULL && cpu_get(cpuid) == cp); in mp_cpu_configure()
1637 cp = cpu_get(cpuid); in mp_cpu_unconfigure()
H A Dmicrocode.c1064 if ((cpu = cpu_get(id)) == NULL || in ucode_update()
1246 if ((cpu = cpu_get(i)) == NULL) in ucode_get_rev()
/titanic_50/usr/src/uts/common/dtrace/
H A Ddcpc.c960 c = cpu_get(cpu); in dcpc_cpu_setup()
991 c = cpu_get(cpu); in dcpc_cpu_setup()
/titanic_50/usr/src/uts/sun4u/sunfire/io/
H A Dfhc.c2277 if ((cpa = cpu_get(FHC_BOARD2CPU_A(board))) != NULL) { in get_temp_state()
2283 if ((cpb = cpu_get(FHC_BOARD2CPU_B(board))) != NULL) { in get_temp_state()
3068 if ((cpa = cpu_get(FHC_BOARD2CPU_A(board))) != NULL && in fhc_board_poweroffcpus()
3086 (cpb = cpu_get(FHC_BOARD2CPU_B(board))) != NULL && in fhc_board_poweroffcpus()
3362 ((cp_other = cpu_get(FHC_OTHER_CPU_ID(cp->cpu_id))) != NULL)) { in fhc_cpu_poweron()
/titanic_50/usr/src/uts/common/io/
H A Dcpudrv.c1188 cpudsp->cp = cpu_get(cpudsp->cpu_id); in cpudrv_get_cpu()
1191 cpudsp->cp = cpu_get(cpudsp->cpu_id); in cpudrv_get_cpu()
/titanic_50/usr/src/uts/common/io/mac/
H A Dmac_datapath_setup.c1220 cp = cpu_get(cpuid); in mac_srs_worker_bind()
1249 cp = cpu_get(cpuid); in mac_srs_poll_bind()
1303 cp = cpu_get(cpuid); in mac_rx_srs_retarget_intr()
1339 cp = cpu_get(cpuid); in mac_tx_srs_retarget_intr()
1361 cp = cpu_get(cpuid); in mac_tx_srs_retarget_intr()
H A Dmac_soft_ring.c273 cp = cpu_get(cpuid); in mac_soft_ring_bind()
/titanic_50/usr/src/uts/common/sys/
H A Dcpuvar.h660 cpu_t *cpu_get(processorid_t cpun); /* get the CPU struct associated */
/titanic_50/usr/src/uts/sun4u/starfire/io/
H A Ddrmach.c2594 cp = cpu_get(cpuid); in drmach_cpu_juggle_bootproc()
2608 if ((cp = cpu_get(cpuid)) == NULL) { in drmach_cpu_juggle_bootproc()
2683 cp = cpu_get(cpuid); in drmach_cpu_release()
2705 stat->configured = (cpu_get(drmach_cpu_calc_id(dp)) != NULL); in drmach_cpu_status()

12