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

Function _anon_varea_open

components/mm/mm_anon.c:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171 */
172
173static void _anon_varea_open(struct rt_varea *varea)
174{
175 rt_aspace_anon_ref_inc(varea->mem_obj);
176
177 if (varea->aspace == _anon_obj_get_backup(varea->mem_obj))
178 varea->offset = MM_PA_TO_OFF(varea->start);
179
180 varea->data = NULL;
181}
182
183static void _anon_varea_close(struct rt_varea *varea)
184{

Callers 1

_anon_varea_splitFunction · 0.85

Calls 2

rt_aspace_anon_ref_incFunction · 0.85
_anon_obj_get_backupFunction · 0.85

Tested by

no test coverage detected