Searched refs:next_alloc_offset_ (Results 1 – 4 of 4) sorted by relevance
40 next_alloc_offset_(0), in ProtectedMemoryAllocator()63 if (valid_ && next_alloc_offset_ + bytes <= pool_size_) { in Allocate()64 char *p = (char*)base_address_ + next_alloc_offset_; in Allocate()65 next_alloc_offset_ += bytes; in Allocate()
66 vm_size_t GetAllocatedSize() { return next_alloc_offset_; } in GetAllocatedSize()69 vm_size_t GetFreeSize() { return pool_size_ - next_alloc_offset_; } in GetFreeSize()81 vm_size_t next_alloc_offset_; variable
136 GpuDevicePtr next_va = vmem_.base + next_alloc_offset_; in Alloc()166 next_alloc_offset_ += handle.bytes; in Alloc()211 next_alloc_offset_ = mapping_it->va - vmem_.base; in Free()
95 size_t next_alloc_offset_ = 0; variable