Home
last modified time | relevance | path

Searched refs:memblock_alloc (Results 1 – 25 of 88) sorted by relevance

1234

/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c80 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in map_ram()
111 fixmap_pmd_p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixedrange_init()
124 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixedrange_init()
152 zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci-noop.c36 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
50 void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); in alloc_resource()
Dpci.c395 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
409 void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); in alloc_resource()
/kernel/linux/linux-5.10/arch/m68k/mm/
Dsun3mmu.c47 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
60 next_pgtable = (unsigned long)memblock_alloc(size, PAGE_SIZE); in paging_init()
Dmcfmmu.c45 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
55 next_pgtable = (unsigned long) memblock_alloc(size, PAGE_SIZE); in paging_init()
Dinit.c91 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/kasan/
D8xx.c23 new = memblock_alloc(sizeof(pte_basic_t), SZ_4K); in kasan_init_shadow_8M()
43 block = memblock_alloc(k_end - k_start, SZ_8M); in kasan_init_region()
Dkasan_init_32.c45 new = memblock_alloc(PTE_FRAG_SIZE, PTE_FRAG_SIZE); in kasan_init_shadow_page_tables()
67 block = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_region()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dkasan_init.c64 memblock_alloc(n_ptes * PTRS_PER_PTE * sizeof(pte_t), PAGE_SIZE); in populate()
66 memblock_alloc(n_pmds * PTRS_PER_PMD * sizeof(pmd_t), PAGE_SIZE); in populate()
/kernel/linux/linux-5.10/tools/bootconfig/include/linux/
Dmemblock.h9 #define memblock_alloc(size, align) malloc(size) macro
/kernel/linux/linux-5.10/arch/powerpc/lib/
Dalloc.c17 p = memblock_alloc(size, SMP_CACHE_BYTES); in zalloc_maybe_bootmem()
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dmmu_context.c459 context_map = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
463 context_mm = memblock_alloc(sizeof(void *) * (LAST_CONTEXT + 1), in mmu_context_init()
469 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
/kernel/linux/linux-5.10/arch/c6x/mm/
Dinit.c38 empty_zero_page = (unsigned long) memblock_alloc(PAGE_SIZE, in paging_init()
Ddma-coherent.c135 dma_bitmap = memblock_alloc(BITS_TO_LONGS(dma_pages) * sizeof(long), in coherent_mem_init()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dnuma.c28 NODE_DATA(nid) = memblock_alloc(sizeof(pg_data_t), 8); in numa_setup()
/kernel/linux/linux-5.10/arch/h8300/mm/
Dinit.c69 empty_zero_page = (unsigned long)memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
/kernel/linux/linux-5.10/init/
Dmain.c377 new_cmdline = memblock_alloc(len + 1, SMP_CACHE_BYTES); in xbc_make_cmdline()
451 copy = memblock_alloc(size + 1, SMP_CACHE_BYTES); in setup_boot_config()
631 saved_command_line = memblock_alloc(len + ilen, SMP_CACHE_BYTES); in setup_command_line()
635 static_command_line = memblock_alloc(len, SMP_CACHE_BYTES); in setup_command_line()
1097 entry = memblock_alloc(sizeof(*entry), in initcall_blacklist()
1102 entry->buf = memblock_alloc(strlen(str_entry) + 1, in initcall_blacklist()
/kernel/linux/linux-5.10/arch/um/kernel/
Dinitrd.c39 area = memblock_alloc(size, SMP_CACHE_BYTES); in read_initrd()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dsvm.c54 vstart = memblock_alloc(PAGE_ALIGN(bytes), PAGE_SIZE); in svm_swiotlb_init()
/kernel/linux/linux-5.10/arch/openrisc/mm/
Dioremap.c124 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in pte_alloc_one_kernel()
/kernel/linux/linux-5.10/mm/
Dpercpu.c1320 chunk = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1335 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1342 chunk->bound_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1348 chunk->md_blocks = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
2262 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); in pcpu_alloc_alloc_info()
2449 group_offsets = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2455 group_sizes = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2461 unit_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2467 unit_off = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2534 pcpu_chunk_lists = memblock_alloc(pcpu_nr_slots * in pcpu_setup_first_chunk()
[all …]
/kernel/linux/linux-5.10/arch/xtensa/mm/
Dkasan_init.c44 pte_t *pte = memblock_alloc(n_pages * sizeof(pte_t), PAGE_SIZE); in populate()
/kernel/linux/linux-5.10/arch/sh/mm/
Dinit.c140 pmd = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in one_md_table_init()
156 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in one_page_table_init()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsetup_32.c142 void *ptr = memblock_alloc(THREAD_SIZE, THREAD_ALIGN); in alloc_stack()
/kernel/linux/linux-5.10/arch/parisc/mm/
Dinit.c381 pmd = memblock_alloc(PAGE_SIZE << PMD_ORDER, in map_pages()
392 pg_table = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in map_pages()
648 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in pagetable_init()

1234