Searched refs:__swap_duplicate (Results 1 - 1 of 1) sorted by relevance

/linux-master/mm/
H A Dswapfile.c1256 * __swap_duplicate()
1260 * In __swap_duplicate(), the swap_map need to be checked before
3297 static int __swap_duplicate(swp_entry_t entry, unsigned char usage) function
3363 __swap_duplicate(entry, SWAP_MAP_SHMEM);
3370 * if __swap_duplicate() fails for another reason (-EINVAL or -ENOENT), which
3377 while (!err && __swap_duplicate(entry, 1) == -ENOMEM)
3392 return __swap_duplicate(entry, SWAP_HAS_CACHE);
3465 * __swap_duplicate(): the swap device may be swapoff
3548 * Called while __swap_duplicate() or swap_entry_free() holds swap or cluster

Completed in 120 milliseconds