Home
last modified time | relevance | path

Searched refs:nearest_chunk (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator_secondary.h185 uptr nearest_chunk = 0; in GetBlockBegin() local
191 if (p - ch < p - nearest_chunk) in GetBlockBegin()
192 nearest_chunk = ch; in GetBlockBegin()
194 if (!nearest_chunk) in GetBlockBegin()
197 AddressSpaceView::Load(reinterpret_cast<Header *>(nearest_chunk)); in GetBlockBegin()
198 Header *h_ptr = reinterpret_cast<Header *>(nearest_chunk); in GetBlockBegin()
199 CHECK_GE(nearest_chunk, h->map_beg); in GetBlockBegin()
200 CHECK_LT(nearest_chunk, h->map_beg + h->map_size); in GetBlockBegin()
201 CHECK_LE(nearest_chunk, p); in GetBlockBegin()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h1153 uptr nearest_chunk = 0; in GetBlockBegin() local
1158 if (p - ch < p - nearest_chunk) in GetBlockBegin()
1159 nearest_chunk = ch; in GetBlockBegin()
1161 if (!nearest_chunk) in GetBlockBegin()
1163 Header *h = reinterpret_cast<Header *>(nearest_chunk); in GetBlockBegin()
1164 CHECK_GE(nearest_chunk, h->map_beg); in GetBlockBegin()
1165 CHECK_LT(nearest_chunk, h->map_beg + h->map_size); in GetBlockBegin()
1166 CHECK_LE(nearest_chunk, p); in GetBlockBegin()