Home
last modified time | relevance | path

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

/external/pigweed/pw_allocator/
Dfreelist.cc32 size_t chunk_ptr = FindChunkPtrForSize(chunk.size(), false); in AddChunk() local
36 aliased.node->next = chunks_[chunk_ptr]; in AddChunk()
37 chunks_[chunk_ptr] = aliased.node; in AddChunk()
47 size_t chunk_ptr = FindChunkPtrForSize(size, true); in FindChunk() local
51 if (chunks_[chunk_ptr] == nullptr) { in FindChunk()
56 for (size_t i = chunk_ptr; i < chunks_.size(); i++) { in FindChunk()
78 size_t chunk_ptr = FindChunkPtrForSize(chunk.size(), true); in RemoveChunk() local
87 if (chunks_[chunk_ptr] == nullptr) { in RemoveChunk()
91 aliased.node = chunks_[chunk_ptr]; in RemoveChunk()
93 chunks_[chunk_ptr] = aliased.node->next; in RemoveChunk()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Dpool_allocator.cc67 void* chunk_ptr; member
75 cp->chunk_ptr = chunk; in PrepareChunk()
82 (reinterpret_cast<ChunkPrefix*>(user_ptr) - 1)->chunk_ptr = chunk; in PrepareChunk()
91 return reinterpret_cast<ChunkPrefix*>(cp->chunk_ptr); in FindPrefix()
Dbfc_allocator.cc491 const void* chunk_ptr, int64 req_bytes, in AddTraceMe() argument
494 [this, traceme_name, chunk_ptr, req_bytes, alloc_bytes]() in AddTraceMe()
513 {"addr", reinterpret_cast<uint64>(chunk_ptr)}, in AddTraceMe()
654 void* chunk_ptr = chunk->ptr; in DeallocateRawInternal() local
670 AddTraceMe("MemoryDeallocation", chunk_ptr, req_bytes, alloc_bytes); in DeallocateRawInternal()
Dbfc_allocator.h129 void AddTraceMe(absl::string_view traceme_name, const void* chunk_ptr,
/external/mesa3d/src/freedreno/decode/
Dcrashdec.c799 uint32_t *chunk_ptr = &mempool[cur_block * 0x20 + cur_chunk * 4]; in dump_cp_mem_pool() local
801 dump_mem_pool_chunk(chunk_ptr); in dump_cp_mem_pool()
805 chunk_ptr[0], chunk_ptr[1], chunk_ptr[2], chunk_ptr[3]); in dump_cp_mem_pool()