• Home
  • Raw
  • Download

Lines Matching refs:chunks

621    mp->chunks     = VG_(HT_construct)( "MC_(create_mempool)" );  in MC_()
657 VG_(HT_ResetIter)(mp->chunks); in MC_()
658 while ( (mc = VG_(HT_Next)(mp->chunks)) ) { in MC_()
664 VG_(HT_destruct)(mp->chunks, (void (*)(void *))delete_MC_Chunk); in MC_()
685 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); in check_mempool_sane() local
686 if (!chunks) in check_mempool_sane()
698 VG_(HT_ResetIter)(mp2->chunks); in check_mempool_sane()
699 while (VG_(HT_Next)(mp2->chunks)) { in check_mempool_sane()
712 VG_(ssort)((void*)chunks, n_chunks, sizeof(VgHashNode*), mp_compar); in check_mempool_sane()
716 if (chunks[i]->data > chunks[i+1]->data) { in check_mempool_sane()
727 if (chunks[i]->data + chunks[i]->szB > chunks[i+1]->data ) { in check_mempool_sane()
745 chunks[i]->szB + 0UL, in check_mempool_sane()
746 chunks[i]->data, in check_mempool_sane()
747 chunks[i]->data + chunks[i]->szB); in check_mempool_sane()
749 VG_(pp_ExeContext)(chunks[i]->where); in check_mempool_sane()
752 VG_(free)(chunks); in check_mempool_sane()
771 MC_AllocCustom, mp->chunks); in MC_()
802 mc = VG_(HT_remove)(mp->chunks, (UWord)addr); in MC_()
825 VgHashNode** chunks; in MC_() local
840 chunks = VG_(HT_to_array) ( mp->chunks, &n_shadows ); in MC_()
842 tl_assert(chunks == NULL); in MC_()
846 tl_assert(chunks != NULL); in MC_()
851 mc = (MC_Chunk*) chunks[i]; in MC_()
871 if (VG_(HT_remove)(mp->chunks, (UWord)mc->data) == NULL) { in MC_()
873 VG_(free)(chunks); in MC_()
886 if (VG_(HT_remove)(mp->chunks, (UWord)mc->data) == NULL) { in MC_()
888 VG_(free)(chunks); in MC_()
923 VG_(HT_add_node)( mp->chunks, mc ); in MC_()
930 VG_(free)(chunks); in MC_()
975 mc = VG_(HT_remove)(mp->chunks, (UWord)addrA); in MC_()
983 VG_(HT_add_node)( mp->chunks, mc ); in MC_()