Searched refs:hib_comp_algo (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/power/ |
H A D | hibernate.c | 57 char hib_comp_algo[CRYPTO_MAX_ALG_NAME]; variable 751 strscpy(hib_comp_algo, hibernate_compressor, sizeof(hib_comp_algo)); in hibernate() 752 if (crypto_has_comp(hib_comp_algo, 0, 0) != 1) { in hibernate() 753 pr_err("%s compression is not available\n", hib_comp_algo); in hibernate() 804 if (!strcmp(hib_comp_algo, COMPRESSION_ALGO_LZ4)) in hibernate() 1000 strscpy(hib_comp_algo, COMPRESSION_ALGO_LZ4, sizeof(hib_comp_algo)); in software_resume() 1002 strscpy(hib_comp_algo, COMPRESSION_ALGO_LZO, sizeof(hib_comp_algo)); in software_resume() 1003 if (crypto_has_comp(hib_comp_algo, 0, 0) != 1) { in software_resume() 1004 pr_err("%s compression is not available\n", hib_comp_algo); in software_resume() 1450 strscpy(hib_comp_algo, comp_alg_enabled[index], in hibernate_compressor_param_set() [all …]
|
H A D | swap.c | 722 pr_err("Failed to allocate %s page\n", hib_comp_algo); in save_compressed_image() 729 pr_err("Failed to allocate %s data\n", hib_comp_algo); in save_compressed_image() 748 data[thr].cc = crypto_alloc_comp(hib_comp_algo, 0, 0); in save_compressed_image() 793 pr_info("Using %u thread(s) for %s compression\n", nr_threads, hib_comp_algo); in save_compressed_image() 843 pr_err("%s compression failed\n", hib_comp_algo); in save_compressed_image() 850 pr_err("Invalid %s compressed length\n", hib_comp_algo); in save_compressed_image() 1229 pr_err("Failed to allocate %s page\n", hib_comp_algo); in load_compressed_image() 1236 pr_err("Failed to allocate %s data\n", hib_comp_algo); in load_compressed_image() 1257 data[thr].cc = crypto_alloc_comp(hib_comp_algo, 0, 0); in load_compressed_image() 1316 pr_err("Failed to allocate %s pages\n", hib_comp_algo); in load_compressed_image() [all …]
|
H A D | power.h | 58 extern char hib_comp_algo[CRYPTO_MAX_ALG_NAME];
|