Lines Matching refs:refcnt
83 if (atomic_load_acq_int(&e->refcnt) == 0) in t4_alloc_l2e()
86 for (e = d->l2tab; atomic_load_acq_int(&e->refcnt); ++e) in t4_alloc_l2e()
117 if (atomic_load_acq_int(&e->refcnt) == 0) { in find_or_alloc_l2e()
233 if (atomic_fetchadd_int(&e->refcnt, 1) == 0) { in t4_l2t_alloc_tls()
240 KASSERT(e->refcnt > 0, in t4_l2t_alloc_tls()
270 atomic_store_rel_int(&e->refcnt, 1); in t4_l2t_alloc_tls()
300 if (atomic_load_acq_int(&e->refcnt) == 0) { in t4_l2t_alloc_switching()
308 atomic_store_rel_int(&e->refcnt, 1); in t4_l2t_alloc_switching()
317 atomic_add_int(&e->refcnt, 1); in t4_l2t_alloc_switching()
352 atomic_store_rel_int(&e->refcnt, 0); in t4_init_l2t()
492 l2e_state(e), atomic_load_acq_int(&e->refcnt), in sysctl_l2t()