Searched refs:__swap_duplicate (Results 1 – 1 of 1) sorted by relevance
3644 static int __swap_duplicate(swp_entry_t entry, unsigned char usage, int nr) in __swap_duplicate() function3723 __swap_duplicate(entry, SWAP_MAP_SHMEM, nr); in swap_shmem_alloc()3737 while (!err && __swap_duplicate(entry, 1, 1) == -ENOMEM) in swap_duplicate()3752 return __swap_duplicate(entry, SWAP_HAS_CACHE, nr); in swapcache_prepare()