Home
last modified time | relevance | path

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

1234

/linux-6.6.21/arch/powerpc/mm/kasan/
Dinit_book3e_64.c43 pudp = memblock_alloc(PUD_TABLE_SIZE, PUD_TABLE_SIZE); in kasan_map_kernel_page()
49 pmdp = memblock_alloc(PMD_TABLE_SIZE, PMD_TABLE_SIZE); in kasan_map_kernel_page()
55 ptep = memblock_alloc(PTE_TABLE_SIZE, PTE_TABLE_SIZE); in kasan_map_kernel_page()
77 va = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_phys_region()
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()
Dinit_32.c45 new = memblock_alloc(PTE_FRAG_SIZE, PTE_FRAG_SIZE); in kasan_init_shadow_page_tables()
68 block = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_region()
Dinit_book3s_64.c35 va = memblock_alloc(k_end - k_start, PAGE_SIZE); in kasan_init_phys_region()
/linux-6.6.21/arch/riscv/mm/
Dkasan_init.c35 p = memblock_alloc(PTRS_PER_PTE * sizeof(pte_t), PAGE_SIZE); in kasan_populate_pte()
57 p = memblock_alloc(PTRS_PER_PMD * sizeof(pmd_t), PAGE_SIZE); in kasan_populate_pmd()
87 p = memblock_alloc(PTRS_PER_PUD * sizeof(pud_t), PAGE_SIZE); in kasan_populate_pud()
117 p = memblock_alloc(PTRS_PER_P4D * sizeof(p4d_t), PAGE_SIZE); in kasan_populate_p4d()
385 p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in kasan_shallow_populate_pud()
405 p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in kasan_shallow_populate_p4d()
424 p = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in kasan_shallow_populate_pgd()
/linux-6.6.21/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.c394 hose = memblock_alloc(sizeof(*hose), SMP_CACHE_BYTES); in alloc_pci_controller()
408 void *ptr = memblock_alloc(sizeof(struct resource), SMP_CACHE_BYTES); in alloc_resource()
/linux-6.6.21/arch/loongarch/mm/
Dinit.c176 pud = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in populate_kernel_pte()
187 pmd = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in populate_kernel_pte()
200 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in populate_kernel_pte()
/linux-6.6.21/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.c71 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in paging_init()
/linux-6.6.21/arch/powerpc/mm/nohash/
Dmmu_context.c391 context_map = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
395 context_mm = memblock_alloc(sizeof(void *) * (LAST_CONTEXT + 1), in mmu_context_init()
401 stale_map[boot_cpuid] = memblock_alloc(CTX_MAP_SIZE, SMP_CACHE_BYTES); in mmu_context_init()
/linux-6.6.21/arch/openrisc/mm/
Dioremap.c41 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in pte_alloc_one_kernel()
/linux-6.6.21/arch/loongarch/include/asm/
Ddmi.h13 #define dmi_alloc(l) memblock_alloc(l, PAGE_SIZE)
/linux-6.6.21/arch/s390/kernel/
Dnuma.c28 NODE_DATA(nid) = memblock_alloc(sizeof(pg_data_t), 8); in numa_setup()
Dsetup.c394 stack = (unsigned long)memblock_alloc(THREAD_SIZE, THREAD_SIZE); in stack_alloc_early()
522 res = memblock_alloc(sizeof(*res), 8); in setup_resources()
544 sub_res = memblock_alloc(sizeof(*sub_res), 8); in setup_resources()
818 vmms = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in setup_randomness()
/linux-6.6.21/mm/
Dpercpu.c1362 chunk = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1377 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1384 chunk->bound_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1390 chunk->md_blocks = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
2442 ptr = memblock_alloc(PFN_ALIGN(ai_size), PAGE_SIZE); in pcpu_alloc_alloc_info()
2625 group_offsets = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2631 group_sizes = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2637 unit_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2643 unit_off = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_setup_first_chunk()
2715 pcpu_chunk_lists = memblock_alloc(pcpu_nr_slots * in pcpu_setup_first_chunk()
[all …]
/linux-6.6.21/init/
Dmain.c373 new_cmdline = memblock_alloc(len + 1, SMP_CACHE_BYTES); in xbc_make_cmdline()
628 saved_command_line = memblock_alloc(len + ilen, SMP_CACHE_BYTES); in setup_command_line()
632 static_command_line = memblock_alloc(len, SMP_CACHE_BYTES); in setup_command_line()
854 unknown_options = memblock_alloc(len, SMP_CACHE_BYTES); in print_unknown_bootoptions()
1118 entry = memblock_alloc(sizeof(*entry), in initcall_blacklist()
1123 entry->buf = memblock_alloc(strlen(str_entry) + 1, in initcall_blacklist()
/linux-6.6.21/arch/parisc/mm/
Dinit.c378 pmd = memblock_alloc(PAGE_SIZE << PMD_TABLE_ORDER, in map_pages()
389 pg_table = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in map_pages()
643 empty_zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in pagetable_init()
682 pmd = memblock_alloc(PAGE_SIZE << PMD_TABLE_ORDER, in fixmap_init()
692 pte_t *pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE); in fixmap_init()
/linux-6.6.21/arch/um/kernel/
Dload_file.c51 area = memblock_alloc(*size, SMP_CACHE_BYTES); in uml_load_file()
/linux-6.6.21/mm/kmsan/
Dshadow.c286 shadow = memblock_alloc(size, PAGE_SIZE); in kmsan_init_alloc_meta_for_range()
287 origin = memblock_alloc(size, PAGE_SIZE); in kmsan_init_alloc_meta_for_range()
/linux-6.6.21/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()
/linux-6.6.21/arch/xtensa/mm/
Dkasan_init.c42 pte_t *pte = memblock_alloc(n_pages * sizeof(pte_t), PAGE_SIZE); in populate()
/linux-6.6.21/lib/
Dcpumask.c85 *mask = memblock_alloc(cpumask_size(), SMP_CACHE_BYTES); in alloc_bootmem_cpumask_var()
/linux-6.6.21/mm/kasan/
Dtags.c87 stack_ring.entries = memblock_alloc( in kasan_init_tags()

1234