Searched refs:swap_device_lock (Results 1 – 4 of 4) sorted by relevance
117 swap_device_lock(p); in get_swap_page()168 swap_device_lock(p); in swap_info_get()656 swap_device_lock(si); in try_to_unuse()792 swap_device_lock(p); in sys_swapoff()1079 swap_device_lock(p); in sys_swapon()1175 swap_device_lock(p); in swap_duplicate()1253 swap_device_lock(swapdev); in valid_swaphandles()
80 swap_list_lock/swap_device_lock87 The swap_device_lock, which is per swap device, protects the reference 92 locking hierarchy is swap_list_lock -> swap_device_lock.
224 #define swap_device_lock(p) spin_lock(&p->sdev_lock) macro
756 swap_device_lock(stram_swap_info); in unswap_by_read()785 swap_device_lock(stram_swap_info); in unswap_by_read()853 swap_device_lock(stram_swap_info); in free_stram_region()