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

Function _page_insert

components/mm/mm_page.c:547–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547static void _page_insert(rt_page_t *page_head, struct rt_page *p,
548 rt_uint32_t size_bits)
549{
550 p->next = *page_head;
551 if (p->next)
552 {
553 p->next->pre = p;
554 }
555 p->pre = 0;
556 *page_head = p;
557 p->size_bits = size_bits;
558}
559
560static void _pages_ref_inc(struct rt_page *p, rt_uint32_t size_bits)
561{

Callers 1

_pages_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected