Lines Matching refs:bszB
263 SizeT mk_inuse_bszB ( SizeT bszB ) in mk_inuse_bszB() argument
265 vg_assert2(bszB != 0, probably_your_fault); in mk_inuse_bszB()
266 return bszB & (~SIZE_T_0x1); in mk_inuse_bszB()
269 SizeT mk_free_bszB ( SizeT bszB ) in mk_free_bszB() argument
271 vg_assert2(bszB != 0, probably_your_fault); in mk_free_bszB()
272 return bszB | SIZE_T_0x1; in mk_free_bszB()
275 SizeT mk_plain_bszB ( SizeT bszB ) in mk_plain_bszB() argument
277 vg_assert2(bszB != 0, probably_your_fault); in mk_plain_bszB()
278 return bszB & (~SIZE_T_0x1); in mk_plain_bszB()
316 void set_bszB ( Block* b, SizeT bszB ) in set_bszB() argument
319 *(SizeT*)&b2[0 + hp_overhead_szB()] = bszB; in set_bszB()
320 *(SizeT*)&b2[mk_plain_bszB(bszB) - sizeof(SizeT)] = bszB; in set_bszB()
329 SizeT bszB = get_bszB_as_is(b); in is_inuse_block() local
330 vg_assert2(bszB != 0, probably_your_fault); in is_inuse_block()
331 return (0 != (bszB & SIZE_T_0x1)) ? False : True; in is_inuse_block()
373 SizeT bszB_to_pszB ( Arena* a, SizeT bszB ) in bszB_to_pszB() argument
375 vg_assert2(bszB >= overhead_szB(a), probably_your_fault); in bszB_to_pszB()
376 return bszB - overhead_szB(a); in bszB_to_pszB()
457 SizeT bszB = mk_plain_bszB( (*(SizeT*)&b2[-sizeof(SizeT)]) ); in get_predecessor_block() local
458 return (Block*)&b2[-bszB]; in get_predecessor_block()
1548 void mkFreeBlock ( Arena* a, Block* b, SizeT bszB, UInt b_lno ) in mkFreeBlock() argument
1550 SizeT pszB = bszB_to_pszB(a, bszB); in mkFreeBlock()
1552 INNER_REQUEST(VALGRIND_MAKE_MEM_UNDEFINED(b, bszB)); in mkFreeBlock()
1554 set_bszB(b, mk_free_bszB(bszB)); in mkFreeBlock()
1577 void mkInuseBlock ( Arena* a, Block* b, SizeT bszB ) in mkInuseBlock() argument
1580 vg_assert(bszB >= min_useful_bszB(a)); in mkInuseBlock()
1581 INNER_REQUEST(VALGRIND_MAKE_MEM_UNDEFINED(b, bszB)); in mkInuseBlock()
1582 set_bszB(b, mk_inuse_bszB(bszB)); in mkInuseBlock()
1598 void shrinkInuseBlock ( Arena* a, Block* b, SizeT bszB ) in shrinkInuseBlock() argument
1602 vg_assert(bszB >= min_useful_bszB(a)); in shrinkInuseBlock()
1604 set_bszB(b, mk_inuse_bszB(bszB)); in shrinkInuseBlock()