Home
last modified time | relevance | path

Searched refs:pte_to_swp_entry (Results 1 – 20 of 20) sorted by relevance

/Linux-v6.6/mm/
Dpage_vma_mapped.c63 entry = pte_to_swp_entry(ptent); in map_pte()
105 entry = pte_to_swp_entry(ptent); in check_pte()
116 entry = pte_to_swp_entry(ptent); in check_pte()
Dmincore.c131 swp_entry_t entry = pte_to_swp_entry(pte); in mincore_pte_range()
Ddebug_vm_pgtable.c826 max_swap_offset = swp_offset(pte_to_swp_entry(swp_entry_to_pte(swp_entry(0, ~0UL)))); in pte_swap_exclusive_tests()
834 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
841 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
847 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
Dhmm.c244 swp_entry_t entry = pte_to_swp_entry(pte); in hmm_vma_handle_pte()
Dmadvise.c212 entry = pte_to_swp_entry(pte); in swapin_walk_pmd_entry()
662 entry = pte_to_swp_entry(ptent); in madvise_free_pte_range()
Dmigrate.c217 entry = pte_to_swp_entry(old_pte); in remove_migration_pte()
321 entry = pte_to_swp_entry(pte); in migration_entry_wait()
358 migration_entry_wait_on_locked(pte_to_swp_entry(pte), ptl); in migration_entry_wait_huge()
Dmemory.c709 entry = pte_to_swp_entry(orig_pte); in restore_exclusive_pte()
747 swp_entry_t entry = pte_to_swp_entry(ptep_get(src_pte)); in try_restore_exclusive_pte()
774 swp_entry_t entry = pte_to_swp_entry(orig_pte); in copy_nonpresent_pte()
1066 entry = pte_to_swp_entry(ptep_get(src_pte)); in copy_pte_range()
1468 entry = pte_to_swp_entry(ptent); in zap_pte_range()
3693 swp_entry_t entry = pte_to_swp_entry(vmf->orig_pte); in handle_pte_marker()
3738 entry = pte_to_swp_entry(vmf->orig_pte); in do_swap_page()
Dmigrate_device.c130 entry = pte_to_swp_entry(pte); in migrate_vma_collect_pmd()
Dswap_state.c812 entry = pte_to_swp_entry(pentry); in swap_vma_readahead()
Dmprotect.c195 swp_entry_t entry = pte_to_swp_entry(oldpte); in change_pte_range()
Dhugetlb.c4993 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_migration()
5006 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_hwpoisoned()
5102 swp_entry_t swp_entry = pte_to_swp_entry(entry); in copy_hugetlb_page_range()
5122 pte_to_swp_entry(entry), dst_vma); in copy_hugetlb_page_range()
6127 pte_marker_get(pte_to_swp_entry(entry)); in hugetlb_fault()
6627 swp_entry_t entry = pte_to_swp_entry(pte); in hugetlb_change_protection()
Dswapfile.c1858 entry = pte_to_swp_entry(ptent); in unuse_pte_range()
2812 return swp_offset(pte_to_swp_entry( in generic_max_swapfile_size()
Dmemory-failure.c740 swp_entry_t swp = pte_to_swp_entry(pte); in check_hwpoisoned_entry()
Drmap.c2004 entry = pte_to_swp_entry(pteval); in try_to_migrate_one()
Dksm.c448 swp_entry_t entry = pte_to_swp_entry(ptent); in break_ksm_pmd_entry()
Dmemcontrol.c5694 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte()
/Linux-v6.6/include/linux/
Dswapops.h133 static inline swp_entry_t pte_to_swp_entry(pte_t pte) in pte_to_swp_entry() function
421 return is_swap_pte(pte) && is_pte_marker_entry(pte_to_swp_entry(pte)); in is_pte_marker()
Duserfaultfd_k.h337 entry = pte_to_swp_entry(pte); in pte_marker_uffd_wp()
/Linux-v6.6/fs/proc/
Dtask_mmu.c537 swp_entry_t swpent = pte_to_swp_entry(ptent); in smaps_pte_entry()
732 swp_entry_t swpent = pte_to_swp_entry(ptent); in smaps_hugetlb_range()
1427 entry = pte_to_swp_entry(pte); in pte_to_pagemap_entry()
/Linux-v6.6/arch/s390/mm/
Dpgtable.c755 ptep_zap_swap_entry(mm, pte_to_swp_entry(pte)); in ptep_zap_unused()