Home
last modified time | relevance | path

Searched refs:start_ptep (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dksm.c621 pte_t *start_ptep, *ptep; in break_ksm_pmd_entry() local
630 start_ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in break_ksm_pmd_entry()
631 if (!start_ptep) in break_ksm_pmd_entry()
634 for (ptep = start_ptep; addr < end; ptep++, addr += PAGE_SIZE) { in break_ksm_pmd_entry()
659 pte_unmap_unlock(start_ptep, ptl); in break_ksm_pmd_entry()
2532 pte_t *start_ptep = NULL, *ptep, pte; in ksm_next_page_pmd_entry() local
2569 start_ptep = pte_offset_map_lock(mm, pmdp, addr, &ptl); in ksm_next_page_pmd_entry()
2570 if (!start_ptep) in ksm_next_page_pmd_entry()
2573 for (ptep = start_ptep; addr < end; ptep++, addr += PAGE_SIZE) { in ksm_next_page_pmd_entry()
2591 if (start_ptep) in ksm_next_page_pmd_entry()
[all …]
H A Dinternal.h524 static inline int swap_pte_batch(pte_t *start_ptep, int max_nr, pte_t pte) in swap_pte_batch() argument
527 const pte_t *end_ptep = start_ptep + max_nr; in swap_pte_batch()
528 pte_t *ptep = start_ptep + 1; in swap_pte_batch()
542 return ptep - start_ptep; in swap_pte_batch()
H A Dmemory.c6218 pte_t *start_ptep; in numa_rebuild_large_mapping() local
6224 start_ptep = vmf->pte - ((addr - start) >> PAGE_SHIFT); in numa_rebuild_large_mapping()
6227 for (addr = start; addr != end; start_ptep++, addr += PAGE_SIZE) { in numa_rebuild_large_mapping()
6228 pte_t ptent = ptep_get(start_ptep); in numa_rebuild_large_mapping()
6255 numa_rebuild_single_mapping(vmf, vma, addr, start_ptep, writable); in numa_rebuild_large_mapping()