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

Function _anon_varea_close

components/mm/mm_anon.c:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183static void _anon_varea_close(struct rt_varea *varea)
184{
185 rt_aspace_anon_ref_dec(varea->mem_obj);
186
187 /* unmap and dereference page frames in the varea region */
188 _pgmgr_pop_all(varea);
189}
190
191static rt_err_t _anon_varea_expand(struct rt_varea *varea, void *new_vaddr, rt_size_t size)
192{

Callers

nothing calls this directly

Calls 2

rt_aspace_anon_ref_decFunction · 0.85
_pgmgr_pop_allFunction · 0.85

Tested by

no test coverage detected