Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stack_store.h21 static constexpr uptr kBlockSizeFrames = 0x100000; variable
23 static constexpr uptr kBlockSizeBytes = kBlockSizeFrames * sizeof(uptr);
35 static_assert(u64(kBlockCount) * kBlockSizeFrames == 1ull << (sizeof(Id) * 8),
57 return frame_idx / kBlockSizeFrames; in GetBlockIdx()
61 return frame_idx % kBlockSizeFrames; in GetInBlockIdx()
H A Dsanitizer_stack_store.cpp91 CHECK_LE(count, kBlockSizeFrames); in Alloc()
92 uptr in_first = kBlockSizeFrames - GetInBlockIdx(start); in Alloc()
285 unpacked + kBlockSizeFrames); in GetOrUnpack()
289 unpacked + kBlockSizeFrames); in GetOrUnpack()
296 CHECK_EQ(kBlockSizeFrames, unpacked_end - unpacked); in GetOrUnpack()
332 CompressDelta(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack()
336 CompressLzw(ptr, ptr + kBlockSizeFrames, header->data, alloc_end); in Pack()
376 kBlockSizeFrames; in Stored()