Searched refs:thiscpu (Results 1 – 2 of 2) sorted by relevance
1698 check_asid(struct svm_softc *sc, int vcpuid, pmap_t pmap, u_int thiscpu) in check_asid() argument1705 KASSERT(CPU_ISSET(thiscpu, &pmap->pm_active), ("%s: nested pmap not " in check_asid()1706 "active on cpu %u", __func__, thiscpu)); in check_asid()1750 if (vcpustate->asid.gen != asid[thiscpu].gen) { in check_asid()1767 if (++asid[thiscpu].num >= nasid) { in check_asid()1768 asid[thiscpu].num = 1; in check_asid()1769 if (++asid[thiscpu].gen == 0) in check_asid()1770 asid[thiscpu].gen = 1; in check_asid()1780 vcpustate->asid.gen = asid[thiscpu].gen; in check_asid()1781 vcpustate->asid.num = asid[thiscpu].num; in check_asid()[all …]
2803 int thiscpu; in tid_alloc() local2809 thiscpu = PCPU_GET(cpuid); in tid_alloc()2817 if (tidbusy[thiscpu][tid] != NULL) { in tid_alloc()2821 tidbusy[thiscpu][tid]->pm_tid[thiscpu] = TID_NONE; in tid_alloc()2827 tidbusy[thiscpu][tid] = pmap; in tid_alloc()2828 pmap->pm_tid[thiscpu] = tid; in tid_alloc()