Lines Matching refs:this_cpu_datap
318 cpu_data_t *this_cpu_datap;
320 this_cpu_datap = cpu_data_alloc(boot_cpu);
321 if (this_cpu_datap == NULL) {
324 target_cpu = this_cpu_datap->cpu_number;
333 this_cpu_datap->cpu_phys_number = lapic_id;
335 this_cpu_datap->cpu_console_buf = console_cpu_alloc(boot_cpu);
336 if (this_cpu_datap->cpu_console_buf == NULL)
339 this_cpu_datap->cpu_chud = chudxnu_cpu_alloc(boot_cpu);
340 if (this_cpu_datap->cpu_chud == NULL)
344 cpu_thread_alloc(this_cpu_datap->cpu_number);
345 if (this_cpu_datap->lcpu.core == NULL)
349 this_cpu_datap->cpu_pmap = pmap_cpu_alloc(boot_cpu);
350 if (this_cpu_datap->cpu_pmap == NULL)
354 this_cpu_datap->cpu_processor = cpu_processor_alloc(boot_cpu);
355 if (this_cpu_datap->cpu_processor == NULL)
364 *processor_out = this_cpu_datap->cpu_processor;
369 cpu_processor_free(this_cpu_datap->cpu_processor);
371 pmap_cpu_free(this_cpu_datap->cpu_pmap);
373 chudxnu_cpu_free(this_cpu_datap->cpu_chud);
374 console_cpu_free(this_cpu_datap->cpu_console_buf);
411 cpu_data_t *this_cpu_datap = NULL;
419 this_cpu_datap = cpu_datap(cpunum);
422 this_cpu_datap->cpu_id = cpu_id;
425 *processor_out = this_cpu_datap->cpu_processor;