Searched refs:acomp_ctx (Results 1 – 1 of 1) sorted by relevance
155 struct crypto_acomp_ctx __percpu *acomp_ctx; member266 pool->acomp_ctx = alloc_percpu(*pool->acomp_ctx); in zswap_pool_create()267 if (!pool->acomp_ctx) { in zswap_pool_create()273 mutex_init(&per_cpu_ptr(pool->acomp_ctx, cpu)->mutex); in zswap_pool_create()296 if (pool->acomp_ctx) in zswap_pool_create()297 free_percpu(pool->acomp_ctx); in zswap_pool_create()328 free_percpu(pool->acomp_ctx); in zswap_pool_destroy()738 struct crypto_acomp_ctx *acomp_ctx = per_cpu_ptr(pool->acomp_ctx, cpu); in zswap_cpu_comp_prepare() local771 mutex_lock(&acomp_ctx->mutex); in zswap_cpu_comp_prepare()772 crypto_init_wait(&acomp_ctx->wait); in zswap_cpu_comp_prepare()[all …]