Lines Matching refs:cpu_datap
132 volatile uint8_t *cptr = cpu_datap(ccpu)->cpu_pmap_asid_coherentp;
162 cpu_datap(ccpu)->cpu_pmap_asid_coherentp =
163 cpu_datap(ccpu)->cpu_pmap_asid_coherentp_kernel =
165 cpu_datap(ccpu)->cpu_asid_refcounts[0] = 1;
192 asid_ref_t *cpu_asid_refcounts = &cpu_datap(ccpu)->cpu_asid_refcounts[0];
195 if ((i = cpu_datap(ccpu)->cpu_asid_free_hint) != 0) {
198 cpu_datap(ccpu)->cpu_asid_free_hint = 0;
246 lp = cpu_datap(ccpu)->cpu_asid_last_pmap_dispatched[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;
280 cpu_datap(ccpu)->cpu_active_asid = new_asid;
284 last_pmap = cpu_datap(ccpu)->cpu_asid_last_pmap_dispatched[new_asid];
291 cpu_datap(ccpu)->cpu_asid_last_pmap_dispatched[new_asid] = tpmap;
305 cpu_datap(ccpu)->cpu_pmap_asid_coherentp = &(tpmap->pmap_asid_coherency_vector[ccpu]);