reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
904 if (size == 0) 910 if (size <= offset) 913 size -= offset; 918 if (!IsAppMem(addr) || !IsAppMem(addr + size - 1)) 922 size = (size + (kShadowCell - 1)) & ~(kShadowCell - 1); 922 size = (size + (kShadowCell - 1)) & ~(kShadowCell - 1); 924 if (SANITIZER_WINDOWS || size < common_flags()->clear_shadow_mmap_threshold) { 927 CHECK(IsShadowMem((uptr)(p + size * kShadowCnt / kShadowCell - 1))); 929 for (uptr i = 0; i < size / kShadowCell * kShadowCnt;) { 938 u64 *end = begin + size / kShadowCell * kShadowCnt;