Searched refs:acomp_ctx (Results 1 – 1 of 1) sorted by relevance
161 struct crypto_acomp_ctx __percpu *acomp_ctx; member282 pool->acomp_ctx = alloc_percpu(*pool->acomp_ctx); in zswap_pool_create()283 if (!pool->acomp_ctx) { in zswap_pool_create()309 if (pool->acomp_ctx) in zswap_pool_create()310 free_percpu(pool->acomp_ctx); in zswap_pool_create()364 free_percpu(pool->acomp_ctx); in zswap_pool_destroy()814 struct crypto_acomp_ctx *acomp_ctx = per_cpu_ptr(pool->acomp_ctx, cpu); in zswap_cpu_comp_prepare() local819 mutex_init(&acomp_ctx->mutex); in zswap_cpu_comp_prepare()821 acomp_ctx->buffer = kmalloc_node(PAGE_SIZE * 2, GFP_KERNEL, cpu_to_node(cpu)); in zswap_cpu_comp_prepare()822 if (!acomp_ctx->buffer) in zswap_cpu_comp_prepare()[all …]