Home
last modified time | relevance | path

Searched refs:size_exp (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.3/kernel/src/mm/
Dmmio.c27 int size_exp = 31 - __clz(size); in mmio_create() local
28 if (size_exp < PAGE_4K_SHIFT) in mmio_create()
30 size_exp = PAGE_4K_SHIFT; in mmio_create()
33 else if (size & (~(1 << size_exp))) in mmio_create()
35 ++size_exp; in mmio_create()
36 size = 1 << size_exp; in mmio_create()
39 struct __mmio_buddy_addr_region *buddy_region = mmio_buddy_query_addr_region(size_exp); in mmio_create()