Home
last modified time | relevance | path

Searched refs:PAGE_KERNEL (Results 1 – 25 of 203) sorted by relevance

123456789

/linux-6.3-rc2/arch/x86/mm/
A Dcpu_entry_area.c111 PAGE_KERNEL); in percpu_setup_debug_store()
129 estacks->name## _stack, npages, PAGE_KERNEL); \
165 &per_cpu(doublefault_stack, cpu), 1, PAGE_KERNEL); in percpu_setup_exception_stacks()
185 pgprot_t gdt_prot = PAGE_KERNEL; in setup_cpu_entry_area()
186 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
196 PAGE_KERNEL); in setup_cpu_entry_area()
/linux-6.3-rc2/arch/arm/mm/
A Dcopypage-v6.c90 set_top_pte(kfrom, mk_pte(from, PAGE_KERNEL)); in v6_copy_user_highpage_aliasing()
91 set_top_pte(kto, mk_pte(to, PAGE_KERNEL)); in v6_copy_user_highpage_aliasing()
116 set_top_pte(to, mk_pte(page, PAGE_KERNEL)); in v6_clear_user_highpage_aliasing()
/linux-6.3-rc2/arch/powerpc/mm/
A Dioremap.c14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap()
25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc()
36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent()
/linux-6.3-rc2/arch/xtensa/mm/
A Dmisc.S122 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
161 addi a6, a4, (PAGE_KERNEL | _PAGE_HW_WRITE)
167 addi a7, a5, PAGE_KERNEL
228 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
252 addi a6, a3, (PAGE_KERNEL | _PAGE_HW_WRITE)
A Dioremap.c49 return xtensa_ioremap(addr, size, pgprot_noncached(PAGE_KERNEL)); in xtensa_ioremap_nocache()
55 return xtensa_ioremap(addr, size, PAGE_KERNEL); in xtensa_ioremap_cache()
A Dkasan_init.c28 PAGE_KERNEL)); in kasan_early_init()
64 set_pte(pte + j, pfn_pte(PHYS_PFN(phys), PAGE_KERNEL)); in populate()
/linux-6.3-rc2/arch/powerpc/mm/kasan/
A Dbook3s_32.c31 setbat(idx, k_nobat, phys, k_size, PAGE_KERNEL); in kasan_init_region()
52 pte_t pte = pfn_pte(PHYS_PFN(phys + k_cur - k_nobat), PAGE_KERNEL); in kasan_init_region()
A Dinit_32.c49 kasan_populate_pte(new, PAGE_KERNEL); in kasan_init_shadow_page_tables()
74 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region()
185 kasan_populate_pte(kasan_early_shadow_pte, PAGE_KERNEL); in kasan_early_init()
A Dinit_book3s_64.c37 map_kernel_page(k_cur, __pa(va), PAGE_KERNEL); in kasan_init_phys_region()
57 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_init()
A D8xx.c27 *new = pte_val(pte_mkhuge(pfn_pte(PHYS_PFN(__pa(block)), PAGE_KERNEL))); in kasan_init_shadow_8M()
63 pte_t pte = pfn_pte(PHYS_PFN(__pa(va)), PAGE_KERNEL); in kasan_init_region()
A Dinit_book3e_64.c79 kasan_map_kernel_page(k_cur, __pa(va), PAGE_KERNEL); in kasan_init_phys_region()
87 pte_t zero_pte = pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL); in kasan_early_init()
/linux-6.3-rc2/arch/riscv/mm/
A Dkasan_init.c51 set_pte(ptep, pfn_pte(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pte()
80 set_pmd(pmdp, pfn_pmd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pmd()
140 set_pud(pudp, pfn_pud(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pud()
198 set_p4d(p4dp, pfn_p4d(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_p4d()
255 set_pgd(pgdp, pfn_pgd(PFN_DOWN(phys_addr), PAGE_KERNEL)); in kasan_populate_pgd()
274 pfn_pte(virt_to_pfn(kasan_early_shadow_page), PAGE_KERNEL)); in kasan_early_init()
/linux-6.3-rc2/arch/riscv/kernel/
A Defi.c25 return PAGE_KERNEL; in efimem_to_pgprot_map()
40 return PAGE_KERNEL; in efimem_to_pgprot_map()
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/
A Dvmalloced-kernel-stacks.rst81 些页面被映射到有PAGE_KERNEL保护的连续的内核虚拟空间。
83 alloc_thread_stack_node()调用__vmalloc_node_range()来分配带有PAGE_KERNEL
/linux-6.3-rc2/arch/parisc/mm/
A Dinit.c404 prot = PAGE_KERNEL; in map_pages()
412 PAGE_KERNEL_EXEC : PAGE_KERNEL; in map_pages()
415 prot = PAGE_KERNEL; in map_pages()
461 PAGE_KERNEL, 0); in free_initmem()
474 PAGE_KERNEL, 1); in free_initmem()
637 size, PAGE_KERNEL, 0); in pagetable_init()
644 initrd_end - initrd_start, PAGE_KERNEL, 0); in pagetable_init()
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_memory.c52 # define PAGE_AGP pgprot_noncached_wc(PAGE_KERNEL)
54 # define PAGE_AGP PAGE_KERNEL
/linux-6.3-rc2/arch/alpha/mm/
A Dinit.c57 = pte_val(mk_pte(virt_to_page(ret), PAGE_KERNEL)); in pgd_alloc()
111 (newptbr << 32) | pgprot_val(PAGE_KERNEL); in switch_to_system_map()
227 pfn_pte(pfn, PAGE_KERNEL)); in callback_init()
/linux-6.3-rc2/arch/x86/xen/
A Dgrant-table.c46 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_shared()
68 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_status()
A Dsetup.c311 mfn_pte(mfn, PAGE_KERNEL), 0)) { in xen_update_mem_tables()
351 set_pte_mfn(buf, mfn, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
370 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_do_set_identity_and_remap_chunk()
509 set_pte_mfn(buf, xen_remap_mfn, PAGE_KERNEL); in xen_remap_memory()
535 set_pte_mfn(buf, mfn_save, PAGE_KERNEL); in xen_remap_memory()
/linux-6.3-rc2/arch/csky/mm/
A Dtcm.c47 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL));
66 set_pte(tcm_pte, pfn_pte(__phys_to_pfn(paddr), PAGE_KERNEL));
/linux-6.3-rc2/arch/arm64/kernel/
A Defi.c51 : pgprot_val(PAGE_KERNEL); in create_mapping_protection()
67 return pgprot_val(PAGE_KERNEL); in create_mapping_protection()
/linux-6.3-rc2/arch/m68k/include/asm/
A Dpgtable_no.h29 #define PAGE_KERNEL __pgprot(0) macro
/linux-6.3-rc2/arch/powerpc/mm/nohash/
A D8xx.c155 mmu_mapin_ram_chunk(einittext8, top, PAGE_KERNEL, true); in mmu_mapin_ram()
174 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
/linux-6.3-rc2/arch/powerpc/lib/
A Dcode-patching.c243 return map_kernel_page(text_poke_addr, (pfn << PAGE_SHIFT), PAGE_KERNEL); in map_patch_area()
300 __set_pte_at(patching_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_instruction_mm()
343 __set_pte_at(&init_mm, text_poke_addr, pte, pfn_pte(pfn, PAGE_KERNEL), 0); in __do_patch_instruction()
/linux-6.3-rc2/arch/s390/kernel/
A Dabs_lowcore.c15 rc = __vmem_map_4k_page(addr, phys, PAGE_KERNEL, alloc); in abs_lowcore_map()

Completed in 35 milliseconds

123456789