MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_varea_unmap_page

Function rt_varea_unmap_page

components/mm/mm_aspace.c:1365–1369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1363}
1364
1365int rt_varea_unmap_page(rt_varea_t varea, void *vaddr)
1366{
1367 void *va_aligned = (void *)RT_ALIGN_DOWN((rt_base_t)vaddr, ARCH_PAGE_SIZE);
1368 return rt_varea_unmap_range(varea, va_aligned, ARCH_PAGE_SIZE);
1369}
1370
1371/**
1372 * @note Caller should take care of synchronization of its varea among all the map/unmap operation

Callers 6

_pgmgr_pop_allFunction · 0.85
_pgmgr_pop_rangeFunction · 0.85
dfs_page_unmapFunction · 0.85
dfs_aspace_unmapFunction · 0.85
dfs_aspace_page_unmapFunction · 0.85
test_varea_unmap_pageFunction · 0.85

Calls 1

rt_varea_unmap_rangeFunction · 0.85

Tested by 1

test_varea_unmap_pageFunction · 0.68