Home
last modified time | relevance | path

Searched refs:paiext_root (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/kernel/
H A Dperf_pai_ext.c62 static struct paiext_root { /* Anchor to per CPU data */ struct
65 } paiext_root; argument
70 if (refcount_dec_and_test(&paiext_root.refcnt)) { in paiext_root_free()
71 free_percpu(paiext_root.mapptr); in paiext_root_free()
72 paiext_root.mapptr = NULL; in paiext_root_free()
83 if (!refcount_inc_not_zero(&paiext_root.refcnt)) { in paiext_root_alloc()
85 paiext_root.mapptr = alloc_percpu(struct paiext_mapptr); in paiext_root_alloc()
86 if (!paiext_root.mapptr) { in paiext_root_alloc()
94 refcount_set(&paiext_root.refcnt, 1); in paiext_root_alloc()
161 mp = per_cpu_ptr(paiext_root.mapptr, event->cpu); in paiext_alloc()
[all …]