Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Drmap.c1653 pte_t swp_pte; in try_to_unmap_one() local
1755 swp_pte = swp_entry_to_pte(entry); in try_to_unmap_one()
1757 swp_pte = pte_swp_mkexclusive(swp_pte); in try_to_unmap_one()
1759 swp_pte = pte_swp_mksoft_dirty(swp_pte); in try_to_unmap_one()
1761 swp_pte = pte_swp_mkuffd_wp(swp_pte); in try_to_unmap_one()
1762 set_pte_at(mm, address, pvmw.pte, swp_pte); in try_to_unmap_one()
2000 pte_t swp_pte; in try_to_migrate_one() local
2017 swp_pte = swp_entry_to_pte(entry); in try_to_migrate_one()
2024 swp_pte = pte_swp_mksoft_dirty(swp_pte); in try_to_migrate_one()
2026 swp_pte = pte_swp_mkuffd_wp(swp_pte); in try_to_migrate_one()
[all …]
Dmigrate_device.c202 pte_t swp_pte; in migrate_vma_collect_pmd() local
242 swp_pte = swp_entry_to_pte(entry); in migrate_vma_collect_pmd()
245 swp_pte = pte_swp_mksoft_dirty(swp_pte); in migrate_vma_collect_pmd()
247 swp_pte = pte_swp_mkuffd_wp(swp_pte); in migrate_vma_collect_pmd()
250 swp_pte = pte_swp_mksoft_dirty(swp_pte); in migrate_vma_collect_pmd()
252 swp_pte = pte_swp_mkuffd_wp(swp_pte); in migrate_vma_collect_pmd()
254 set_pte_at(mm, addr, ptep, swp_pte); in migrate_vma_collect_pmd()
Dswapfile.c1750 static inline int pte_same_as_swp(pte_t pte, pte_t swp_pte) in pte_same_as_swp() argument
1752 return pte_same(pte_swp_clear_flags(pte), swp_pte); in pte_same_as_swp()
/linux-6.1.9/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 >> 6) & 0xf) | (((swp_pte).val >> 9) & 0x7ffff0))