Home
last modified time | relevance | path

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

/linux-6.12.1/lib/zstd/compress/
Dzstd_cwksp.h144 void* workspaceEnd; member
170 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()
299 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation, in ZSTD_cwksp_internal_advance_phase()
317 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
412 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()
481 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()
498 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()
533 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
538 + (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->allocStart); in ZSTD_cwksp_used()