Home
last modified time | relevance | path

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

/linux/kernel/power/
H A Dhibernate.c58 char hib_comp_algo[CRYPTO_MAX_ALG_NAME]; variable
775 strscpy(hib_comp_algo, hibernate_compressor); in load_image_and_restore()
776 if (!crypto_has_acomp(hib_comp_algo, 0, CRYPTO_ALG_ASYNC)) { in load_image_and_restore()
777 pr_err("%s compression is not available\n", hib_comp_algo); in load_image_and_restore()
832 if (!strcmp(hib_comp_algo, COMPRESSION_ALGO_LZ4)) in hibernate()
1033 strscpy(hib_comp_algo, COMPRESSION_ALGO_LZ4); in find_resume_device()
1035 strscpy(hib_comp_algo, COMPRESSION_ALGO_LZO); in find_resume_device()
1036 if (!crypto_has_acomp(hib_comp_algo, 0, CRYPTO_ALG_ASYNC)) { in find_resume_device()
1037 pr_err("%s compression is not available\n", hib_comp_algo); in find_resume_device()
1489 strscpy(hib_comp_algo, comp_alg_enable
[all...]
H A Dswap.c714 pr_err("Failed to allocate %s page\n", hib_comp_algo); in save_compressed_image()
721 pr_err("Failed to allocate %s data\n", hib_comp_algo); in save_compressed_image()
740 data[thr].cc = crypto_alloc_acomp(hib_comp_algo, 0, CRYPTO_ALG_ASYNC); in save_compressed_image()
792 pr_info("Using %u thread(s) for %s compression\n", nr_threads, hib_comp_algo); in save_compressed_image()
842 pr_err("%s compression failed\n", hib_comp_algo); in save_compressed_image()
849 pr_err("Invalid %s compressed length\n", hib_comp_algo); in save_compressed_image()
1216 pr_err("Failed to allocate %s page\n", hib_comp_algo); in load_compressed_image()
1223 pr_err("Failed to allocate %s data\n", hib_comp_algo); in load_compressed_image()
1244 data[thr].cc = crypto_alloc_acomp(hib_comp_algo, 0, CRYPTO_ALG_ASYNC); in load_compressed_image()
1310 pr_err("Failed to allocate %s pages\n", hib_comp_algo); in load_compressed_image()
[all...]