Lines Matching refs:paicrypt_root
47 static struct paicrypt_root { /* Anchor to per CPU data */ struct
50 } paicrypt_root; variable
55 if (refcount_dec_and_test(&paicrypt_root.refcnt)) { in paicrypt_root_free()
56 free_percpu(paicrypt_root.mapptr); in paicrypt_root_free()
57 paicrypt_root.mapptr = NULL; in paicrypt_root_free()
60 refcount_read(&paicrypt_root.refcnt)); in paicrypt_root_free()
71 if (!refcount_inc_not_zero(&paicrypt_root.refcnt)) { in paicrypt_root_alloc()
73 paicrypt_root.mapptr = alloc_percpu(struct paicrypt_mapptr); in paicrypt_root_alloc()
74 if (!paicrypt_root.mapptr) in paicrypt_root_alloc()
76 refcount_set(&paicrypt_root.refcnt, 1); in paicrypt_root_alloc()
89 struct paicrypt_mapptr *mp = per_cpu_ptr(paicrypt_root.mapptr, cpu); in paicrypt_event_destroy_cpu()
139 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_getdata()
193 mp = per_cpu_ptr(paicrypt_root.mapptr, cpu); in paicrypt_busy()
348 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_start()
369 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_add()
387 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_stop()
406 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_del()
510 struct paicrypt_mapptr *mp = this_cpu_ptr(paicrypt_root.mapptr); in paicrypt_have_samples()