Home
last modified time | relevance | path

Searched refs:free_chunks (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/
Dbfc_allocator.cc471 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 …]
Dbfc_allocator.h260 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/
Dshared_memory_arbiter_impl.cc149 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/
De2freefrag.h14 unsigned long free_chunks; /* total free chunks of given size */ member
De2freefrag.c158 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/
Dext2simg.c98 static void free_chunks(void) in free_chunks() function
220 free_chunks(); in main()
/external/e2fsprogs/debugfs/
De2freefrag.c158 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/
Dsctp_var.h161 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); \
Dsctp_structs.h874 struct sctpchunk_listhead free_chunks; member
Dsctp_uio.h316 uint32_t free_chunks; member
Dsctp_pcb.c162 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);
Dsctputil.c1386 TAILQ_INIT(&asoc->free_chunks); in sctp_init_asoc()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cpp1288 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/
Dgpu_bfc_allocator_test.cc699 num_chunks_in_bins += bin->free_chunks.size(); in TestRegionDeallocation()