Lines Matching defs:alloc
6 #include <region-alloc/region-alloc.h>
51 RegionAllocator& alloc = *(reinterpret_cast<RegionAllocator*>(allocator));
59 zx_status_t ret = alloc.SetRegionPool(pool_ref);
73 RegionAllocator* alloc = reinterpret_cast<RegionAllocator*>(allocator);
74 alloc->~RegionAllocator();
75 ::free(alloc);
104 RegionAllocator& alloc = *(reinterpret_cast<RegionAllocator*>(allocator));
105 zx_status_t result = alloc.GetRegion(size, alignment, managed_region);
130 RegionAllocator& alloc = *(reinterpret_cast<RegionAllocator*>(allocator));
131 zx_status_t result = alloc.GetRegion(*requested_region, managed_region);
150 const RegionAllocator& alloc = *(reinterpret_cast<const RegionAllocator*>(allocator));
151 return alloc.AllocatedRegionCount();
156 const RegionAllocator& alloc = *(reinterpret_cast<const RegionAllocator*>(allocator));
157 return alloc.AvailableRegionCount();
178 const RegionAllocator& alloc = *(reinterpret_cast<const RegionAllocator*>(allocator));
179 alloc.WalkAllocatedRegions([cb, ctx](const ralloc_region_t* r) -> bool {