Home
last modified time | relevance | path

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

/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx268 const auto buffer_zone_end = aligned_ptr - AllocationHeader::buffer_zone_size(); in extract_header_() local
270 PetscCall(PetscUnpoisonMemoryRegion(buffer_zone_end, sizeof(*buffer_zone_end))); in extract_header_()
273 const auto alignment_offset = *buffer_zone_end; in extract_header_()
275 …*header = reinterpret_cast<AllocationHeader *>(buffer_zone_end - alignment_offset - sizeof(Allocat… in extract_header_()
277 PetscCall(PetscPoisonMemoryRegion(buffer_zone_end, sizeof(*buffer_zone_end))); in extract_header_()