Searched refs:ROUNDOFFSET (Results 1 – 2 of 2) sorted by relevance
71 #define ROUNDOFFSET(a, b) ((a) & ((b) - 1)) macro
404 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()