Lines Matching defs:szB
78 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB,
102 const int l = (mc->szB >= MC_(clo_freelist_big_blocks) ? 0 : 1);
113 if (mc->szB >= MC_(clo_freelist_vol)) {
122 VG_(free_queue_volume) += (Long)mc->szB;
149 VG_(free_queue_volume) -= (Long)mc1->szB;
178 if (VG_(addr_is_in_block)( a, mc->data, mc->szB,
190 MC_Chunk* create_MC_Chunk ( ThreadId tid, Addr p, SizeT szB,
195 mc->szB = szB;
241 if (found_mc->szB != mc->szB
340 Addr p, SizeT szB, SizeT alignB,
350 p = (Addr)VG_(cli_malloc)( alignB, szB );
355 VG_(memset)((void*)p, 0, szB);
359 VG_(memset)((void*)p, MC_(clo_malloc_fill), szB);
365 cmalloc_bs_mallocd += (ULong)szB;
366 mc = create_MC_Chunk (tid, p, szB, kind);
370 MC_(make_mem_defined)( p, szB );
374 MC_(make_mem_undefined_w_otag)( p, szB, ecu | MC_OKIND_HEAP );
438 VG_(memset)((void*)mc->data, MC_(clo_free_fill), mc->szB);
443 MC_(make_mem_noaccess)( mc->data-rzB, mc->szB + 2*rzB );
542 old_szB = old_mc->szB;
632 return ( mc ? mc->szB : 0 );
643 if (!mc || mc->szB != oldSizeB || newSizeB == 0) {
653 mc->szB = newSizeB;
738 MC_(make_mem_noaccess)(mc->data-mp->rzB, mc->szB + 2*mp->rzB );
804 if (chunks[i]->data + chunks[i]->szB > chunks[i+1]->data ) {
822 chunks[i]->szB + 0UL,
824 chunks[i]->data + chunks[i]->szB);
832 void MC_(mempool_alloc)(ThreadId tid, Addr pool, Addr addr, SizeT szB)
838 pool, addr, szB);
847 MC_(new_block)(tid, addr, szB, /*ignored*/0, mp->is_zeroed,
855 MC_(make_mem_noaccess) ( addr + szB, mp->rzB);
888 pool, addr, mc->szB + 0UL);
896 void MC_(mempool_trim)(Addr pool, Addr addr, SizeT szB)
906 pool, addr, szB);
931 hi = mc->szB == 0 ? mc->data : mc->data + mc->szB - 1;
933 #define EXTENT_CONTAINS(x) ((addr <= (x)) && ((x) < addr + szB))
978 if (mc->data + szB > addr + szB) {
979 max = mc->data + szB;
980 hi = addr + szB;
982 max = addr + szB;
983 hi = mc->data + szB;
999 mc->szB = (UInt) (hi - lo);
1032 void MC_(mempool_change)(Addr pool, Addr addrA, Addr addrB, SizeT szB)
1040 pool, addrA, addrB, szB);
1059 mc->szB = szB;
1096 nbytes += (ULong)mc->szB;