Searched refs:cpu_pcid_refcounts (Results 1 – 2 of 2) sorted by relevance
153 cpu_datap(ccpu)->cpu_pcid_data->cpu_pcid_refcounts[0] = 1; in pmap_pcid_configure()192 pcid_ref_t *cpu_pcid_refcounts = &cpu_datap(ccpu)->cpu_pcid_data->cpu_pcid_refcounts[0]; in pmap_pcid_allocate_pcid() local196 if (cpu_pcid_refcounts[i] == 0) { in pmap_pcid_allocate_pcid()197 (void)__sync_fetch_and_add(&cpu_pcid_refcounts[i], 1); in pmap_pcid_allocate_pcid()211 pcid_ref_t cur_refcount = cpu_pcid_refcounts[i]; in pmap_pcid_allocate_pcid()216 (void)__sync_fetch_and_add(&cpu_pcid_refcounts[i], 1); in pmap_pcid_allocate_pcid()230 old_count = __sync_fetch_and_add(&cpu_pcid_refcounts[cur_min_index], 1); in pmap_pcid_allocate_pcid()250 pmap_assert(cpu_datap(ccpu)->cpu_pcid_data->cpu_pcid_refcounts[pcid] >= 1); in pmap_pcid_deallocate_pcid()256 …if ((prior_count = __sync_fetch_and_sub(&cpu_datap(ccpu)->cpu_pcid_data->cpu_pcid_refcounts[pcid],… in pmap_pcid_deallocate_pcid()
165 pcid_ref_t cpu_pcid_refcounts[PMAP_PCID_MAX_PCID]; member