Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zstd/compress/
Dzstd_cwksp.h229 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr() argument
230 size_t const alignBytesMask = alignBytes - 1; in ZSTD_cwksp_bytes_to_align_ptr()
231 size_t const bytes = (alignBytes - ((size_t)ptr & (alignBytesMask))) & alignBytesMask; in ZSTD_cwksp_bytes_to_align_ptr()
232 assert((alignBytes & alignBytesMask) == 0); in ZSTD_cwksp_bytes_to_align_ptr()