Lines Matching refs:objectEnd
146 void* objectEnd; member
165 assert(ws->workspace <= ws->objectEnd); in ZSTD_cwksp_assert_internal_consistency()
166 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
167 assert(ws->objectEnd <= ws->tableValidEnd); in ZSTD_cwksp_assert_internal_consistency()
280 ws->tableValidEnd = ws->objectEnd; in ZSTD_cwksp_internal_advance_phase()
295 void* const alloc = ws->objectEnd; in ZSTD_cwksp_internal_advance_phase()
297 void* const objectEnd = (BYTE*)alloc + bytesToAlign; in ZSTD_cwksp_internal_advance_phase() local
299 RETURN_ERROR_IF(objectEnd > ws->workspaceEnd, memory_allocation, in ZSTD_cwksp_internal_advance_phase()
301 ws->objectEnd = objectEnd; in ZSTD_cwksp_internal_advance_phase()
302 ws->tableEnd = objectEnd; /* table area starts being empty */ in ZSTD_cwksp_internal_advance_phase()
401 void* alloc = ws->objectEnd; in ZSTD_cwksp_reserve_object()
417 ws->objectEnd = end; in ZSTD_cwksp_reserve_object()
430 assert(ws->tableValidEnd >= ws->objectEnd); in ZSTD_cwksp_mark_tables_dirty()
432 ws->tableValidEnd = ws->objectEnd; in ZSTD_cwksp_mark_tables_dirty()
438 assert(ws->tableValidEnd >= ws->objectEnd); in ZSTD_cwksp_mark_tables_clean()
451 assert(ws->tableValidEnd >= ws->objectEnd); in ZSTD_cwksp_clean_tables()
467 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear_tables()
480 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear()
499 ws->objectEnd = ws->workspace; in ZSTD_cwksp_init()
500 ws->tableValidEnd = ws->objectEnd; in ZSTD_cwksp_init()