Lines Matching refs:paiext_root
61 static struct paiext_root { /* Anchor to per CPU data */ struct
64 } paiext_root; argument
69 if (refcount_dec_and_test(&paiext_root.refcnt)) { in paiext_root_free()
70 free_percpu(paiext_root.mapptr); in paiext_root_free()
71 paiext_root.mapptr = NULL; in paiext_root_free()
74 refcount_read(&paiext_root.refcnt)); in paiext_root_free()
84 if (!refcount_inc_not_zero(&paiext_root.refcnt)) { in paiext_root_alloc()
86 paiext_root.mapptr = alloc_percpu(struct paiext_mapptr); in paiext_root_alloc()
87 if (!paiext_root.mapptr) { in paiext_root_alloc()
95 refcount_set(&paiext_root.refcnt, 1); in paiext_root_alloc()
122 struct paiext_mapptr *mp = per_cpu_ptr(paiext_root.mapptr, cpu); in paiext_event_destroy_cpu()
175 mp = per_cpu_ptr(paiext_root.mapptr, cpu); in paiext_alloc_cpu()
332 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_getdata()
365 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_start()
387 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_add()
406 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_stop()
425 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_del()
534 struct paiext_mapptr *mp = this_cpu_ptr(paiext_root.mapptr); in paiext_have_samples()