Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_comp_algs.c19 #define QAT_ZSTD_SCRATCH_SIZE 524288 macro
23 #define QAT_LZ4S_MAX_OUTPUT_SIZE QAT_ZSTD_SCRATCH_SIZE
54 scratch->lz4s = kvmalloc(QAT_ZSTD_SCRATCH_SIZE, GFP_KERNEL); in qat_zstd_alloc_scratch()
58 scratch->literals = kvmalloc(QAT_ZSTD_SCRATCH_SIZE, GFP_KERNEL); in qat_zstd_alloc_scratch()
66 params = zstd_get_params(zstd_max_clevel(), QAT_ZSTD_SCRATCH_SIZE); in qat_zstd_alloc_scratch()
412 if (params->produced + QAT_ZSTD_LIT_COPY_LEN > QAT_ZSTD_SCRATCH_SIZE) { in qat_comp_lz4s_zstd_callback()
415 params->produced, QAT_ZSTD_SCRATCH_SIZE); in qat_comp_lz4s_zstd_callback()
455 QAT_ZSTD_SCRATCH_SIZE, in qat_comp_lz4s_zstd_callback()