Home
last modified time | relevance | path

Searched refs:pte_present (Results 1 – 102 of 102) sorted by relevance

/linux-4.4.14/arch/um/include/asm/
Dpgtable.h115 #define pte_present(x) pte_get_bits(x, (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
166 return(pte_present(pte) && (pte_get_bits(pte, _PAGE_NEWPROT))); in pte_newprot()
231 if(pte_present(pte)) in pte_mkuptodate()
257 if(pte_present(*pteptr)) *pteptr = pte_mknewprot(*pteptr); in set_pte()
281 if (pte_present(pte)) \
/linux-4.4.14/arch/sparc/mm/
Dhugetlbpage.c182 if (!pte_present(*ptep) && pte_present(entry)) in set_huge_pte_at()
214 if (pte_present(entry)) in huge_ptep_get_and_clear()
Dfault_64.c131 if (pte_present(pte)) { in get_user_insn()
/linux-4.4.14/arch/tile/mm/
Dhugetlbpage.c93 if (!pte_present(*ptep) && huge_shift[level] != 0) { in get_pte()
97 if (pte_present(pte) && pte_super(pte)) in get_pte()
144 if (!pte_present(*pte)) in huge_pte_offset()
Dfault.c154 if (!pte_present(*pte_k)) in vmalloc_fault()
240 if (!is_kernel_mode || !pte_present(pteval)) in handle_migrating_pte()
522 if (pte && pte_present(*pte) && !pte_exec_kernel(*pte)) in handle_page_fault()
Dpgtable.c417 if (pte_present(pte)) { in __set_pte()
431 if (pte_present(pte) && in set_pte()
Dhighmem.c251 BUG_ON(!pte_present(pteval) && !pte_migrating(pteval)); in __kunmap_atomic()
Dhomecache.c378 BUG_ON(!pte_present(pteval) || pte_huge(pteval)); in homecache_change_page_home()
/linux-4.4.14/arch/microblaze/mm/
Dconsistent.c171 if (pte_none(*ptep) || !pte_present(*ptep)) in consistent_virt_to_pfn()
206 if (!pte_none(*ptep) && pte_present(*ptep)) { in consistent_free()
/linux-4.4.14/arch/x86/mm/
Dfault.c294 if (!pte_present(*pte_k)) in vmalloc_fault()
425 if (!pte_present(*pte_ref)) in vmalloc_fault()
435 if (!pte_present(*pte) || pte_pfn(*pte) != pte_pfn(*pte_ref)) in vmalloc_fault()
610 if (pte && pte_present(*pte) && !pte_exec(*pte)) in show_fault_oops()
612 if (pte && pte_present(*pte) && pte_exec(*pte) && in show_fault_oops()
992 if (!pte_present(*pte)) in spurious_fault()
Dinit_32.c489 if (!pte_present(*pte)) in native_pagetable_init()
Dinit_64.c805 if (!pte_present(*pte)) in remove_pte_table()
/linux-4.4.14/arch/mips/include/asm/
Dpgtable.h136 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) macro
171 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
245 if (!pte_present(pteval)) in set_pte_at()
248 if (pte_present(*ptep) && (pte_pfn(*ptep) == pte_pfn(pteval))) in set_pte_at()
/linux-4.4.14/arch/um/kernel/skas/
Duaccess.c46 if ((pte == NULL) || !pte_present(*pte) || in maybe_map()
53 if (!pte_present(*pte)) in maybe_map()
/linux-4.4.14/arch/um/kernel/
Dtlb.c217 if (pte_present(*pte)) in update_pte_range()
372 if (!pte_present(*pte) || pte_newpage(*pte)) { in flush_tlb_kernel_range_common()
379 if (pte_present(*pte)) in flush_tlb_kernel_range_common()
433 if (pte_present(*pte)) { in flush_tlb_page()
Dtrap.c109 } while (!pte_present(*pte)); in handle_page_fault()
/linux-4.4.14/arch/mn10300/mm/
Dfault.c94 if (!pte_present(*pte))
410 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/sh/mm/
Dtlbex_64.c71 if (pte_none(entry) || !pte_present(entry)) in handle_tlbmiss()
Dcache-sh5.c411 if (pte_none(entry) || !pte_present(entry)) in sh64_dcache_purge_user_pages()
Dfault.c200 if (!pte_present(*pte_k)) in vmalloc_fault()
/linux-4.4.14/arch/cris/arch-v10/mm/
Dfault.c88 if (!pte_present(pte)) in handle_mmu_bus_fault()
/linux-4.4.14/arch/score/include/asm/
Dpgtable.h121 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
238 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/powerpc/mm/
Ddma-noncoherent.c286 if (!pte_none(*ptep) && pte_present(*ptep)) { in __dma_free_coherent()
417 if (pte_none(*ptep) || !pte_present(*ptep)) in __dma_get_coherent_pfn()
Dhugetlbpage.c725 if (!pte_present(pte)) { in follow_huge_addr()
Dhash_utils_64.c1073 if (ptep == NULL || !pte_present(*ptep)) { in hash_page_mm()
/linux-4.4.14/arch/arm/include/asm/
Dpgtable-3level.h201 #define pte_same(pte_a,pte_b) ((pte_present(pte_a) ? pte_val(pte_a) & ~PTE_EXT_NG \
203 == (pte_present(pte_b) ? pte_val(pte_b) & ~PTE_EXT_NG \
Dpgtable.h222 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) macro
224 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte))
/linux-4.4.14/fs/proc/
Dtask_mmu.c495 if (pte_present(*pte)) { in smaps_pte_entry()
640 if (pte_present(*pte)) { in smaps_hugetlb_range()
794 if (pte_present(ptent)) { in clear_soft_dirty()
870 if (!pte_present(ptent)) in clear_refs_pte_range()
1076 if (pte_present(pte)) { in pte_to_pagemap_entry()
1193 if (pte_present(pte)) { in pagemap_hugetlb_range()
1421 if (!pte_present(pte)) in can_gather_numa_stats()
1507 if (!pte_present(huge_pte)) in gather_hugetlb_stats()
/linux-4.4.14/arch/xtensa/include/asm/
Dpgtable.h246 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) macro
248 # define pte_present(pte) \ macro
/linux-4.4.14/arch/s390/mm/
Dhugetlbpage.c35 if (pte_present(pte)) { in __pte_to_pmd()
/linux-4.4.14/arch/score/mm/
Dfault.c233 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable.h152 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) macro
266 if (pte_present(pte)) { in set_pte_at()
350 #define pmd_present(pmd) pte_present(pmd_pte(pmd))
/linux-4.4.14/arch/nios2/mm/
Dfault.c270 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/include/linux/
Dswapops.h57 return !pte_none(pte) && !pte_present(pte); in is_swap_pte()
/linux-4.4.14/arch/m68k/mm/
Dmcfmmu.c118 if (pte_none(*pte) || !pte_present(*pte)) { in cf_tlb_miss()
Dmotorola.c187 if (!pte_present(*pte_dir)) in map_node()
/linux-4.4.14/arch/openrisc/mm/
Dfault.c357 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/arm/mm/
Dfault-armv.c49 ret = pte_present(entry); in do_adjust_pte()
/linux-4.4.14/arch/metag/mm/
Dfault.c98 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/mm/
Dmincore.c138 else if (pte_present(pte)) in mincore_pte_range()
Dmadvise.c160 if (pte_present(pte) || pte_none(pte)) in swapin_walk_pmd_entry()
Dmprotect.c78 if (pte_present(oldpte)) { in change_pte_range()
Dgup.c75 if (!pte_present(pte)) { in follow_page_pte()
1075 if (!pte_present(pte) || pte_special(pte) || in gup_pte_range()
Drmap.c778 if (!sync && !pte_present(*pte)) { in __page_check_address()
786 if (pte_present(*pte) && page_to_pfn(page) == pte_pfn(*pte)) { in __page_check_address()
Dmremap.c81 if (pte_present(pte)) in move_soft_dirty_pte()
Dmlock.c382 if (pte_present(*pte)) in __munlock_pagevec_fill()
Dhuge_memory.c2207 if (pte_none(pteval) || (pte_present(pteval) && in __collapse_huge_page_isolate()
2215 if (!pte_present(pteval)) in __collapse_huge_page_isolate()
2671 if (!pte_present(pteval)) in khugepaged_scan_pmd()
Dhugetlb.c3056 if (huge_pte_none(pte) || pte_present(pte)) in is_hugetlb_entry_migration()
3069 if (huge_pte_none(pte) || pte_present(pte)) in is_hugetlb_entry_hwpoisoned()
3197 if (unlikely(!pte_present(pte))) { in __unmap_hugepage_range()
3741 if (!pte_present(entry)) in hugetlb_fault()
Dmemory.c856 if (unlikely(!pte_present(pte))) { in copy_one_pte()
1137 if (pte_present(ptent)) { in zap_pte_range()
3329 if (!pte_present(entry)) { in handle_pte_fault()
3593 if (!pte_present(*ptep)) in __follow_pte()
Dvmalloc.c68 WARN_ON(!pte_none(ptent) && !pte_present(ptent)); in vunmap_pte_range()
255 if (pte_present(pte)) in vmalloc_to_page()
Dmempolicy.c502 if (!pte_present(*pte)) in queue_pages_pte_range()
539 if (!pte_present(entry)) in queue_pages_hugetlb()
Dmemcontrol.c4643 if (pte_present(ptent)) in get_mctgt_type()
/linux-4.4.14/arch/cris/mm/
Dfault.c364 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/ia64/include/asm/
Dpgtable.h265 #define pte_present(pte) (pte_val(pte) & (_PAGE_P | _PAGE_PROTNONE)) macro
336 (!pte_present(*ptep) || in set_pte()
/linux-4.4.14/arch/xtensa/mm/
Dtlb.c241 if (pte == 0 || !pte_present(__pte(pte))) { in check_tlb_entry()
Dfault.c232 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/frv/mm/
Dfault.c325 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/ia64/mm/
Dfault.c72 return pte_present(pte); in mapped_kernel_page_is_present()
/linux-4.4.14/arch/arm/lib/
Duaccess_with_memcpy.c76 if (unlikely(!pte_present(*pte) || !pte_young(*pte) || in pin_page_for_write()
/linux-4.4.14/arch/powerpc/include/asm/
Dpgtable.h59 static inline int pte_present(pte_t pte) in pte_present() function
/linux-4.4.14/arch/m68k/include/asm/
Dmmu_context.h135 if (pte_none(*pte) || !pte_present(*pte)) in load_ksp_mmu()
Dsun3_pgtable.h123 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() function
Dmcf_pgtable.h179 static inline int pte_present(pte_t pte) in pte_present() function
Dmotorola_pgtable.h130 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
/linux-4.4.14/arch/mips/mm/
Dfault.c328 if (!pte_present(*pte_k)) in __do_page_fault()
Dgup.c45 if (!pte_present(pte) || in gup_pte_range()
Dc-r4k.c579 if (!(pte_present(*ptep))) in local_r4k_flush_cache_page()
/linux-4.4.14/arch/nios2/include/asm/
Dpgtable.h133 static inline int pte_present(pte_t pte) \ in pte_present() function
/linux-4.4.14/arch/cris/include/asm/
Dpgtable.h96 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/metag/include/asm/
Dpgtable.h109 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/m32r/include/asm/
Dpgtable.h177 #define pte_present(x) (pte_val(x) & (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
/linux-4.4.14/arch/arc/include/asm/
Dpgtable.h266 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/unicore32/include/asm/
Dpgtable.h177 #define pte_present(pte) (pte_val(pte) & PTE_PRESENT) macro
/linux-4.4.14/arch/hexagon/include/asm/
Dpgtable.h303 static inline int pte_present(pte_t pte) in pte_present() function
/linux-4.4.14/arch/avr32/include/asm/
Dpgtable.h181 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/sh/include/asm/
Dpgtable_64.h229 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
Dpgtable_32.h323 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE)) macro
/linux-4.4.14/arch/microblaze/kernel/
Dsignal.c204 if (pte_present(*ptep)) { in setup_rt_frame()
/linux-4.4.14/arch/m68k/kernel/
Dsys_m68k.c481 if (!pte_present(*pte) || !pte_dirty(*pte) in sys_atomic_cmpxchg_32()
/linux-4.4.14/arch/metag/kernel/
Ddma.c303 if (!pte_none(pte) && pte_present(pte)) { in dma_free_coherent()
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_32.h144 static inline int pte_present(pte_t pte) in pte_present() function
Dpgtable_64.h630 static inline unsigned long pte_present(pte_t pte) in pte_present() function
931 if (tlb_type != hypervisor && pte_present(pte)) { \
/linux-4.4.14/arch/m32r/mm/
Dfault.c331 if (!pte_present(*pte_k)) in do_page_fault()
/linux-4.4.14/arch/alpha/include/asm/
Dpgtable.h247 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() function
/linux-4.4.14/arch/openrisc/include/asm/
Dpgtable.h224 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/powerpc/perf/
Dcallchain.c140 if (!pte_present(pte) || !(pte_val(pte) & _PAGE_USER)) in read_user_stack_slow()
/linux-4.4.14/arch/tile/include/asm/
Dpgtable.h193 #define pte_present hv_pte_get_present macro
/linux-4.4.14/arch/microblaze/include/asm/
Dpgtable.h297 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/mn10300/include/asm/
Dpgtable.h218 #define pte_present(x) (pte_val(x) & _PAGE_VALID) macro
/linux-4.4.14/arch/frv/include/asm/
Dpgtable.h354 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c36 if (!p || !pte_present(*p)) in real_vmalloc_addr()
249 if (pte_present(pte) && !pte_protnone(pte)) { in kvmppc_do_h_enter()
De500_mmu_host.c483 if (pte_present(pte)) { in kvmppc_e500_shadow_map()
/linux-4.4.14/arch/parisc/kernel/
Dpci-dma.c184 if (pte_none(page) || pte_present(page)) in unmap_uncached_pte()
/linux-4.4.14/arch/parisc/include/asm/
Dpgtable.h293 #define pte_present(x) (pte_val(x) & _PAGE_PRESENT) macro
/linux-4.4.14/arch/x86/include/asm/
Dpgtable.h463 static inline int pte_present(pte_t a) in pte_present() function
/linux-4.4.14/arch/s390/include/asm/
Dpgtable.h561 static inline int pte_present(pte_t pte) in pte_present() function
594 return pte_present(pte) && !(pte_val(pte) & _PAGE_READ); in pte_protnone()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgrufault.c245 if (unlikely(!pte_present(pte) || in atomic_pte_lookup()
/linux-4.4.14/arch/arm/kvm/
Dmmu.c940 if (iomap && pte_present(*pte)) in stage2_set_pte()
945 if (pte_present(old_pte)) { in stage2_set_pte()
/linux-4.4.14/arch/x86/kernel/
Dvm86_32.c183 if (pte_present(*pte)) in mark_screen_rdonly()
/linux-4.4.14/arch/sparc/kernel/
Dsignal32.c400 if (!pte_present(pte)) in flush_signal_insns()
/linux-4.4.14/arch/frv/kernel/
Dgdb-stub.c468 if (pte_present(*pte)) in gdbstub_virt_to_pte()
/linux-4.4.14/arch/x86/xen/
Dmmu.c2076 if (!pte_present(pte)) in xen_early_virt_to_phys()