• Home
  • Raw
  • Download

Lines Matching refs:req_szB

592 static Xecu add_heap_xt( ThreadId tid, SizeT req_szB, Bool exclude_first_entry)  in add_heap_xt()  argument
597 VG_(XTMemory_Full_alloc)(req_szB, ec); in add_heap_xt()
598 return VG_(XT_add_to_ec) (heap_xt, ec, &req_szB); in add_heap_xt()
602 static void sub_heap_xt(Xecu where, SizeT req_szB, Bool exclude_first_entry) in sub_heap_xt() argument
606 if (0 == req_szB) in sub_heap_xt()
609 VG_(XT_sub_from_xecu) (heap_xt, where, &req_szB); in sub_heap_xt()
613 VG_(XTMemory_Full_free)(req_szB, in sub_heap_xt()
1090 SizeT req_szB; // Size requested member
1122 void* record_block( ThreadId tid, void* p, SizeT req_szB, SizeT slop_szB, in record_block() argument
1127 hc->req_szB = req_szB; in record_block()
1134 VERB(3, "<<< record_block (%lu, %lu)\n", req_szB, slop_szB); in record_block()
1136 hc->where = add_heap_xt( tid, req_szB, exclude_first_entry); in record_block()
1143 update_heap_stats(req_szB, clo_heap_admin + slop_szB); in record_block()
1164 void* alloc_and_record_block ( ThreadId tid, SizeT req_szB, SizeT req_alignB, in alloc_and_record_block() argument
1170 if ((SSizeT)req_szB < 0) return NULL; in alloc_and_record_block()
1173 p = VG_(cli_malloc)( req_alignB, req_szB ); in alloc_and_record_block()
1177 if (is_zeroed) VG_(memset)(p, 0, req_szB); in alloc_and_record_block()
1179 tl_assert(actual_szB >= req_szB); in alloc_and_record_block()
1180 slop_szB = actual_szB - req_szB; in alloc_and_record_block()
1183 record_block(tid, p, req_szB, slop_szB, /*exclude_first_entry*/True, in alloc_and_record_block()
1211 update_heap_stats(-hc->req_szB, -clo_heap_admin - hc->slop_szB); in unrecord_block()
1214 sub_heap_xt(hc->where, hc->req_szB, exclude_first_entry); in unrecord_block()
1227 VERB(3, ">>> (-%lu, -%lu)\n", hc->req_szB, hc->slop_szB); in unrecord_block()
1259 old_req_szB = hc->req_szB; in realloc_block()
1305 hc->req_szB = new_req_szB; in realloc_block()
1420 return ( hc ? hc->req_szB + hc->slop_szB : 0 ); in ms_malloc_usable_size()
1840 xta->nbytes = hc->req_szB; in xtmemory_report_next_block()