zstd_get_params(9)
π zstd_get_params(9) π
okay so bestie, welcome to the Kernel API Manual page for zstd_get_params(9) β yes this is kernel-side zstd, yes it's glamorous, no you can't skip it π
β¨ NAME β¨
zstd_get_params β hands you back the zstd_parameters for whatever compression level you picked π
πΈ SYNOPSIS πΈ
zstd_parameters zstd_get_params (int level , unsigned long long estimated_src_size );
π¦ ARGUMENTS π¦
levelβ the compression level, like, the whole vibe of how hard it's gonna squeeze. your call, babe β¨estimated_src_sizeβ the estimated source size you're planning to compress, or0if you literally have no idea and you're just free-spiriting it π
π RETURN π
the selected zstd_parameters π that's it, that's the gift, slay.
π SEE ALSO π
Kernel file ./include/linux/zstd.h β home of the zstd lore, and literally all of these besties:
zstd_compress_bound(9)zstd_is_error(9)zstd_get_error_code(9)zstd_get_error_name(9)zstd_min_clevel(9)zstd_max_clevel(9)zstd_default_clevel(9)zstd_get_cparams(9)zstd_cctx_set_param(9)zstd_cctx_workspace_bound(9)zstd_cctx_workspace_bound_with_ext_seq_prod(9)zstd_init_cctx(9)zstd_compress_cctx(9)zstd_create_cctx_advanced(9)zstd_free_cctx(9)zstd_create_cdict_byreference(9)zstd_free_cdict(9)zstd_compress_using_cdict(9)zstd_dctx_workspace_bound(9)zstd_init_dctx(9)zstd_decompress_dctx(9)zstd_create_ddict_byreference(9)zstd_free_ddict(9)zstd_create_dctx_advanced(9)zstd_free_dctx(9)zstd_decompress_using_ddict(9)zstd_cstream_workspace_bound(9)zstd_cstream_workspace_bound_with_ext_seq_prod(9)zstd_init_cstream(9)zstd_reset_cstream(9)zstd_compress_stream(9)zstd_flush_stream(9)zstd_end_stream(9)zstd_dstream_workspace_bound(9)zstd_init_dstream(9)zstd_reset_dstream(9)zstd_decompress_stream(9)zstd_find_frame_compressed_size(9)zstd_get_frame_header(9)zstd_compress_sequences_and_literals(9)
and that's the whole page, bestie π«Ά this cutie was brought to you straight out of ./include/linux, dated October 2026, and it's the zstd_get_params(9) moment of your life. mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms