Home
last modified time | relevance | path

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

/openbmc/linux/lib/zstd/compress/
H A Dzstd_cwksp.h37 #define ZSTD_CWKSP_ALIGNMENT_BYTES 64 macro
205 return ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(size, ZSTD_CWKSP_ALIGNMENT_BYTES)); in ZSTD_cwksp_aligned_alloc_size()
220 size_t const slackSpace = ZSTD_CWKSP_ALIGNMENT_BYTES; in ZSTD_cwksp_slack_space_required()
233 assert(bytes != ZSTD_CWKSP_ALIGNMENT_BYTES); in ZSTD_cwksp_bytes_to_align_ptr()
288ZSTD_CWKSP_ALIGNMENT_BYTES - ZSTD_cwksp_bytes_to_align_ptr(ws->allocStart, ZSTD_CWKSP_ALIGNMENT_BY… in ZSTD_cwksp_internal_advance_phase()
290 …ZSTD_STATIC_ASSERT((ZSTD_CWKSP_ALIGNMENT_BYTES & (ZSTD_CWKSP_ALIGNMENT_BYTES - 1)) == 0); /* power… in ZSTD_cwksp_internal_advance_phase()
296 … size_t const bytesToAlign = ZSTD_cwksp_bytes_to_align_ptr(alloc, ZSTD_CWKSP_ALIGNMENT_BYTES); in ZSTD_cwksp_internal_advance_phase()
351 void* ptr = ZSTD_cwksp_reserve_internal(ws, ZSTD_cwksp_align(bytes, ZSTD_CWKSP_ALIGNMENT_BYTES), in ZSTD_cwksp_reserve_aligned()
353 assert(((size_t)ptr & (ZSTD_CWKSP_ALIGNMENT_BYTES-1))== 0); in ZSTD_cwksp_reserve_aligned()
389 assert((bytes & (ZSTD_CWKSP_ALIGNMENT_BYTES-1)) == 0); in ZSTD_cwksp_reserve_table()
[all …]