Lines Matching refs:acpu
84 klcpu_t *acpu; in nasid_slice_to_cpuinfo() local
89 if (!(acpu = (klcpu_t *)find_first_component(brd, KLSTRUCT_CPU))) in nasid_slice_to_cpuinfo()
93 if ((acpu->cpu_info.physid) == slice) in nasid_slice_to_cpuinfo()
94 return acpu; in nasid_slice_to_cpuinfo()
95 } while ((acpu = (klcpu_t *)find_component(brd, (klinfo_t *)acpu, in nasid_slice_to_cpuinfo()
104 klcpu_t *acpu; in sn_get_cpuinfo() local
121 acpu = nasid_slice_to_cpuinfo(nasid, slice); in sn_get_cpuinfo()
122 if (acpu && acpu->cpu_info.virtid == cpu) in sn_get_cpuinfo()
123 return acpu; in sn_get_cpuinfo()
130 klcpu_t *acpu; in get_cpu_slice() local
132 if ((acpu = sn_get_cpuinfo(cpu)) == NULL) in get_cpu_slice()
134 return acpu->cpu_info.physid; in get_cpu_slice()