Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/include/
Dlos_vm_common.h71 #define ROUNDOFFSET(a, b) ((a) & ((b) - 1)) macro
/kernel/liteos_a/kernel/extended/dynload/src/
Dlos_load_elf.c404 UINT32 offset = elfPhdr->offset - ROUNDOFFSET(elfPhdr->vAddr, PAGE_SIZE); in OsDoMmapFile()
410 size = elfPhdr->memSize + ROUNDOFFSET(elfPhdr->vAddr, PAGE_SIZE); in OsDoMmapFile()
463 ret = LOS_UserMemClear((VOID *)bssStart, PAGE_SIZE - ROUNDOFFSET(bssStart, PAGE_SIZE)); in OsSetBss()
523 *elfLoadAddr = mapAddr + ROUNDOFFSET(vAddr, PAGE_SIZE); in OsMmapELFFile()
531 bssStart = mapAddr + ROUNDOFFSET(vAddr, PAGE_SIZE) + elfPhdrTemp->fileSize; in OsMmapELFFile()
532 bssEnd = mapAddr + ROUNDOFFSET(vAddr, PAGE_SIZE) + elfPhdrTemp->memSize; in OsMmapELFFile()