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

Function _anon_varea_split

components/mm/mm_anon.c:218–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static rt_err_t _anon_varea_split(struct rt_varea *existed, void *unmap_start, rt_size_t unmap_len, struct rt_varea *subset)
219{
220 /* remove the resource in the unmap region, and do nothing for the subset */
221 _pgmgr_pop_range(existed, unmap_start, (char *)unmap_start + unmap_len);
222
223 _anon_varea_open(subset);
224 return RT_EOK;
225}
226
227static rt_err_t _anon_varea_merge(struct rt_varea *merge_to, struct rt_varea *merge_from)
228{

Callers

nothing calls this directly

Calls 2

_pgmgr_pop_rangeFunction · 0.85
_anon_varea_openFunction · 0.85

Tested by

no test coverage detected