Lines Matching refs:bits
29 void *bits; in dvmHeapBitmapInit() local
34 bitsLen = HB_OFFSET_TO_INDEX(maxSize) * sizeof(*hb->bits); in dvmHeapBitmapInit()
35 bits = dvmAllocRegion(bitsLen, PROT_READ | PROT_WRITE, name); in dvmHeapBitmapInit()
36 if (bits == NULL) { in dvmHeapBitmapInit()
40 hb->bits = (unsigned long *)bits; in dvmHeapBitmapInit()
54 if (hb->bits != NULL) { in dvmHeapBitmapDelete()
55 munmap((char *)hb->bits, hb->allocLen); in dvmHeapBitmapDelete()
68 if (hb->bits != NULL) { in dvmHeapBitmapZero()
72 madvise(hb->bits, hb->bitsLen, MADV_DONTNEED); in dvmHeapBitmapZero()
88 return index < hb->bitsLen / sizeof(*hb->bits); in dvmHeapBitmapCoversAddress()
101 assert(bitmap->bits != NULL); in dvmHeapBitmapWalk()
105 unsigned long word = bitmap->bits[i]; in dvmHeapBitmapWalk()
135 assert(bitmap->bits != NULL); in dvmHeapBitmapScanWalk()
140 unsigned long word = bitmap->bits[i]; in dvmHeapBitmapScanWalk()
168 assert(liveHb->bits != NULL); in dvmHeapBitmapSweepWalk()
170 assert(markHb->bits != NULL); in dvmHeapBitmapSweepWalk()
186 unsigned long *live = liveHb->bits; in dvmHeapBitmapSweepWalk()
187 unsigned long *mark = markHb->bits; in dvmHeapBitmapSweepWalk()