Home
last modified time | relevance | path

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

/mm/
Dswapfile.c174 sector_t nr_blocks; in discard_swap() local
180 nr_blocks = ((sector_t)se->nr_pages - 1) << (PAGE_SHIFT - 9); in discard_swap()
181 if (nr_blocks) { in discard_swap()
183 nr_blocks, GFP_KERNEL, 0); in discard_swap()
191 nr_blocks = (sector_t)se->nr_pages << (PAGE_SHIFT - 9); in discard_swap()
194 nr_blocks, GFP_KERNEL, 0); in discard_swap()
248 sector_t nr_blocks = se->nr_pages - offset; in discard_swap_cluster() local
250 if (nr_blocks > nr_pages) in discard_swap_cluster()
251 nr_blocks = nr_pages; in discard_swap_cluster()
252 start_page += nr_blocks; in discard_swap_cluster()
[all …]