Home
last modified time | relevance | path

Searched refs:swcount (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/mm/
Dswapfile.c1340 unsigned char swcount; in try_to_unuse() local
1390 swcount = *swap_map; in try_to_unuse()
1398 if (!swcount || swcount == SWAP_MAP_BAD) in try_to_unuse()
1429 swcount = *swap_map; in try_to_unuse()
1430 if (swap_count(swcount) == SWAP_MAP_SHMEM) { in try_to_unuse()
1437 if (swap_count(swcount) && start_mm != &init_mm) in try_to_unuse()
1441 int set_start_mm = (*swap_map >= swcount); in try_to_unuse()
1461 swcount = *swap_map; in try_to_unuse()
1462 if (!swap_count(swcount)) /* any usage ? */ in try_to_unuse()
1469 if (set_start_mm && *swap_map < swcount) { in try_to_unuse()