Home
last modified time | relevance | path

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

/mm/
Dswapfile.c127 sector_t start_block; in discard_swap() local
133 start_block = (se->start_block + 1) << (PAGE_SHIFT - 9); in discard_swap()
136 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
144 start_block = se->start_block << (PAGE_SHIFT - 9); in discard_swap()
147 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
173 sector_t start_block = se->start_block + offset; in discard_swap_cluster() local
184 start_block <<= PAGE_SHIFT - 9; in discard_swap_cluster()
186 if (blkdev_issue_discard(si->bdev, start_block, in discard_swap_cluster()
1055 if (se->start_block == offset) { in swap_type_of()
1640 return se->start_block + (offset - se->start_page); in map_swap_entry()
[all …]