/linux-6.3-rc2/arch/x86/mm/ |
A D | cpu_entry_area.c | 111 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 D | copypage-v6.c | 90 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 D | ioremap.c | 14 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 D | misc.S | 122 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 D | ioremap.c | 49 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 D | kasan_init.c | 28 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 D | book3s_32.c | 31 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 D | init_32.c | 49 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 D | init_book3s_64.c | 37 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 D | 8xx.c | 27 *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 D | init_book3e_64.c | 79 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 D | kasan_init.c | 51 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 D | efi.c | 25 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 D | vmalloced-kernel-stacks.rst | 81 些页面被映射到有PAGE_KERNEL保护的连续的内核虚拟空间。 83 alloc_thread_stack_node()调用__vmalloc_node_range()来分配带有PAGE_KERNEL
|
/linux-6.3-rc2/arch/parisc/mm/ |
A D | init.c | 404 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 D | drm_memory.c | 52 # define PAGE_AGP pgprot_noncached_wc(PAGE_KERNEL) 54 # define PAGE_AGP PAGE_KERNEL
|
/linux-6.3-rc2/arch/alpha/mm/ |
A D | init.c | 57 = 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 D | grant-table.c | 46 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_shared() 68 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_status()
|
A D | setup.c | 311 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 D | tcm.c | 47 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 D | efi.c | 51 : 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 D | pgtable_no.h | 29 #define PAGE_KERNEL __pgprot(0) macro
|
/linux-6.3-rc2/arch/powerpc/mm/nohash/ |
A D | 8xx.c | 155 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 D | code-patching.c | 243 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 D | abs_lowcore.c | 15 rc = __vmem_map_4k_page(addr, phys, PAGE_KERNEL, alloc); in abs_lowcore_map()
|