Searched refs:SWP_DEVICE_WRITE (Results 1 – 2 of 2) sorted by relevance
175 return swp_entry(SWP_DEVICE_WRITE, offset); in make_writable_device_private_entry()181 return type == SWP_DEVICE_READ || type == SWP_DEVICE_WRITE; in is_device_private_entry()186 return unlikely(swp_type(entry) == SWP_DEVICE_WRITE); in is_writable_device_private_entry()
81 #define SWP_DEVICE_WRITE (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM) macro