Lines Matching full:pagesize
106 std::size_t PageSize) XRAY_NEVER_INSTRUMENT in MProtectHelper() argument
111 MProtectLen = RoundUpTo(MProtectLen, PageSize); in MProtectHelper()
311 const size_t PageSize = flags()->xray_page_size_override > 0 in controlPatching() local
314 if ((PageSize == 0) || ((PageSize & (PageSize - 1)) != 0)) { in controlPatching()
315 Report("System page size is not a power of two: %zu\n", PageSize); in controlPatching()
320 reinterpret_cast<void *>(MinSled->address() & ~(PageSize - 1)); in controlPatching()
324 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in controlPatching()
362 const size_t PageSize = flags()->xray_page_size_override > 0 in mprotectAndPatchFunction() local
365 if ((PageSize == 0) || ((PageSize & (PageSize - 1)) != 0)) { in mprotectAndPatchFunction()
366 Report("Provided page size is not a power of two: %zu\n", PageSize); in mprotectAndPatchFunction()
392 reinterpret_cast<void *>(MinSled->address() & ~(PageSize - 1)); in mprotectAndPatchFunction()
396 MProtectHelper Protector(PageAlignedAddr, MProtectLen, PageSize); in mprotectAndPatchFunction()