Lines Matching full:base
19 phys_addr_t base; member
27 static phys_addr_t base, top; variable
45 (u64)regions[i].base, in phys_alloc_show()
46 (u64)(regions[i].base + regions[i].size - 1), in phys_alloc_show()
49 (u64)base, (u64)(top - 1), "FREE"); in phys_alloc_show()
56 base = base_addr; in phys_alloc_init()
57 top = base + size; in phys_alloc_init()
84 assert(base < top_safe); in phys_alloc_aligned_safe()
88 addr = ALIGN(base, align); in phys_alloc_aligned_safe()
89 size += addr - base; in phys_alloc_aligned_safe()
91 if ((top_safe - base) < size) { in phys_alloc_aligned_safe()
96 (u64)size_orig, (u64)align, (u64)size, top_safe - base, in phys_alloc_aligned_safe()
102 base += size; in phys_alloc_aligned_safe()
105 regions[nr_regions].base = addr; in phys_alloc_aligned_safe()
121 *p_base = base; in phys_alloc_get_unused()
123 if (base == top) in phys_alloc_get_unused()
126 regions[nr_regions].base = base; in phys_alloc_get_unused()
127 regions[nr_regions].size = top - base; in phys_alloc_get_unused()
129 base = top; in phys_alloc_get_unused()