Lines Matching refs:soft_pcpu
95 static struct soft_cpu **soft_pcpu;
148 phw = &soft_pcpu[cpu]->soft_hw[ri];
172 phw = &soft_pcpu[cpu]->soft_hw[ri];
202 *ppm = soft_pcpu[cpu]->soft_hw[ri].phw_pmc;
214 KASSERT(soft_pcpu[cpu] != NULL, ("[soft,%d] null pcpu", __LINE__));
216 free(soft_pcpu[cpu], M_PMC);
217 soft_pcpu[cpu] = NULL;
241 KASSERT(soft_pcpu, ("[soft,%d] null pcpu", __LINE__));
242 KASSERT(soft_pcpu[cpu] == NULL, ("[soft,%d] non-null per-cpu",
250 soft_pcpu[cpu] = soft_pc;
275 phw = &soft_pcpu[cpu]->soft_hw[ri];
283 *v = soft_pcpu[cpu]->soft_values[ri];
299 pm = soft_pcpu[cpu]->soft_hw[ri].phw_pmc;
307 soft_pcpu[cpu]->soft_values[ri] = v;
326 phw = &soft_pcpu[cpu]->soft_hw[ri];
356 pc = soft_pcpu[cpu];
383 pc = soft_pcpu[cpu];
410 pc = soft_pcpu[ks->pm_cpu];
457 soft_pcpu = malloc(sizeof(struct soft_cpu *) * pmc_cpu_max(), M_PMC,
492 KASSERT(soft_pcpu[i] == NULL, ("[soft,%d] non-null pcpu cpu %d",
498 free(soft_pcpu, M_PMC);
499 soft_pcpu = NULL;