Lines Matching defs:cpu
362 x86_lcpu_init(int cpu)
368 cpup = cpu_datap(cpu);
372 lcpu->cpu = cpup;
379 lcpu->cpu_num = cpu;
380 lcpu->lnum = cpu;
391 x86_core_alloc(int cpu)
396 cpup = cpu_datap(cpu);
432 x86_package_find(int cpu)
438 cpup = cpu_datap(cpu);
453 x86_die_find(int cpu)
460 cpup = cpu_datap(cpu);
464 pkg = x86_package_find(cpu);
479 x86_core_find(int cpu)
486 cpup = cpu_datap(cpu);
490 die = x86_die_find(cpu);
532 x86_die_alloc(int cpu)
537 cpup = cpu_datap(cpu);
574 x86_package_alloc(int cpu)
579 cpup = cpu_datap(cpu);
839 cpu_thread_alloc(int cpu)
858 cpup = cpu_datap(cpu);
862 x86_lcpu_init(cpu);
884 pkg = x86_package_find(cpu);
890 pkg = x86_package_alloc(cpu);
892 if (x86_package_find(cpu) != NULL) {
909 die = x86_die_find(cpu);
915 die = x86_die_alloc(cpu);
917 if (x86_die_find(cpu) != NULL) {
933 core = x86_core_find(cpu);
939 core = x86_core_alloc(cpu);
941 if (x86_core_find(cpu) != NULL) {
1012 * Called for a cpu to halt permanently
1224 x86_lcpu_t *cpu;
1244 cpu = core->lcpus;
1245 while (cpu != NULL) {
1247 kprintf(" CPU #: %d\n", cpu->cpu_num);
1248 kprintf(" Physical: %d\n", cpu->pnum);
1249 kprintf(" Logical: %d\n", cpu->lnum);
1251 if (cpu->master)
1253 if (cpu->primary)
1255 if (!cpu->master && !cpu->primary)
1259 cpu = cpu->next_in_core;