Searched refs:mp_free_chunks (Results 1 – 1 of 1) sorted by relevance
31 int mp_free_chunks; /* number of total free chunks */ member63 mp->mp_total_chunks = mp->mp_free_chunks; in MPCreate()64 total_size = chunk_size * ((size_t)mp->mp_free_chunks); in MPCreate()98 mp->mp_freeptr->mc_free_chunks = mp->mp_free_chunks; in MPCreate()115 if (mp->mp_free_chunks == 0) { in MPAllocateChunk()116 TRACE_INFO("mp_free_chunks: %u\n", mp->mp_free_chunks); in MPAllocateChunk()122 mp->mp_free_chunks--; in MPAllocateChunk()154 mp->mp_free_chunks++; in MPFreeChunk()176 return mp->mp_free_chunks; in MPGetFreeChunks()186 if (danger_num < mp->mp_total_chunks - mp->mp_free_chunks) { in MPIsDanger()[all …]