Home
last modified time | relevance | path

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

/linux/arch/s390/kernel/
H A Dperf_pai_crypto.c47 static struct paicrypt_root { /* Anchor to per CPU data */ struct
50 } paicrypt_root; argument
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()
[all …]