summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2025-10-02 09:36:20 +0200
committerHeiko Carstens <hca@linux.ibm.com>2025-10-04 18:40:42 +0200
commit09dc3972be3f6191ab021ac01932bf5279f961f0 (patch)
treef9e16d53f0c31bc318031ac607700feba3cda213 /net/unix/af_unix.c
parent9daa5a8795865f9a3c93d8d1066785b07ded6073 (diff)
s390/pai_crypto: Consolidate PAI crypto allocation and cleanup paths
Introduce paicrypt_free() to centralize memory release for per-CPU maps and remove duplicated free logic. Replace paicrypt_busy() with paicrypt_alloc_cpu() returning int error codes instead of ERR_PTR, and adjust callers accordingly. System-wide allocation now uses paicrypt_alloc() with consistent error handling. Memory allocation and free management is now identical to PMU pai_ext. Reference counting and root anchor management remain unchanged. Debug output in the destroy path is dropped. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Tested-by: Jan Polensky <japo@linux.ibm.com> Reviewed-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions