Searched refs:ZSTD_cwksp_align (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_cwksp.h | 179 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align() function 212 return ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(size, ZSTD_CWKSP_ALIGNMENT_BYTES)); in ZSTD_cwksp_aligned_alloc_size() 372 void* ptr = ZSTD_cwksp_reserve_internal(ws, ZSTD_cwksp_align(bytes, ZSTD_CWKSP_ALIGNMENT_BYTES), in ZSTD_cwksp_reserve_aligned() 426 size_t const roundedBytes = ZSTD_cwksp_align(bytes, sizeof(void*)); in ZSTD_cwksp_reserve_object()
|
H A D | zstd_compress.c | 4770 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void *)))); in ZSTD_estimateCDictSize_advanced() 4802 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal() 4855 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))); in ZSTD_createCDict_advanced_internal() 5004 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))) in ZSTD_initStaticCDict()
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_cwksp.h | 164 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align() function 272 …return ZSTD_cwksp_reserve_internal(ws, ZSTD_cwksp_align(bytes, sizeof(U32)), ZSTD_cwksp_alloc_alig… in ZSTD_cwksp_reserve_aligned() 310 size_t roundedBytes = ZSTD_cwksp_align(bytes, sizeof(void*)); in ZSTD_cwksp_reserve_object()
|
H A D | zstd_compress.c | 3333 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void *)))); in ZSTD_estimateCDictSize_advanced() 3364 …void *internalBuffer = ZSTD_cwksp_reserve_object(&cdict->workspace, ZSTD_cwksp_align(dictSize, siz… in ZSTD_initCDict_internal() 3417 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))); in ZSTD_createCDict_advanced() 3502 : ZSTD_cwksp_alloc_size(ZSTD_cwksp_align(dictSize, sizeof(void*)))) in ZSTD_initStaticCDict()
|