Searched refs:thiscpu (Results 1 – 2 of 2) sorted by relevance
1787 check_asid(struct svm_softc *sc, int vcpuid, pmap_t pmap, u_int thiscpu) in check_asid() argument1794 KASSERT(CPU_ISSET(thiscpu, &pmap->pm_active), ("%s: nested pmap not " in check_asid()1795 "active on cpu %u", __func__, thiscpu)); in check_asid()1839 if (vcpustate->asid.gen != asid[thiscpu].gen) { in check_asid()1856 if (++asid[thiscpu].num >= nasid) { in check_asid()1857 asid[thiscpu].num = 1; in check_asid()1858 if (++asid[thiscpu].gen == 0) in check_asid()1859 asid[thiscpu].gen = 1; in check_asid()1869 vcpustate->asid.gen = asid[thiscpu].gen; in check_asid()1870 vcpustate->asid.num = asid[thiscpu].num; in check_asid()
2906 int thiscpu; in tid_alloc() local2912 thiscpu = PCPU_GET(cpuid); in tid_alloc()2920 if (tidbusy[thiscpu][tid] != NULL) { in tid_alloc()2924 tidbusy[thiscpu][tid]->pm_tid[thiscpu] = TID_NONE; in tid_alloc()2930 tidbusy[thiscpu][tid] = pmap; in tid_alloc()2931 pmap->pm_tid[thiscpu] = tid; in tid_alloc()