Lines Matching full:swp
815 /* Create a swp entry with all possible bits set */ in pte_swap_exclusive_tests()
840 swp_entry_t swp; in pte_swap_tests() local
845 swp = __pte_to_swp_entry(pte); in pte_swap_tests()
846 pte = __swp_entry_to_pte(swp); in pte_swap_tests()
853 swp_entry_t swp; in pmd_swap_tests() local
861 swp = __pmd_to_swp_entry(pmd); in pmd_swap_tests()
862 pmd = __swp_entry_to_pmd(swp); in pmd_swap_tests()
872 swp_entry_t swp; in swap_migration_tests() local
895 swp = make_writable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
896 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
897 WARN_ON(!is_writable_migration_entry(swp)); in swap_migration_tests()
899 swp = make_readable_migration_entry(swp_offset(swp)); in swap_migration_tests()
900 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
901 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()
903 swp = make_readable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
904 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
905 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()