Searched refs:bitsLen (Results 1 – 6 of 6) sorted by relevance
30 size_t bitsLen; in dvmHeapBitmapInit() local34 bitsLen = HB_OFFSET_TO_INDEX(maxSize) * sizeof(*hb->bits); in dvmHeapBitmapInit()35 bits = dvmAllocRegion(bitsLen, PROT_READ | PROT_WRITE, name); in dvmHeapBitmapInit()37 ALOGE("Could not mmap %zd-byte ashmem region '%s'", bitsLen, name); in dvmHeapBitmapInit()41 hb->bitsLen = hb->allocLen = bitsLen; in dvmHeapBitmapInit()72 madvise(hb->bits, hb->bitsLen, MADV_DONTNEED); in dvmHeapBitmapZero()88 return index < hb->bitsLen / sizeof(*hb->bits); in dvmHeapBitmapCoversAddress()172 assert(liveHb->bitsLen == markHb->bitsLen); in dvmHeapBitmapSweepWalk()
53 size_t bitsLen; member
36 assert(index < hb->bitsLen / sizeof(*hb->bits)); in _heapBitmapModifyObjectBit()
888 assert(gHs->liveBits.bitsLen == gHs->markBits.bitsLen); in dvmMarkImmuneObjects()
832 for (size_t i = 0; i < bitmap->bitsLen >> 2; ++i) { in sumHeapBitmap()
34 assert(hb.bitsLen >= HB_OFFSET_TO_INDEX(HEAP_SIZE)); in test_init()54 assert(hb.bitsLen == 0); in test_init()70 for (i = 0; i < hb->bitsLen / sizeof (*hb->bits); i++) { in is_zeroed()81 assert(hb->bitsLen >= HB_OFFSET_TO_INDEX(HEAP_SIZE)); in assert_empty()