Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/mm/
Dmmio-buddy.c25 …tic __always_inline void __buddy_add_region_obj(int index, struct __mmio_buddy_addr_region *region) in __buddy_add_region_obj() argument
28 list_init(&region->list); in __buddy_add_region_obj()
29 list_append(&lst->list_head, &region->list); in __buddy_add_region_obj()
42 struct __mmio_buddy_addr_region *region = in __mmio_buddy_create_region() local
44 list_init(&region->list); in __mmio_buddy_create_region()
45 region->vaddr = vaddr; in __mmio_buddy_create_region()
46 return region; in __mmio_buddy_create_region()
55 static __always_inline void __buddy_split(struct __mmio_buddy_addr_region *region, int exp) in __buddy_split() argument
58 …dy_addr_region *new_region = __mmio_buddy_create_region(buddy_block_vaddr(region->vaddr, exp - 1)); in __buddy_split()
59 __buddy_add_region_obj(__exp2index(exp - 1), region); in __buddy_split()
[all …]
Dmmio-buddy.h53 …atic __always_inline void __mmio_buddy_release_addr_region(struct __mmio_buddy_addr_region *region) in __mmio_buddy_release_addr_region() argument
55 kfree(region); in __mmio_buddy_release_addr_region()