Lines Matching refs:compressor
344 sz = zcomp_available_show(zram->compressor, buf); in comp_algorithm_show()
354 char compressor[CRYPTO_MAX_ALG_NAME]; in comp_algorithm_store() local
357 strlcpy(compressor, buf, sizeof(compressor)); in comp_algorithm_store()
359 sz = strlen(compressor); in comp_algorithm_store()
360 if (sz > 0 && compressor[sz - 1] == '\n') in comp_algorithm_store()
361 compressor[sz - 1] = 0x00; in comp_algorithm_store()
363 if (!zcomp_available_algorithm(compressor)) in comp_algorithm_store()
373 strlcpy(zram->compressor, compressor, sizeof(compressor)); in comp_algorithm_store()
1085 comp = zcomp_create(zram->compressor); in disksize_store()
1088 zram->compressor); in disksize_store()
1315 strlcpy(zram->compressor, default_compressor, sizeof(zram->compressor)); in zram_add()