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

Function _compatible

components/mm/mm_aspace.c:331–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331static rt_bool_t _compatible(rt_varea_t neighbour, rt_size_t map_size,
332 struct _mapping_property *prop)
333{
334 return (prop->attr == neighbour->attr && prop->flags == neighbour->flag &&
335 prop->mem_obj == neighbour->mem_obj &&
336 _contiguous_offset(neighbour, map_size, prop));
337}
338
339rt_inline rt_err_t _migrate_and_release_varea(rt_aspace_t aspace, rt_varea_t to, rt_varea_t from,
340 rt_err_t (*on_varea_merge)(struct rt_varea *to, struct rt_varea *from))

Callers 2

_merge_surroundingFunction · 0.85

Calls 1

_contiguous_offsetFunction · 0.85

Tested by

no test coverage detected