Lines Matching refs:swp_entry
86 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry() function
139 return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); in pte_to_swp_entry()
169 return swp_entry(SWP_SWAPIN_ERROR, page_to_pfn(page)); in make_swapin_error_entry()
180 return swp_entry(SWP_DEVICE_READ, offset); in make_readable_device_private_entry()
185 return swp_entry(SWP_DEVICE_WRITE, offset); in make_writable_device_private_entry()
201 return swp_entry(SWP_DEVICE_EXCLUSIVE_READ, offset); in make_readable_device_exclusive_entry()
206 return swp_entry(SWP_DEVICE_EXCLUSIVE_WRITE, offset); in make_writable_device_exclusive_entry()
222 return swp_entry(0, 0); in make_readable_device_private_entry()
227 return swp_entry(0, 0); in make_writable_device_private_entry()
242 return swp_entry(0, 0); in make_readable_device_exclusive_entry()
247 return swp_entry(0, 0); in make_writable_device_exclusive_entry()
286 return swp_entry(SWP_MIGRATION_READ, offset); in make_readable_migration_entry()
291 return swp_entry(SWP_MIGRATION_READ_EXCLUSIVE, offset); in make_readable_exclusive_migration_entry()
296 return swp_entry(SWP_MIGRATION_WRITE, offset); in make_writable_migration_entry()
316 return swp_entry(swp_type(entry), in make_migration_entry_young()
332 return swp_entry(swp_type(entry), in make_migration_entry_dirty()
356 return swp_entry(0, 0); in make_readable_migration_entry()
361 return swp_entry(0, 0); in make_readable_exclusive_migration_entry()
366 return swp_entry(0, 0); in make_writable_migration_entry()
421 return swp_entry(SWP_PTE_MARKER, marker); in make_pte_marker_entry()
445 return swp_entry(0, 0); in make_pte_marker_entry()
538 return swp_entry(__swp_type(arch_entry), __swp_offset(arch_entry)); in pmd_to_swp_entry()
570 return swp_entry(0, 0); in pmd_to_swp_entry()
594 return swp_entry(SWP_HWPOISON, page_to_pfn(page)); in make_hwpoison_entry()
616 return swp_entry(0, 0); in make_hwpoison_entry()