Searched refs:swapdev (Results 1 – 1 of 1) sorted by relevance
1244 struct swap_info_struct *swapdev = SWP_TYPE(entry) + swap_info; in valid_swaphandles() local1253 swap_device_lock(swapdev); in valid_swaphandles()1256 if (toff >= swapdev->max) in valid_swaphandles()1259 if (!swapdev->swap_map[toff]) in valid_swaphandles()1261 if (swapdev->swap_map[toff] == SWAP_MAP_BAD) in valid_swaphandles()1266 swap_device_unlock(swapdev); in valid_swaphandles()