Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ _page_alloc
Function
_page_alloc
components/mm/mm_page.c:520–524 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
518
}
519
520
static void _page_alloc(struct rt_page *p)
521
{
522
p->size_bits = ARCH_ADDRESS_WIDTH_BITS;
523
p->ref_cnt = 1;
524
}
525
526
static void _page_remove(rt_page_t *page_head, struct rt_page *p,
527
rt_uint32_t size_bits)
Callers
1
_page_remove
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected