Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstd_cwksp.h147 void* workspaceEnd; member
173 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()
306 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation, in ZSTD_cwksp_internal_advance_phase()
324 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
442 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()
542 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->tableValidEnd; in ZSTD_cwksp_clear()
553 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->objectEnd; in ZSTD_cwksp_clear()
559 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()
576 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()
611 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()
[all …]
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dzstd_cwksp.h133 void* workspaceEnd; member
158 assert(ws->allocStart <= ws->workspaceEnd); in ZSTD_cwksp_assert_internal_consistency()
218 return (ptr != NULL) && (ws->workspace <= ptr) && (ptr <= ws->workspaceEnd); in ZSTD_cwksp_owns_buffer()
326 if (ws->phase != ZSTD_cwksp_alloc_objects || end > ws->workspaceEnd) { in ZSTD_cwksp_reserve_object()
419 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->tableValidEnd; in ZSTD_cwksp_clear()
426 size_t size = (BYTE*)ws->workspaceEnd - (BYTE*)ws->objectEnd; in ZSTD_cwksp_clear()
432 ws->allocStart = ws->workspaceEnd; in ZSTD_cwksp_clear()
449 ws->workspaceEnd = (BYTE*)start + size; in ZSTD_cwksp_init()
483 return (size_t)((BYTE*)ws->workspaceEnd - (BYTE*)ws->workspace); in ZSTD_cwksp_sizeof()