Lines Matching refs:asid
90 * asid (Process context identifier) aka tagged TLB support.
109 * asid support was originally used in x86_64, but has been adapted for use in
237 asid_t asid;
241 asid = tpmap->pmap_asid_cpus[ccpu];
242 assert(asid != PMAP_ASID_INVALID_ASID);
243 if (asid == PMAP_ASID_INVALID_ASID)
246 lp = cpu_datap(ccpu)->cpu_asid_last_pmap_dispatched[asid];
247 assert(asid > 0 && asid < PMAP_ASID_MAX_ASID);
248 assert(cpu_datap(ccpu)->cpu_asid_refcounts[asid] >= 1);
251 (void)__sync_bool_compare_and_swap(&cpu_datap(ccpu)->cpu_asid_last_pmap_dispatched[asid], tpmap, PMAP_INVALID);
253 if ((prior_count = __sync_fetch_and_sub(&cpu_datap(ccpu)->cpu_asid_refcounts[asid], 1)) == 1) {
254 cpu_datap(ccpu)->cpu_asid_free_hint = asid;