Home
last modified time | relevance | path

Searched refs:cardAddr (Results 1 – 1 of 1) sorted by relevance

/dalvik/vm/alloc/
DCardTable.c102 bool dvmIsValidCard(const u1 *cardAddr) in dvmIsValidCard() argument
105 return cardAddr >= h->cardTableBase && in dvmIsValidCard()
106 cardAddr < &h->cardTableBase[h->cardTableLength]; in dvmIsValidCard()
116 u1 *cardAddr = biasedBase + ((uintptr_t)addr >> GC_CARD_SHIFT); in dvmCardFromAddr() local
117 assert(dvmIsValidCard(cardAddr)); in dvmCardFromAddr()
118 return cardAddr; in dvmCardFromAddr()
124 void *dvmAddrFromCard(const u1 *cardAddr) in dvmAddrFromCard() argument
126 assert(dvmIsValidCard(cardAddr)); in dvmAddrFromCard()
127 uintptr_t offset = cardAddr - gDvm.biasedCardTableBase; in dvmAddrFromCard()
136 u1 *cardAddr = dvmCardFromAddr(addr); in dvmMarkCard() local
[all …]