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

Function _free_memreg

components/mm/mm_memblock.c:90–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90static void _free_memreg(struct rt_mmblk_reg *prev)
91{
92 struct rt_mmblk_reg *next = _next_region(prev);
93
94 next->alloc = RT_FALSE;
95 rt_slist_remove(&(prev->node), prev->node.next);
96}
97
98static rt_err_t _reg_insert_after(struct rt_mmblk_reg *prev, rt_region_t *reg,
99 mmblk_flag_t flags)

Callers 1

_reg_remove_afterFunction · 0.85

Calls 2

_next_regionFunction · 0.85
rt_slist_removeFunction · 0.85

Tested by

no test coverage detected