HomeSort by: relevance | last modified time | path
    Searched refs:RoundUpTo (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/sys/external/bsd/compiler_rt/dist/lib/asan/
asan_premap_shadow.cc 30 return RoundUpTo(GetMaxVirtualAddress() >> SHADOW_SCALE, granularity);
45 uptr shadow_start = RoundUpTo(map_start + left_padding, alignment);
asan_linux.cc 109 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity);
125 uptr shadow_size = RoundUpTo(kHighShadowEnd, granularity);
131 uptr shadow_start = RoundUpTo(map_start + left_padding, alignment);
asan_poisoning.h 61 uptr page_beg = RoundUpTo(shadow_beg, page_size);
asan_malloc_linux.cc 44 uptr size_in_words = RoundUpTo(size_in_bytes, kWordSize) / kWordSize;
73 uptr aligned_addr = RoundUpTo(addr, alignment);
74 uptr aligned_size = RoundUpTo(size_in_bytes, kWordSize);
asan_shadow_setup.cc 51 RoundUpTo(MEM_TO_SHADOW(addr + size), GetPageSizeCached()) - 1;
asan_poisoning.cc 195 uptr aligned_b = RoundUpTo(beg, SHADOW_GRANULARITY);
377 uptr c = RoundUpTo(Max(old_mid, new_mid), granularity);
379 // uptr d2 = RoundUpTo(old_mid, granularity);
395 uptr b2 = RoundUpTo(new_mid, granularity);
asan_thread.cc 82 uptr size = RoundUpTo(sizeof(AsanThread), PageSize);
113 uptr size = RoundUpTo(sizeof(AsanThread), GetPageSizeCached());
313 uptr tls_end_aligned = RoundUpTo(tls_end_, SHADOW_GRANULARITY);
asan_fuchsia.cc 83 return RoundUpTo(sizeof(AsanThread), PAGE_SIZE);
asan_allocator.cc 148 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
427 uptr rounded_size = RoundUpTo(Max(size, kChunkHeader2Size), alignment);
480 user_beg = RoundUpTo(user_beg, alignment);
589 RoundUpTo(m->UsedSize(), SHADOW_GRANULARITY),
911 size = size ? RoundUpTo(size, PageSize) : PageSize;
  /src/sys/external/bsd/compiler_rt/dist/lib/msan/
msan_thread.cc 13 uptr size = RoundUpTo(sizeof(MsanThread), PageSize);
62 uptr size = RoundUpTo(sizeof(MsanThread), GetPageSizeCached());
msan_poisoning.cc 130 uptr page_beg = RoundUpTo(shadow_beg, PageSize);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_allocator_checks.h 72 return RoundUpTo(size, page_size) < size;
sanitizer_posix.cc 46 size = RoundUpTo(size, GetPageSizeCached());
69 size = RoundUpTo(size, GetPageSizeCached());
109 RoundUpTo(size, PageSize),
123 RoundUpTo(size, PageSize),
205 *buff_size = RoundUpTo(fsize, GetPageSizeCached());
sanitizer_fuchsia.cc 162 size = RoundUpTo(size, PAGE_SIZE);
208 init_size = RoundUpTo(init_size, PAGE_SIZE);
230 map_size = RoundUpTo(map_size, PAGE_SIZE);
268 size = RoundUpTo(size, PAGE_SIZE);
336 addr = RoundUpTo(map_addr, alignment);
405 size_t map_size = RoundUpTo(max_len, PAGE_SIZE);
sanitizer_malloc_mac.inc 58 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
79 uptr allocated_size = RoundUpTo(sizeof(sanitizer_zone), page_size);
sanitizer_allocator_combined.h 64 size = RoundUpTo(size, alignment);
sanitizer_allocator_secondary.h 170 return RoundUpTo(GetHeader(p)->size, page_size_);
310 return RoundUpTo(size, page_size_) + page_size_;
sanitizer_allocator_primary64.h 314 return RoundUpTo(sizeof(RegionInfo) * kNumClassesRounded,
351 (RoundUpTo(n, 1ULL << packing_ratio_log) >> packing_ratio_log) *
660 uptr new_mapped_free_array = RoundUpTo(needed_space, kFreeArrayMapSize);
712 RoundUpTo(total_user_bytes - region->mapped_user, kUserMapSize);
729 RoundUpTo(total_meta_bytes - region->mapped_meta, kMetaMapSize) : 0;
847 RoundUpTo(region->allocated_user, page_size) / page_size,
sanitizer_linux_libcdep.cc 262 g_tls_size = RoundUpTo(tls_size, tls_align);
342 RoundUpTo(ThreadDescriptorSize() + kTcbHead, kTlsAlign);
502 return RoundUpTo(g_tls_size + TlsPreTcbSize(), 16);
sanitizer_posix_libcdep.cc 62 uptr beg_aligned = RoundUpTo(beg, page_size);
340 RoundUpTo(size, PageSize), PROT_READ | PROT_WRITE,
sanitizer_allocator.cc 203 size = RoundUpTo(size, low_level_alloc_min_alignment);
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
allocator_test.cc 53 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize);
72 GetPageSizeCached() / RoundUpTo(sizeof(OddSizedData), kCacheLineSize);
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_allocator.h 41 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached());
81 uptr RoundedSize = RoundUpTo(sizeof(T), GetPageSizeCached());
92 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached());
130 uptr RoundedSize = RoundUpTo(S * sizeof(T), GetPageSizeCached());
227 : MaxMemory(RoundUpTo(M, kCacheLineSize)),
xray_utils.cc 57 if (RoundUpTo(Offset, PageSize) != RoundUpTo(Offset + TotalBytes, PageSize)) {
  /src/sys/external/bsd/compiler_rt/dist/lib/interception/
interception_win.cc 169 static uptr RoundUpTo(uptr size, uptr boundary) {
328 void *page = ::VirtualAlloc((void*)RoundUpTo(address, granularity),

Completed in 39 milliseconds

1 2