Searched refs:SWP_DEVICE_READ (Results 1 – 2 of 2) sorted by relevance
105 return swp_entry(write ? SWP_DEVICE_WRITE : SWP_DEVICE_READ, in make_device_private_entry()112 return type == SWP_DEVICE_READ || type == SWP_DEVICE_WRITE; in is_device_private_entry()117 *entry = swp_entry(SWP_DEVICE_READ, swp_offset(*entry)); in make_device_private_entry_read()
68 #define SWP_DEVICE_READ (MAX_SWAPFILES+SWP_HWPOISON_NUM+SWP_MIGRATION_NUM+1) macro