Searched refs:memblock_alloc_from (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/tools/testing/memblock/tests/ |
D | alloc_helpers_api.c | 30 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_simple_generic_check() 74 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_misaligned_generic_check() 121 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_high_addr_check() 168 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_no_space_above_check() 204 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_top_down_min_addr_cap_check() 247 allocated_ptr = memblock_alloc_from(size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_high_addr_check() 293 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_no_space_above_check() 326 allocated_ptr = memblock_alloc_from(r1_size, SMP_CACHE_BYTES, min_addr); in alloc_from_bottom_up_min_addr_cap_check()
|
/linux-6.6.21/arch/ia64/mm/ |
D | contig.c | 85 cpu_data = memblock_alloc_from(size, PERCPU_PAGE_SIZE, in alloc_per_cpu_data()
|
/linux-6.6.21/tools/testing/memblock/ |
D | README | 69 | |-- alloc_helpers_api.(c|h) -- memblock_alloc_from tests
|
/linux-6.6.21/include/linux/ |
D | memblock.h | 439 static inline void *memblock_alloc_from(phys_addr_t size, in memblock_alloc_from() function
|
/linux-6.6.21/arch/sparc/mm/ |
D | init_64.c | 1797 new = memblock_alloc_from(PAGE_SIZE, PAGE_SIZE, in kernel_map_range() 1809 new = memblock_alloc_from(PAGE_SIZE, PAGE_SIZE, in kernel_map_range() 1825 new = memblock_alloc_from(PAGE_SIZE, PAGE_SIZE, in kernel_map_range() 1841 new = memblock_alloc_from(PAGE_SIZE, PAGE_SIZE, in kernel_map_range()
|
/linux-6.6.21/mm/ |
D | percpu.c | 2991 ptr = memblock_alloc_from(size, align, goal); in pcpu_fc_alloc() 3006 return memblock_alloc_from(size, align, goal); in pcpu_fc_alloc() 3389 fc = memblock_alloc_from(unit_size, PAGE_SIZE, __pa(MAX_DMA_ADDRESS)); in setup_per_cpu_areas()
|
/linux-6.6.21/arch/arc/kernel/ |
D | unwind.c | 181 return memblock_alloc_from(sz, sizeof(unsigned int), MAX_DMA_ADDRESS); in unw_hdr_alloc_early()
|