Searched refs:region (Results 1 – 2 of 2) sorted by relevance
25 …tic __always_inline void __buddy_add_region_obj(int index, struct __mmio_buddy_addr_region *region) in __buddy_add_region_obj() argument28 list_init(®ion->list); in __buddy_add_region_obj()29 list_append(&lst->list_head, ®ion->list); in __buddy_add_region_obj()42 struct __mmio_buddy_addr_region *region = in __mmio_buddy_create_region() local44 list_init(®ion->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() argument58 …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 …]
53 …atic __always_inline void __mmio_buddy_release_addr_region(struct __mmio_buddy_addr_region *region) in __mmio_buddy_release_addr_region() argument55 kfree(region); in __mmio_buddy_release_addr_region()