Lines Matching full:swp
828 /* Create a swp entry with all possible bits set */ in pte_swap_exclusive_tests()
853 swp_entry_t swp; in pte_swap_tests() local
858 swp = __pte_to_swp_entry(pte); in pte_swap_tests()
859 pte = __swp_entry_to_pte(swp); in pte_swap_tests()
866 swp_entry_t swp; in pmd_swap_tests() local
874 swp = __pmd_to_swp_entry(pmd); in pmd_swap_tests()
875 pmd = __swp_entry_to_pmd(swp); in pmd_swap_tests()
885 swp_entry_t swp; in swap_migration_tests() local
908 swp = make_writable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
909 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
910 WARN_ON(!is_writable_migration_entry(swp)); in swap_migration_tests()
912 swp = make_readable_migration_entry(swp_offset(swp)); in swap_migration_tests()
913 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
914 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()
916 swp = make_readable_migration_entry(page_to_pfn(page)); in swap_migration_tests()
917 WARN_ON(!is_migration_entry(swp)); in swap_migration_tests()
918 WARN_ON(is_writable_migration_entry(swp)); in swap_migration_tests()