Lines Matching refs:tableEnd
147 void* tableEnd; member
166 assert(ws->objectEnd <= ws->tableEnd); in ZSTD_cwksp_assert_internal_consistency()
168 assert(ws->tableEnd <= ws->allocStart); in ZSTD_cwksp_assert_internal_consistency()
248 void* const bottom = ws->tableEnd; in ZSTD_cwksp_reserve_internal_buffer_space()
302 ws->tableEnd = objectEnd; /* table area starts being empty */ in ZSTD_cwksp_internal_advance_phase()
303 if (ws->tableValidEnd < ws->tableEnd) { in ZSTD_cwksp_internal_advance_phase()
304 ws->tableValidEnd = ws->tableEnd; in ZSTD_cwksp_internal_advance_phase()
372 alloc = ws->tableEnd; in ZSTD_cwksp_reserve_table()
386 ws->tableEnd = end; in ZSTD_cwksp_reserve_table()
418 ws->tableEnd = end; in ZSTD_cwksp_reserve_object()
440 if (ws->tableValidEnd < ws->tableEnd) { in ZSTD_cwksp_mark_tables_clean()
441 ws->tableValidEnd = ws->tableEnd; in ZSTD_cwksp_mark_tables_clean()
453 if (ws->tableValidEnd < ws->tableEnd) { in ZSTD_cwksp_clean_tables()
454 ZSTD_memset(ws->tableValidEnd, 0, (BYTE*)ws->tableEnd - (BYTE*)ws->tableValidEnd); in ZSTD_cwksp_clean_tables()
467 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear_tables()
480 ws->tableEnd = ws->objectEnd; in ZSTD_cwksp_clear()
537 return (size_t)((BYTE*)ws->tableEnd - (BYTE*)ws->workspace) in ZSTD_cwksp_used()
568 return (size_t)((BYTE*)ws->allocStart - (BYTE*)ws->tableEnd); in ZSTD_cwksp_available_space()