Lines Matching defs:acomp
152 struct crypto_acomp *acomp;
493 struct crypto_acomp *acomp;
496 acomp = crypto_alloc_acomp_node(pool->tfm_name, 0, 0, cpu_to_node(cpu));
497 if (IS_ERR(acomp)) {
498 pr_err("could not alloc crypto acomp %s : %ld\n",
499 pool->tfm_name, PTR_ERR(acomp));
500 return PTR_ERR(acomp);
502 acomp_ctx->acomp = acomp;
504 req = acomp_request_alloc(acomp_ctx->acomp);
508 crypto_free_acomp(acomp_ctx->acomp);
515 * if the backend of acomp is async zip, crypto_req_done() will wakeup
516 * crypto_wait_req(); if the backend of acomp is scomp, the callback
536 if (!IS_ERR_OR_NULL(acomp_ctx->acomp))
537 crypto_free_acomp(acomp_ctx->acomp);
1306 * Theoretically, acomp supports users send multiple acomp requests in one
1307 * acomp instance, then get those requests done simultaneously. but in this
1312 * acomp instance, so multiple threads can do (de)compression in parallel.