Searched refs:free_chunks (Results 1 – 14 of 14) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/ |
D | bfc_allocator.cc | 471 if (!BinFromIndex(i)->free_chunks.empty()) { in LargestFreeChunk() 472 return ChunkFromHandle(*BinFromIndex(i)->free_chunks.rbegin())->size; in LargestFreeChunk() 530 for (auto citer = b->free_chunks.begin(); citer != b->free_chunks.end(); in FindChunkPtr() 541 RemoveFreeChunkIterFromBin(&b->free_chunks, citer); in FindChunkPtr() 725 new_bin->free_chunks.insert(h); in InsertFreeChunkIntoBin() 729 BFCAllocator::Bin::FreeChunkSet* free_chunks, in RemoveFreeChunkIterFromBin() argument 734 free_chunks->erase(citer); in RemoveFreeChunkIterFromBin() 741 CHECK_GT(BinFromIndex(c->bin_num)->free_chunks.erase(h), 0) in RemoveFreeChunkFromBin() 992 CHECK_EQ(b->free_chunks.size(), in DumpMemoryLog() 1015 for (ChunkHandle h : b->free_chunks) { in DumpMemoryLog() [all …]
|
D | bfc_allocator.h | 260 FreeChunkSet free_chunks; member 262 : bin_size(bs), free_chunks(ChunkComparator(allocator)) {} in Bin() 474 void RemoveFreeChunkIterFromBin(Bin::FreeChunkSet* free_chunks,
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_arbiter_impl.cc | 149 uint32_t free_chunks; in GetNewChunk() local 151 free_chunks = (1 << SharedMemoryABI::kNumChunksForLayout[layout]) - 1; in GetNewChunk() 153 free_chunks = shmem_abi_.GetFreeChunks(page_idx_); in GetNewChunk() 156 for (uint32_t chunk_idx = 0; free_chunks; in GetNewChunk() 157 chunk_idx++, free_chunks >>= 1) { in GetNewChunk() 158 if (!(free_chunks & 1)) in GetNewChunk()
|
/external/e2fsprogs/misc/ |
D | e2freefrag.h | 14 unsigned long free_chunks; /* total free chunks of given size */ member
|
D | e2freefrag.c | 158 info->free_chunks++; in scan_block_bitmap() 280 total_chunks, info->free_chunks, in dump_chunk_info() 281 (double)info->free_chunks * 100 / total_chunks); in dump_chunk_info()
|
/external/e2fsprogs/contrib/android/ |
D | ext2simg.c | 98 static void free_chunks(void) in free_chunks() function 220 free_chunks(); in main()
|
/external/e2fsprogs/debugfs/ |
D | e2freefrag.c | 158 info->free_chunks++; in scan_block_bitmap() 280 total_chunks, info->free_chunks, in dump_chunk_info() 281 (double)info->free_chunks * 100 / total_chunks); in dump_chunk_info()
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_var.h | 161 TAILQ_INSERT_TAIL(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \ 172 if (TAILQ_EMPTY(&(_stcb)->asoc.free_chunks)) { \ 180 (_chk) = TAILQ_FIRST(&(_stcb)->asoc.free_chunks); \ 181 TAILQ_REMOVE(&(_stcb)->asoc.free_chunks, (_chk), sctp_next); \
|
D | sctp_structs.h | 874 struct sctpchunk_listhead free_chunks; member
|
D | sctp_uio.h | 316 uint32_t free_chunks; member
|
D | sctp_pcb.c | 162 spcb->free_chunks = SCTP_BASE_INFO(ipi_free_chunks); 5780 TAILQ_FOREACH_SAFE(chk, &asoc->free_chunks, sctp_next, nchk) { 5781 TAILQ_REMOVE(&asoc->free_chunks, chk, sctp_next);
|
D | sctputil.c | 1386 TAILQ_INIT(&asoc->free_chunks); in sctp_init_asoc()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_test.cpp | 1288 std::set<u32> free_chunks(free_array.begin(), free_array.end()); in TestReleaseFreeMemoryToOS() local 1294 bool is_free_chunk = free_chunks.find(current_chunk) != free_chunks.end(); in TestReleaseFreeMemoryToOS()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_bfc_allocator_test.cc | 699 num_chunks_in_bins += bin->free_chunks.size(); in TestRegionDeallocation()
|