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

Function rt_aspace_delete

components/mm/mm_aspace.c:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void rt_aspace_delete(rt_aspace_t aspace)
130{
131 RT_ASSERT(aspace);
132 rt_aspace_detach(aspace);
133 rt_free(aspace);
134}
135
136rt_inline rt_size_t _get_effect_attr(rt_aspace_t aspace, rt_varea_t varea)
137{

Callers 5

arch_user_space_freeFunction · 0.85
arch_user_space_freeFunction · 0.85
arch_user_space_freeFunction · 0.85
rt_aspace_anon_ref_decFunction · 0.85
aspace_delete_tcFunction · 0.85

Calls 2

rt_aspace_detachFunction · 0.85
rt_freeFunction · 0.85

Tested by 1

aspace_delete_tcFunction · 0.68