Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dlz4_zfs.c338 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
547 if (length >= (int)RUN_MASK) { in LZ4_compressCtx()
548 *token = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
549 len = length - RUN_MASK; in LZ4_compressCtx()
636 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compressCtx()
639 if (lastRun >= (int)RUN_MASK) { in LZ4_compressCtx()
640 *op++ = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
641 lastRun -= RUN_MASK; in LZ4_compressCtx()
735 if (length >= (int)RUN_MASK) { in LZ4_compress64kCtx()
736 *token = (RUN_MASK << ML_BITS); in LZ4_compress64kCtx()
[all …]
H A Dlz4.c236 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
599 if (length == RUN_MASK) { in LZ4_decompress_generic()
601 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
736 if ( (endOnInput ? length != RUN_MASK : length <= 8) in LZ4_decompress_generic()
769 if (length == RUN_MASK) { in LZ4_decompress_generic()
771 … length += read_variable_length(&ip, iend-RUN_MASK, (int)endOnInput, (int)endOnInput, &error); in LZ4_decompress_generic()
/freebsd/sys/cddl/contrib/opensolaris/common/lz4/
H A Dlz4.c337 #define RUN_MASK ((1U<<RUN_BITS)-1) macro
547 if (length >= (int)RUN_MASK) { in LZ4_compressCtx()
548 *token = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
549 len = length - RUN_MASK; in LZ4_compressCtx()
636 if (op + lastRun + 1 + ((lastRun + 255 - RUN_MASK) / 255) > in LZ4_compressCtx()
639 if (lastRun >= (int)RUN_MASK) { in LZ4_compressCtx()
640 *op++ = (RUN_MASK << ML_BITS); in LZ4_compressCtx()
641 lastRun -= RUN_MASK; in LZ4_compressCtx()
740 if (length >= (int)RUN_MASK) { in LZ4_compress64kCtx()
741 *token = (RUN_MASK << ML_BITS); in LZ4_compress64kCtx()
[all …]