Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/memory_utils/libpurgeablemem/common/src/
H A Dux_page_table_c.c145 static int UnmapUxptePages(uxpte_t *ptes, size_t size);
162 void *ptes = mmap(NULL, uptSize, prot, type, -1, UxptePageNo((uint64_t)dataPtr) * PAGE_SIZE); in CheckUxpt() local
163 if (ptes != MAP_FAILED) { in CheckUxpt()
166 if (munmap(ptes, uptSize) != 0) { in CheckUxpt()
173 ptes = NULL; in CheckUxpt()
424 uxpte_t *ptes = (uxpte_t*)mmap(NULL, size, prot, type, -1, UxptePageNo(dataAddr) * PAGE_SIZE); in MapUxptePages() local
425 if (ptes == MAP_FAILED) { in MapUxptePages()
427 ptes = NULL; in MapUxptePages()
430 return ptes; in MapUxptePages()
433 static int UnmapUxptePages(uxpte_t *ptes, size_t size) in UnmapUxptePages() argument
[all …]