Searched refs:__alloc_bootmem (Results 1 - 20 of 20) sorted by relevance

/linux-4.1.27/include/linux/
H A Dbootmem.h77 extern void *__alloc_bootmem(unsigned long size,
119 __alloc_bootmem(x, SMP_CACHE_BYTES, BOOTMEM_LOW_LIMIT)
121 __alloc_bootmem(x, align, BOOTMEM_LOW_LIMIT)
125 __alloc_bootmem(x, PAGE_SIZE, BOOTMEM_LOW_LIMIT)
252 return __alloc_bootmem(size, align, BOOTMEM_LOW_LIMIT); memblock_virt_alloc()
/linux-4.1.27/arch/mips/kernel/
H A Dprom.c48 return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); early_init_dt_alloc_memory_arch()
H A Dtraps.c2207 __alloc_bootmem(size, 1 << fls(size), 0); trap_init()
/linux-4.1.27/arch/x86/kernel/
H A Ddevicetree.c43 return __alloc_bootmem(size, align, __pa(MAX_DMA_ADDRESS)); early_init_dt_alloc_memory_arch()
/linux-4.1.27/mm/
H A Dnobootmem.c283 * __alloc_bootmem - allocate boot memory
295 void * __init __alloc_bootmem(unsigned long size, unsigned long align, __alloc_bootmem() function
H A Dbootmem.c681 * __alloc_bootmem - allocate boot memory
693 void * __init __alloc_bootmem(unsigned long size, unsigned long align, __alloc_bootmem() function
/linux-4.1.27/arch/sparc/kernel/
H A Dsmp_64.c1472 ptr = __alloc_bootmem(size, align, goal); pcpu_alloc_bootmem()
1485 return __alloc_bootmem(size, align, goal); pcpu_alloc_bootmem()
1511 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); pcpu_populate_pte()
1519 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); pcpu_populate_pte()
1527 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); pcpu_populate_pte()
H A Dprom_32.c35 ret = __alloc_bootmem(size, SMP_CACHE_BYTES, 0UL); prom_early_alloc()
/linux-4.1.27/arch/s390/kernel/
H A Dsetup.c324 __alloc_bootmem(ASYNC_SIZE, ASYNC_SIZE, 0) setup_lowcore()
327 __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, 0) setup_lowcore()
348 restart_stack = __alloc_bootmem(ASYNC_SIZE, ASYNC_SIZE, 0); setup_lowcore()
/linux-4.1.27/arch/sparc/mm/
H A Dinit_32.c309 __alloc_bootmem(i << 2, SMP_CACHE_BYTES, 0UL); mem_init()
H A Dsrmmu.c281 srmmu_nocache_pool = __alloc_bootmem(srmmu_nocache_size, srmmu_nocache_init()
286 __alloc_bootmem(BITS_TO_LONGS(bitmap_bits) * sizeof(long), srmmu_nocache_init()
445 ctx_list_pool = __alloc_bootmem(size, SMP_CACHE_BYTES, 0UL); sparc_context_init()
H A Dinit_64.c1528 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); kernel_map_range()
1540 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); kernel_map_range()
1553 new = __alloc_bootmem(PAGE_SIZE, PAGE_SIZE, PAGE_SIZE); kernel_map_range()
/linux-4.1.27/arch/ia64/mm/
H A Dcontig.c135 cpu_data = __alloc_bootmem(PERCPU_PAGE_SIZE * num_possible_cpus(), alloc_per_cpu_data()
/linux-4.1.27/arch/tile/mm/
H A Dinit.c65 return __alloc_bootmem(L2_KERNEL_PGTABLE_SIZE, HV_PAGE_TABLE_ALIGN, 0); alloc_pte()
88 l2_ptes[node] = __alloc_bootmem(pages * sizeof(pte_t), init_prealloc_ptes()
134 return __alloc_bootmem(L1_KERNEL_PGTABLE_SIZE, HV_PAGE_TABLE_ALIGN, 0); alloc_pmd()
/linux-4.1.27/arch/xtensa/kernel/
H A Dsetup.c240 return __alloc_bootmem(size, align, 0); early_init_dt_alloc_memory_arch()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci_iommu.c90 arena->ptes = __alloc_bootmem(mem_size, align, 0); iommu_arena_new_node()
96 arena->ptes = __alloc_bootmem(mem_size, align, 0); iommu_arena_new_node()
H A Dcore_cia.c334 ppte = __alloc_bootmem(CIA_BROKEN_TBIA_SIZE, 32768, 0); cia_prepare_tbia_workaround()
H A Dsetup.c294 start = __alloc_bootmem(PAGE_ALIGN(size), PAGE_SIZE, 0); move_initrd()
/linux-4.1.27/arch/tile/kernel/
H A Dsetup.c1565 pte = __alloc_bootmem(L2_KERNEL_PGTABLE_SIZE, pcpu_fc_populate_pte()
/linux-4.1.27/arch/ia64/kernel/
H A Dmca.c1836 return __alloc_bootmem(sizeof(struct ia64_mca_cpu), mca_bootmem()

Completed in 398 milliseconds