• Home
  • Raw
  • Download

Lines Matching refs:classLoader

84 static void checkAllFree(Object* classLoader);
91 static inline LinearAllocHdr* getHeader(Object* classLoader) in getHeader() argument
108 LinearAllocHdr* dvmLinearAllocCreate(Object* classLoader) in dvmLinearAllocCreate() argument
226 void dvmLinearAllocDestroy(Object* classLoader) in dvmLinearAllocDestroy() argument
231 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAllocDestroy()
235 checkAllFree(classLoader); in dvmLinearAllocDestroy()
242 classLoader, pHdr->curOffset, pHdr->mapLength, in dvmLinearAllocDestroy()
265 void* dvmLinearAlloc(Object* classLoader, size_t size) in dvmLinearAlloc() argument
267 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAlloc()
275 LOGVV("--- LinearAlloc(%p, %d)", classLoader, size); in dvmLinearAlloc()
395 char* dvmLinearStrdup(Object* classLoader, const char* str) in dvmLinearStrdup() argument
401 void* mem = dvmLinearAlloc(classLoader, len+1); in dvmLinearStrdup()
404 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearStrdup()
417 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize) in dvmLinearRealloc() argument
424 assert(mem >= (void*) getHeader(classLoader)->mapAddr && in dvmLinearRealloc()
425 mem < (void*) (getHeader(classLoader)->mapAddr + in dvmLinearRealloc()
426 getHeader(classLoader)->curOffset)); in dvmLinearRealloc()
434 dvmLinearSetReadWrite(classLoader, mem); in dvmLinearRealloc()
440 newMem = dvmLinearAlloc(classLoader, newSize); in dvmLinearRealloc()
443 dvmLinearFree(classLoader, mem); in dvmLinearRealloc()
452 static void updatePages(Object* classLoader, void* mem, int direction) in updatePages() argument
454 LinearAllocHdr* pHdr = getHeader(classLoader); in updatePages()
536 void dvmLinearSetReadOnly(Object* classLoader, void* mem) in dvmLinearSetReadOnly() argument
541 updatePages(classLoader, mem, -1); in dvmLinearSetReadOnly()
552 void dvmLinearSetReadWrite(Object* classLoader, void* mem) in dvmLinearSetReadWrite() argument
557 updatePages(classLoader, mem, 1); in dvmLinearSetReadWrite()
563 void dvmLinearFree(Object* classLoader, void* mem) in dvmLinearFree() argument
573 assert(mem >= (void*) getHeader(classLoader)->mapAddr && in dvmLinearFree()
574 mem < (void*) (getHeader(classLoader)->mapAddr + in dvmLinearFree()
575 getHeader(classLoader)->curOffset)); in dvmLinearFree()
578 dvmLinearSetReadWrite(classLoader, mem); in dvmLinearFree()
584 dvmLinearSetReadOnly(classLoader, mem); in dvmLinearFree()
593 void dvmLinearAllocDump(Object* classLoader) in dvmLinearAllocDump() argument
598 LinearAllocHdr* pHdr = getHeader(classLoader); in dvmLinearAllocDump()
602 ALOGI("LinearAlloc classLoader=%p", classLoader); in dvmLinearAllocDump()
648 classLoader, pHdr->curOffset, pHdr->mapLength, in dvmLinearAllocDump()
660 static void checkAllFree(Object* classLoader) in checkAllFree() argument
665 LinearAllocHdr* pHdr = getHeader(classLoader); in checkAllFree()
678 ALOGW("LinearAlloc %p not freed: %p len=%d", classLoader, in checkAllFree()