Home
last modified time | relevance | path

Searched refs:pgd_offset (Results 1 – 25 of 52) sorted by relevance

123

/linux/arch/loongarch/mm/
H A Dhugetlbpage.c24 pgd = pgd_offset(mm, addr); in huge_pte_alloc()
41 pgd = pgd_offset(mm, addr); in huge_pte_offset()
H A Dpgtable.c30 init = pgd_offset(&init_mm, 0UL); in pgd_alloc()
/linux/arch/parisc/mm/
H A Dhugetlbpage.c42 pgd = pgd_offset(mm, addr); in huge_pte_alloc()
64 pgd = pgd_offset(mm, addr); in huge_pte_offset()
/linux/arch/x86/kernel/
H A Dldt.c236 pgd_t *k_pgd = pgd_offset(mm, LDT_BASE_ADDR); in map_ldt_struct_to_user()
249 pgd_t *k_pgd = pgd_offset(mm, LDT_BASE_ADDR); in sanity_check_ldt_mapping()
266 pgd_t *pgd = pgd_offset(mm, LDT_BASE_ADDR); in map_ldt_struct_to_user()
274 pgd_t *pgd = pgd_offset(mm, LDT_BASE_ADDR); in sanity_check_ldt_mapping()
/linux/arch/arm64/mm/
H A Dhugetlbpage.c85 pgd_t *pgdp = pgd_offset(mm, addr); in find_num_contig()
249 pgdp = pgd_offset(mm, addr); in huge_pte_alloc()
289 pgdp = pgd_offset(mm, addr); in huge_pte_offset()
/linux/arch/sh/mm/
H A Dtlbex_32.c44 pgd = pgd_offset(current->mm, address); in handle_tlbmiss()
/linux/arch/csky/include/asm/
H A Dpgalloc.h49 init = pgd_offset(&init_mm, 0UL); in pgd_alloc()
/linux/arch/riscv/mm/
H A Dhugetlbpage.c42 pgd = pgd_offset(mm, addr); in huge_pte_alloc()
95 pgd = pgd_offset(mm, addr); in huge_pte_offset()
H A Dfault.c44 pgdp = pgd_offset(mm, addr); in show_pte()
/linux/arch/arc/mm/
H A Dfault.c37 pgd = pgd_offset(current->active_mm, address); in handle_kernel_vaddr_fault()
/linux/arch/nios2/mm/
H A Dioremap.c84 dir = pgd_offset(&init_mm, address); in remap_area_pages()
/linux/include/linux/
H A Dpgtable.h167 #ifndef pgd_offset
168 #define pgd_offset(mm, address) pgd_offset_pgd((mm)->pgd, (address)) macro
175 #define pgd_offset_k(address) pgd_offset(&init_mm, (address))
186 return pmd_offset(pud_offset(p4d_offset(pgd_offset(mm, va), va), va), va); in pmd_off()
/linux/arch/microblaze/mm/
H A Dpgtable.c204 pgd = pgd_offset(mm, addr & PAGE_MASK); in get_pteptr()
/linux/arch/arm/mm/
H A Dfault-armv.c76 pgd = pgd_offset(vma->vm_mm, address); in adjust_pte()
H A Dmmu.c908 pgd = pgd_offset(mm, addr); in create_36bit_mapping()
958 pgd = pgd_offset(mm, addr); in __create_mapping()
1002 p4d = p4d_alloc(mm, pgd_offset(mm, md->virtual), md->virtual); in create_mapping_late()
/linux/arch/alpha/mm/
H A Dinit.c46 init = pgd_offset(&init_mm, 0UL); in pgd_alloc()
/linux/arch/m68k/include/asm/
H A Dmmu_context.h124 pgd = pgd_offset(mm, mmuar); in load_ksp_mmu()
/linux/arch/um/kernel/
H A Dtlb.c183 pgd = pgd_offset(mm, addr); in um_tlb_sync()
/linux/arch/powerpc/mm/book3s64/
H A Dsubpage_prot.c63 pgd = pgd_offset(mm, addr); in hpte_flush_range()
/linux/arch/xtensa/mm/
H A Dtlb.c187 pgd = pgd_offset(mm, vaddr); in get_pte_for_vaddr()
/linux/arch/um/kernel/skas/
H A Duaccess.c27 pgd = pgd_offset(mm, addr); in virt_to_pte()
/linux/mm/
H A Dpage_vma_mapped.c221 pgd = pgd_offset(mm, pvmw->address); in page_vma_mapped_walk()
H A Dpagewalk.c284 pgd = pgd_offset(walk->mm, addr); in walk_pgd_range()
902 pgdp = pgd_offset(vma->vm_mm, addr); in folio_walk_start()
/linux/arch/m68k/kernel/
H A Dsys_m68k.c478 pgd = pgd_offset(mm, (unsigned long)mem); in sys_atomic_cmpxchg_32()
/linux/arch/sparc/mm/
H A Dfault_64.c81 pgd_t *pgdp = pgd_offset(current->mm, tpc); in get_user_insn()

123