Searched refs:pages_to_unuse (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | frontswap.c | 393 unsigned long pages = 0, pages_to_unuse = 0; in __frontswap_unuse_pages() local 399 pages = pages_to_unuse = total_pages_to_unuse; in __frontswap_unuse_pages() 402 pages_to_unuse = 0; /* unuse all */ in __frontswap_unuse_pages() 410 *unused = pages_to_unuse; in __frontswap_unuse_pages() 425 unsigned long *pages_to_unuse, in __frontswap_shrink() argument 435 *pages_to_unuse = 0; in __frontswap_shrink() 439 return __frontswap_unuse_pages(total_pages_to_unuse, pages_to_unuse, type); in __frontswap_shrink() 452 unsigned long pages_to_unuse = 0; in frontswap_shrink() local 461 ret = __frontswap_shrink(target_pages, &pages_to_unuse, &type); in frontswap_shrink() 464 try_to_unuse(type, true, pages_to_unuse); in frontswap_shrink()
|
D | swapfile.c | 2161 unsigned long pages_to_unuse) in try_to_unuse() argument 2176 pages_to_unuse = 0; in try_to_unuse() 2179 retval = shmem_unuse(type, frontswap, &pages_to_unuse); in try_to_unuse() 2198 retval = unuse_mm(mm, type, frontswap, &pages_to_unuse); in try_to_unuse() 2243 if (pages_to_unuse && --pages_to_unuse == 0) in try_to_unuse()
|