Home
last modified time | relevance | path

Searched refs:swp_pte (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/mm/
Drmap.c1656 pte_t swp_pte; in try_to_unmap_one() local
1741 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() local
2011 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 …]
Dmigrate_device.c195 pte_t swp_pte; in migrate_vma_collect_pmd() local
235 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()
Dswapfile.c1731 static inline int pte_same_as_swp(pte_t pte, pte_t swp_pte) in pte_same_as_swp() argument
1733 return pte_same(pte_swp_clear_flags(pte), swp_pte); in pte_same_as_swp()
/linux-6.6.21/arch/hexagon/include/asm/
Dpgtable.h383 #define __swp_type(swp_pte) (((swp_pte).val >> 1) & 0x1f) argument
385 #define __swp_offset(swp_pte) \ argument
386 ((((swp_pte).val >> 7) & 0x7) | (((swp_pte).val >> 10) & 0x3ffff8))