Lines Matching refs:cszB
831 Superblock* newSuperblock ( Arena* a, SizeT cszB ) in newSuperblock() argument
848 cszB += sizeof(Superblock); in newSuperblock()
850 if (cszB < a->min_sblock_szB) cszB = a->min_sblock_szB; in newSuperblock()
851 cszB = VG_PGROUNDUP(cszB); in newSuperblock()
853 if (cszB >= a->min_unsplittable_sblock_szB) in newSuperblock()
862 ( cszB, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC ); in newSuperblock()
868 sres = VG_(am_mmap_anon_float_valgrind)( cszB ); in newSuperblock()
870 VG_(out_of_memory_NORETURN)("newSuperblock", cszB); in newSuperblock()
878 INNER_REQUEST(VALGRIND_MAKE_MEM_UNDEFINED(sb, cszB)); in newSuperblock()
880 sb->n_payload_bytes = cszB - sizeof(Superblock); in newSuperblock()
882 a->stats__bytes_mmaped += cszB; in newSuperblock()
900 SizeT cszB; in reclaimSuperblock() local
910 cszB = sizeof(Superblock) + sb->n_payload_bytes; in reclaimSuperblock()
924 a->stats__bytes_mmaped -= cszB; in reclaimSuperblock()
934 sres = VG_(am_munmap_client)(&need_discard, (Addr) sb, cszB); in reclaimSuperblock()
946 VG_(discard_translations) ((Addr) sb, cszB, "reclaimSuperblock"); in reclaimSuperblock()
949 sres = VG_(am_munmap_valgrind)((Addr) sb, cszB); in reclaimSuperblock()