Home
last modified time | relevance | path

Searched refs:FSE_BLOCKBOUND (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/lib/zstd/
H A Dfse.h235 #define FSE_BLOCKBOUND(size) (size + (size >> 7)) macro
236 #define FSE_COMPRESSBOUND(size) (FSE_NCOUNTBOUND + FSE_BLOCKBOUND(size)) /* Macro version, useful for static allocation */
H A Dfse_compress.c787 unsigned const fast = (dstSize >= FSE_BLOCKBOUND(srcSize)); in FSE_compress_usingCTable()
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse.h301 #define FSE_BLOCKBOUND(size) ((size) + ((size)>>7) + 4 /* fse states */ + sizeof(size_t) /* bitContainer */) macro
302 #define FSE_COMPRESSBOUND(size) (FSE_NCOUNTBOUND + FSE_BLOCKBOUND(size)) /* Macro version, useful for static allocation */
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dfse_compress.c656 unsigned const fast = (dstSize >= FSE_BLOCKBOUND(srcSize)); in FSE_compress_usingCTable()

Completed in 6 milliseconds