Searched refs:curPagePos (Results 1 – 2 of 2) sorted by relevance
485 if (scratch->curPagePos == PAGE_SIZE - sizeof(ppnum_t)) { in hibernate_scratch_io()486 ppnum_t *nextPage = (ppnum_t *)(scratch->curPage + scratch->curPagePos); in hibernate_scratch_io()492 scratch->curPagePos = 0; in hibernate_scratch_io()494 size_t curPageRemaining = PAGE_SIZE - sizeof(ppnum_t) - scratch->curPagePos; in hibernate_scratch_io()498 __nosan_memcpy(scratch->curPage + scratch->curPagePos, buffer, toCopy); in hibernate_scratch_io()501 __nosan_memcpy(buffer, scratch->curPage + scratch->curPagePos, toCopy); in hibernate_scratch_io()504 scratch->curPagePos += toCopy; in hibernate_scratch_io()
367 size_t curPagePos; member