Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
H A Dswapfile.c1303 * __swap_duplicate()
1307 * In __swap_duplicate(), the swap_map need to be checked before
3491 static int __swap_duplicate(swp_entry_t entry, unsigned char usage) in __swap_duplicate() function
3561 __swap_duplicate(entry, SWAP_MAP_SHMEM); in swap_shmem_alloc()
3568 * if __swap_duplicate() fails for another reason (-EINVAL or -ENOENT), which
3575 while (!err && __swap_duplicate(entry, 1) == -ENOMEM) in swap_duplicate()
3590 return __swap_duplicate(entry, SWAP_HAS_CACHE); in swapcache_prepare()
3656 * __swap_duplicate(): the swap device may be swapoff in add_swap_count_continuation()
3744 * Called while __swap_duplicate() or swap_entry_free() holds swap or cluster
/kernel/linux/linux-6.6/mm/
H A Dswapfile.c1251 * __swap_duplicate()
1255 * In __swap_duplicate(), the swap_map need to be checked before
3302 static int __swap_duplicate(swp_entry_t entry, unsigned char usage) in __swap_duplicate() function
3367 __swap_duplicate(entry, SWAP_MAP_SHMEM); in swap_shmem_alloc()
3374 * if __swap_duplicate() fails for another reason (-EINVAL or -ENOENT), which
3381 while (!err && __swap_duplicate(entry, 1) == -ENOMEM) in swap_duplicate()
3396 return __swap_duplicate(entry, SWAP_HAS_CACHE); in swapcache_prepare()
3475 * __swap_duplicate(): the swap device may be swapoff in add_swap_count_continuation()
3558 * Called while __swap_duplicate() or swap_entry_free() holds swap or cluster

Completed in 10 milliseconds