Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dmmio-buddy.c27 struct __mmio_free_region_list *lst = &__mmio_pool.free_regions[index]; in __buddy_add_region_obj()
97 if (unlikely(list_empty(&__mmio_pool.free_regions[__exp2index(exp)].list_head))) in __buddy_pop_region()
99 …struct __mmio_buddy_addr_region *r = container_of(list_next(&__mmio_pool.free_regions[__exp2index(… in __buddy_pop_region()
103 --__mmio_pool.free_regions[__exp2index(exp)].num_free; in __buddy_pop_region()
117 if (unlikely(list_empty(&__mmio_pool.free_regions[__exp2index(exp)].list_head))) in __find_buddy()
121 struct List *list = &__mmio_pool.free_regions[__exp2index(exp)].list_head; in __find_buddy()
129 } while (list_next(list) != &__mmio_pool.free_regions[__exp2index(exp)].list_head); in __find_buddy()
140 struct __mmio_free_region_list *free_list = &__mmio_pool.free_regions[__exp2index(exp)]; in __buddy_merge()
181 if (!list_empty(&__mmio_pool.free_regions[__exp2index(exp)].list_head)) in mmio_buddy_query_addr_region()
188 … list_empty(&__mmio_pool.free_regions[__exp2index(cur_exp)].list_head))) // 一直寻找到有空闲空间的链表 in mmio_buddy_query_addr_region()
[all …]
Dmmio-buddy.h45 struct __mmio_free_region_list free_regions[MMIO_BUDDY_REGION_COUNT]; member