Searched defs:Block (Results 1 – 3 of 3) sorted by relevance
86 struct Block { struct87 Block(size_t _chunkSize, size_t _numChunks) { in Block() argument117 Interval getInterval() const { in getInterval()123 bool isFull() const { return numFree == 0; } in isFull()125 uint8_t* getPtr(size_t element) { in getPtr()134 size_t getElement(void* ptr) { in getElement()140 void* alloc() { in alloc()177 void free(void* toFree) { in free()198 void freeAll() { in freeAll()204 Block* next = nullptr; // Unused for now[all …]
25 Block = 6, enumerator29 struct Block { struct31 std::promise<void> scheduledSignal;33 std::future<void> continueSignal;
58 struct Block { struct59 char* buffer = nullptr;60 SubAllocator* subAlloc = nullptr;61 uint64_t offsetIntoPhys = 0; // guest claimShared/mmap uses this63 bool isEmpty = true;64 bool dedicated = false;65 size_t dedicatedSize = 0;66 bool usesVirtioGpuHostmem = false;67 uint64_t hostmemId = 0;68 bool external = false;