SWP_DEVICE_WRITE 103 include/linux/swapops.h return swp_entry(write ? SWP_DEVICE_WRITE : SWP_DEVICE_READ, SWP_DEVICE_WRITE 110 include/linux/swapops.h return type == SWP_DEVICE_READ || type == SWP_DEVICE_WRITE; SWP_DEVICE_WRITE 120 include/linux/swapops.h return unlikely(swp_type(entry) == SWP_DEVICE_WRITE);