Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A 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()
H A Dmincore.c131 swp_entry_t entry = pte_to_swp_entry(pte); in mincore_pte_range()
H A Dpage_table_check.c209 WARN_ON_ONCE(swap_cached_writable(pte_to_swp_entry(pte))); in page_table_check_pte_flags()
H A Ddebug_vm_pgtable.c813 max_swap_offset = swp_offset(pte_to_swp_entry(swp_entry_to_pte(swp_entry(0, ~0UL)))); in pte_swap_exclusive_tests()
821 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
828 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
834 entry2 = pte_to_swp_entry(pte); in pte_swap_exclusive_tests()
H A 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()
H A Dhmm.c244 swp_entry_t entry = pte_to_swp_entry(pte); in hmm_vma_handle_pte()
H A 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()
H A 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()
3710 swp_entry_t entry = pte_to_swp_entry(vmf->orig_pte); in handle_pte_marker()
3756 entry = pte_to_swp_entry(vmf->orig_pte); in do_swap_page()
H A Dmigrate_device.c130 entry = pte_to_swp_entry(pte); in migrate_vma_collect_pmd()
H A Dswap_state.c812 entry = pte_to_swp_entry(pentry); in swap_vma_readahead()
H A Dmprotect.c195 swp_entry_t entry = pte_to_swp_entry(oldpte); in change_pte_range()
H A Dhugetlb.c4995 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_migration()
5008 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_hwpoisoned()
5104 swp_entry_t swp_entry = pte_to_swp_entry(entry); in copy_hugetlb_page_range()
5124 pte_to_swp_entry(entry), dst_vma); in copy_hugetlb_page_range()
6129 pte_marker_get(pte_to_swp_entry(entry)); in hugetlb_fault()
6629 swp_entry_t entry = pte_to_swp_entry(pte); in hugetlb_change_protection()
H A Dswapfile.c1869 entry = pte_to_swp_entry(ptent); in unuse_pte_range()
2823 return swp_offset(pte_to_swp_entry( in generic_max_swapfile_size()
H A Drmap.c2004 entry = pte_to_swp_entry(pteval); in try_to_migrate_one()
H A Dmemory-failure.c751 swp_entry_t swp = pte_to_swp_entry(pte); in check_hwpoisoned_entry()
H A Dksm.c448 swp_entry_t entry = pte_to_swp_entry(ptent); in break_ksm_pmd_entry()
H A Dmemcontrol.c5716 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte()
/openbmc/linux/include/linux/
H A Dswapops.h133 static inline swp_entry_t pte_to_swp_entry(pte_t pte) in pte_to_swp_entry() function
450 return is_swap_pte(pte) && is_pte_marker_entry(pte_to_swp_entry(pte)); in is_pte_marker()
H A Duserfaultfd_k.h337 entry = pte_to_swp_entry(pte); in pte_marker_uffd_wp()
/openbmc/linux/fs/proc/
H A 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()
1430 entry = pte_to_swp_entry(pte); in pte_to_pagemap_entry()
/openbmc/linux/arch/s390/mm/
H A Dpgtable.c755 ptep_zap_swap_entry(mm, pte_to_swp_entry(pte)); in ptep_zap_unused()