Searched refs:SWP_DEVICE_READ (Results 1 – 2 of 2) sorted by relevance
103 return swp_entry(write ? SWP_DEVICE_WRITE : SWP_DEVICE_READ, in make_device_private_entry()110 return type == SWP_DEVICE_READ || type == SWP_DEVICE_WRITE; in is_device_private_entry()115 *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