Searched refs:swp_pte (Results 1 – 4 of 4) sorted by relevance
1656 pte_t swp_pte; in try_to_unmap_one() local1741 swp_pte = swp_entry_to_pte(entry); in try_to_unmap_one()1743 swp_pte = pte_swp_mkexclusive(swp_pte); in try_to_unmap_one()1745 swp_pte = pte_swp_mksoft_dirty(swp_pte); in try_to_unmap_one()1747 swp_pte = pte_swp_mkuffd_wp(swp_pte); in try_to_unmap_one()1748 set_pte_at(mm, address, pvmw.pte, swp_pte); in try_to_unmap_one()1994 pte_t swp_pte; in try_to_migrate_one() local2011 swp_pte = swp_entry_to_pte(entry); in try_to_migrate_one()2018 swp_pte = pte_swp_mksoft_dirty(swp_pte); in try_to_migrate_one()2020 swp_pte = pte_swp_mkuffd_wp(swp_pte); in try_to_migrate_one()[all …]
195 pte_t swp_pte; in migrate_vma_collect_pmd() local235 swp_pte = swp_entry_to_pte(entry); in migrate_vma_collect_pmd()238 swp_pte = pte_swp_mksoft_dirty(swp_pte); in migrate_vma_collect_pmd()240 swp_pte = pte_swp_mkuffd_wp(swp_pte); in migrate_vma_collect_pmd()243 swp_pte = pte_swp_mksoft_dirty(swp_pte); in migrate_vma_collect_pmd()245 swp_pte = pte_swp_mkuffd_wp(swp_pte); in migrate_vma_collect_pmd()247 set_pte_at(mm, addr, ptep, swp_pte); in migrate_vma_collect_pmd()
1731 static inline int pte_same_as_swp(pte_t pte, pte_t swp_pte) in pte_same_as_swp() argument1733 return pte_same(pte_swp_clear_flags(pte), swp_pte); in pte_same_as_swp()
383 #define __swp_type(swp_pte) (((swp_pte).val >> 1) & 0x1f) argument385 #define __swp_offset(swp_pte) \ argument386 ((((swp_pte).val >> 7) & 0x7) | (((swp_pte).val >> 10) & 0x3ffff8))