Lines Matching refs:phys_addr_t

170 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size)  in memblock_cap_size()
178 static unsigned long __init_memblock memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1, in memblock_addrs_overlap()
179 phys_addr_t base2, phys_addr_t size2) in memblock_addrs_overlap()
185 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region()
213 static phys_addr_t __init_memblock
214 __memblock_find_range_bottom_up(phys_addr_t start, phys_addr_t end, in __memblock_find_range_bottom_up()
215 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
218 phys_addr_t this_start, this_end, cand; in __memblock_find_range_bottom_up()
248 static phys_addr_t __init_memblock
249 __memblock_find_range_top_down(phys_addr_t start, phys_addr_t end, in __memblock_find_range_top_down()
250 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
253 phys_addr_t this_start, this_end, cand; in __memblock_find_range_top_down()
287 static phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, in memblock_find_in_range_node()
288 phys_addr_t align, phys_addr_t start, in memblock_find_in_range_node()
289 phys_addr_t end, int nid, in memblock_find_in_range_node()
298 start = max_t(phys_addr_t, start, PAGE_SIZE); in memblock_find_in_range_node()
322 static phys_addr_t __init_memblock memblock_find_in_range(phys_addr_t start, in memblock_find_in_range()
323 phys_addr_t end, phys_addr_t size, in memblock_find_in_range()
324 phys_addr_t align) in memblock_find_in_range()
326 phys_addr_t ret; in memblock_find_in_range()
367 phys_addr_t addr, size; in memblock_discard()
409 phys_addr_t new_area_start, in memblock_double_array()
410 phys_addr_t new_area_size) in memblock_double_array()
413 phys_addr_t old_alloc_size, new_alloc_size; in memblock_double_array()
414 phys_addr_t old_size, new_size, addr, new_end; in memblock_double_array()
544 int idx, phys_addr_t base, in memblock_insert_region()
545 phys_addr_t size, in memblock_insert_region()
578 phys_addr_t base, phys_addr_t size, in memblock_add_range()
582 phys_addr_t obase = base; in memblock_add_range()
583 phys_addr_t end = base + memblock_cap_size(base, &size); in memblock_add_range()
621 phys_addr_t rbase = rgn->base; in memblock_add_range()
622 phys_addr_t rend = rbase + rgn->size; in memblock_add_range()
687 int __init_memblock memblock_add_node(phys_addr_t base, phys_addr_t size, in memblock_add_node()
690 phys_addr_t end = base + size - 1; in memblock_add_node()
709 int __init_memblock memblock_add(phys_addr_t base, phys_addr_t size) in memblock_add()
711 phys_addr_t end = base + size - 1; in memblock_add()
736 phys_addr_t base, phys_addr_t size, in memblock_isolate_range()
739 phys_addr_t end = base + memblock_cap_size(base, &size); in memblock_isolate_range()
754 phys_addr_t rbase = rgn->base; in memblock_isolate_range()
755 phys_addr_t rend = rbase + rgn->size; in memblock_isolate_range()
796 phys_addr_t base, phys_addr_t size) in memblock_remove_range()
810 int __init_memblock memblock_remove(phys_addr_t base, phys_addr_t size) in memblock_remove()
812 phys_addr_t end = base + size - 1; in memblock_remove()
842 int __init_memblock memblock_phys_free(phys_addr_t base, phys_addr_t size) in memblock_phys_free()
844 phys_addr_t end = base + size - 1; in memblock_phys_free()
853 int __init_memblock memblock_reserve(phys_addr_t base, phys_addr_t size) in memblock_reserve()
855 phys_addr_t end = base + size - 1; in memblock_reserve()
864 int __init_memblock memblock_physmem_add(phys_addr_t base, phys_addr_t size) in memblock_physmem_add()
866 phys_addr_t end = base + size - 1; in memblock_physmem_add()
886 static int __init_memblock memblock_setclr_flag(phys_addr_t base, in memblock_setclr_flag()
887 phys_addr_t size, int set, int flag) in memblock_setclr_flag()
916 int __init_memblock memblock_mark_hotplug(phys_addr_t base, phys_addr_t size) in memblock_mark_hotplug()
928 int __init_memblock memblock_clear_hotplug(phys_addr_t base, phys_addr_t size) in memblock_clear_hotplug()
940 int __init_memblock memblock_mark_mirror(phys_addr_t base, phys_addr_t size) in memblock_mark_mirror()
965 int __init_memblock memblock_mark_nomap(phys_addr_t base, phys_addr_t size) in memblock_mark_nomap()
977 int __init_memblock memblock_clear_nomap(phys_addr_t base, phys_addr_t size) in memblock_clear_nomap()
1044 struct memblock_type *type_b, phys_addr_t *out_start, in __next_mem_range()
1045 phys_addr_t *out_end, int *out_nid) in __next_mem_range()
1057 phys_addr_t m_start = m->base; in __next_mem_range()
1058 phys_addr_t m_end = m->base + m->size; in __next_mem_range()
1079 phys_addr_t r_start; in __next_mem_range()
1080 phys_addr_t r_end; in __next_mem_range()
1141 phys_addr_t *out_start, in __next_mem_range_rev()
1142 phys_addr_t *out_end, int *out_nid) in __next_mem_range_rev()
1161 phys_addr_t m_start = m->base; in __next_mem_range_rev()
1162 phys_addr_t m_end = m->base + m->size; in __next_mem_range_rev()
1183 phys_addr_t r_start; in __next_mem_range_rev()
1184 phys_addr_t r_end; in __next_mem_range_rev()
1264 int __init_memblock memblock_set_node(phys_addr_t base, phys_addr_t size, in memblock_set_node()
1304 phys_addr_t spa, epa; in __next_mem_pfn_range_in_zone()
1372 phys_addr_t __init memblock_alloc_range_nid(phys_addr_t size, in memblock_alloc_range_nid()
1373 phys_addr_t align, phys_addr_t start, in memblock_alloc_range_nid()
1374 phys_addr_t end, int nid, in memblock_alloc_range_nid()
1378 phys_addr_t found; in memblock_alloc_range_nid()
1441 phys_addr_t __init memblock_phys_alloc_range(phys_addr_t size, in memblock_phys_alloc_range()
1442 phys_addr_t align, in memblock_phys_alloc_range()
1443 phys_addr_t start, in memblock_phys_alloc_range()
1444 phys_addr_t end) in memblock_phys_alloc_range()
1466 phys_addr_t __init memblock_phys_alloc_try_nid(phys_addr_t size, phys_addr_t align, int nid) in memblock_phys_alloc_try_nid()
1493 phys_addr_t size, phys_addr_t align, in memblock_alloc_internal()
1494 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_internal()
1497 phys_addr_t alloc; in memblock_alloc_internal()
1543 phys_addr_t size, phys_addr_t align, in memblock_alloc_exact_nid_raw()
1544 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_exact_nid_raw()
1575 phys_addr_t size, phys_addr_t align, in memblock_alloc_try_nid_raw()
1576 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid_raw()
1605 phys_addr_t size, phys_addr_t align, in memblock_alloc_try_nid()
1606 phys_addr_t min_addr, phys_addr_t max_addr, in memblock_alloc_try_nid()
1631 void __init memblock_free_late(phys_addr_t base, phys_addr_t size) in memblock_free_late()
1633 phys_addr_t cursor, end; in memblock_free_late()
1652 phys_addr_t __init_memblock memblock_phys_mem_size(void) in memblock_phys_mem_size()
1657 phys_addr_t __init_memblock memblock_reserved_size(void) in memblock_reserved_size()
1663 phys_addr_t __init_memblock memblock_start_of_DRAM(void) in memblock_start_of_DRAM()
1668 phys_addr_t __init_memblock memblock_end_of_DRAM(void) in memblock_end_of_DRAM()
1675 static phys_addr_t __init_memblock __find_max_addr(phys_addr_t limit) in __find_max_addr()
1677 phys_addr_t max_addr = PHYS_ADDR_MAX; in __find_max_addr()
1696 void __init memblock_enforce_memory_limit(phys_addr_t limit) in memblock_enforce_memory_limit()
1698 phys_addr_t max_addr; in memblock_enforce_memory_limit()
1716 void __init memblock_cap_memory_range(phys_addr_t base, phys_addr_t size) in memblock_cap_memory_range()
1749 void __init memblock_mem_limit_remove_map(phys_addr_t limit) in memblock_mem_limit_remove_map()
1751 phys_addr_t max_addr; in memblock_mem_limit_remove_map()
1765 static int __init_memblock memblock_search(struct memblock_type *type, phys_addr_t addr) in memblock_search()
1783 bool __init_memblock memblock_is_reserved(phys_addr_t addr) in memblock_is_reserved()
1788 bool __init_memblock memblock_is_memory(phys_addr_t addr) in memblock_is_memory()
1793 bool __init_memblock memblock_is_map_memory(phys_addr_t addr) in memblock_is_map_memory()
1827 bool __init_memblock memblock_is_region_memory(phys_addr_t base, phys_addr_t size) in memblock_is_region_memory()
1830 phys_addr_t end = base + memblock_cap_size(base, &size); in memblock_is_region_memory()
1849 bool __init_memblock memblock_is_region_reserved(phys_addr_t base, phys_addr_t size) in memblock_is_region_reserved()
1854 void __init_memblock memblock_trim_memory(phys_addr_t align) in memblock_trim_memory()
1856 phys_addr_t start, end, orig_start, orig_end; in memblock_trim_memory()
1879 void __init_memblock memblock_set_current_limit(phys_addr_t limit) in memblock_set_current_limit()
1884 phys_addr_t __init_memblock memblock_get_current_limit(void) in memblock_get_current_limit()
1891 phys_addr_t base, end, size; in memblock_dump()
1951 phys_addr_t pg, pgend; in free_memmap()
2044 static unsigned long __init __free_memory_core(phys_addr_t start, in __free_memory_core()
2045 phys_addr_t end) in __free_memory_core()
2062 phys_addr_t start, end; in memmap_init_reserved_pages()
2082 phys_addr_t start, end; in free_low_memory_core_early()
2145 phys_addr_t end; in memblock_debug_show()