Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dzswap.c152 struct crypto_acomp_ctx __percpu *acomp_ctx; member
463 struct crypto_acomp_ctx *acomp_ctx = per_cpu_ptr(pool->acomp_ctx, cpu); in zswap_cpu_comp_prepare() local
473 acomp_ctx->acomp = acomp; in zswap_cpu_comp_prepare()
475 req = acomp_request_alloc(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
479 crypto_free_acomp(acomp_ctx->acomp); in zswap_cpu_comp_prepare()
482 acomp_ctx->req = req; in zswap_cpu_comp_prepare()
484 crypto_init_wait(&acomp_ctx->wait); in zswap_cpu_comp_prepare()
491 crypto_req_done, &acomp_ctx->wait); in zswap_cpu_comp_prepare()
493 acomp_ctx->mutex = per_cpu(zswap_mutex, cpu); in zswap_cpu_comp_prepare()
494 acomp_ctx->dstmem = per_cpu(zswap_dstmem, cpu); in zswap_cpu_comp_prepare()
[all …]