Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc37 free_chunks_list_(kInvalidChunkHandle), in BFCAllocator()
154 c->prev = kInvalidChunkHandle; in Extend()
155 c->next = kInvalidChunkHandle; in Extend()
167 if (free_chunks_list_ != kInvalidChunkHandle) { in AllocateChunk()
384 if (h_neighbor != kInvalidChunkHandle) { in SplitChunk()
408 CHECK(h != kInvalidChunkHandle); in DeallocateRawInternal()
438 if (h3 != kInvalidChunkHandle) { in Merge()
505 if (c->next != kInvalidChunkHandle && !ChunkFromHandle(c->next)->in_use()) { in FreeAndMaybeCoalesce()
513 if (c->prev != kInvalidChunkHandle && !ChunkFromHandle(c->prev)->in_use()) { in FreeAndMaybeCoalesce()
530 CHECK(h != kInvalidChunkHandle) in RequestedSize()
[all …]
Dbfc_allocator.h94 static const int kInvalidChunkHandle = -1; variable
133 ChunkHandle prev = kInvalidChunkHandle;
138 ChunkHandle next = kInvalidChunkHandle;
155 if (recurse && prev != BFCAllocator::kInvalidChunkHandle) { in DebugString()
159 if (recurse && next != BFCAllocator::kInvalidChunkHandle) { in DebugString()
221 handles_[i] = kInvalidChunkHandle; in AllocationRegion()
239 void erase(const void* p) { set_handle(p, kInvalidChunkHandle); } in erase()