Searched refs:atop_64_ppnum (Results 1 – 3 of 3) sorted by relevance
558 uint32_t lastImagePage = atop_64_ppnum(HIB_ROUND_PAGE(headerPhys + header->image1Size)); in hibernate_reserve_restore_pages()564 for (ppnum = atop_64_ppnum(headerPhys); ppnum <= lastImagePage; ppnum++) { in hibernate_reserve_restore_pages()644 lastImagePage = atop_64_ppnum(HIB_ROUND_PAGE(headerPhys + gIOHibernateCurrentHeader->image1Size)); in hibernate_kernel_entrypoint()645 lastMapPage = atop_64_ppnum(HIB_ROUND_PAGE(mapPhys + gIOHibernateCurrentHeader->bitmapSize)); in hibernate_kernel_entrypoint()673 gIOHibernateCurrentHeader->diag[0] = atop_64_ppnum(headerPhys); in hibernate_kernel_entrypoint()691 lastPageIndexPage = atop_64_ppnum(HIB_ROUND_PAGE(imageReadPhys)); in hibernate_kernel_entrypoint()771 conflicts = (ppnum >= atop_64_ppnum(mapPhys)) && (ppnum <= lastMapPage); in hibernate_kernel_entrypoint()773 conflicts |= ((ppnum >= atop_64_ppnum(imageReadPhys)) && (ppnum <= lastImagePage)); in hibernate_kernel_entrypoint()776 …conflicts |= ((ppnum >= atop_64_ppnum(srcPhys)) && (ppnum <= (handoffPages + handoffPageCount - 1)… in hibernate_kernel_entrypoint()780 conflicts |= ((ppnum >= atop_64_ppnum(pageIndexPhys)) && (ppnum <= lastPageIndexPage)); in hibernate_kernel_entrypoint()
96 #define atop_64_ppnum(x) ((ppnum_t)((uint64_t)(x) >> PAGE_SHIFT)) macro
1784 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64_ppnum(phys64) + pagesDone; in hibernate_write_image()1859 pageAndCount[0] = atop_64_ppnum(phys64); in hibernate_write_image()1860 pageAndCount[1] = atop_64_ppnum(segLen); in hibernate_write_image()1885 sum1 += hibernate_sum_page(src + page, atop_64_ppnum(phys64)); in hibernate_write_image()