Lines Matching defs:cpi_mwait
356 struct mwait_info cpi_mwait; /* fn 5: monitor/mwait info */
1407 cpi->cpi_mwait.support |= MWAIT_SUPPORT;
1865 * check cpi_mwait.support which was set in cpuid_pass1
1867 if (!(cpi->cpi_mwait.support & MWAIT_SUPPORT))
1884 cpi->cpi_mwait.mon_min = (size_t)MWAIT_SIZE_MIN(cpi);
1885 cpi->cpi_mwait.mon_max = mwait_size;
1887 cpi->cpi_mwait.support |= MWAIT_EXTENSIONS;
1889 cpi->cpi_mwait.support |=
4553 mwait_size = CPU->cpu_m.mcpu_cpi->cpi_mwait.mon_max;
4567 * Set cpi_mwait.buf_actual and cpi_mwait.size_actual in case we
4572 cpu->cpu_m.mcpu_cpi->cpi_mwait.buf_actual = ret;
4573 cpu->cpu_m.mcpu_cpi->cpi_mwait.size_actual = mwait_size;
4579 cpu->cpu_m.mcpu_cpi->cpi_mwait.buf_actual = ret;
4580 cpu->cpu_m.mcpu_cpi->cpi_mwait.size_actual = mwait_size * 2;
4594 if (cpu->cpu_m.mcpu_cpi->cpi_mwait.buf_actual != NULL &&
4595 cpu->cpu_m.mcpu_cpi->cpi_mwait.size_actual > 0) {
4596 kmem_free(cpu->cpu_m.mcpu_cpi->cpi_mwait.buf_actual,
4597 cpu->cpu_m.mcpu_cpi->cpi_mwait.size_actual);
4600 cpu->cpu_m.mcpu_cpi->cpi_mwait.buf_actual = NULL;
4601 cpu->cpu_m.mcpu_cpi->cpi_mwait.size_actual = 0;