Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/ !
Dzstd_cwksp.h176 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align() function
205 return ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(size, ZSTD_CWKSP_ALIGNMENT_BYTES)); in ZSTD_cwksp_aligned_alloc_size()
351 void* ptr = ZSTD_cwksp_reserve_internal(ws, ZSTD_cwksp_align(bytes, ZSTD_CWKSP_ALIGNMENT_BYTES), in ZSTD_cwksp_reserve_aligned()
400 size_t const roundedBytes = ZSTD_cwksp_align(bytes, sizeof(void*)); in ZSTD_cwksp_reserve_object()
Dzstd_compress.c4651 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void *)))); in ZSTD_estimateCDictSize_advanced()
4683 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal()
4736 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))); in ZSTD_createCDict_advanced_internal()
4887 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))) in ZSTD_initStaticCDict()