Home
last modified time | relevance | path

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

/linux-4.1.27/kernel/power/
Dswap.c90 sector_t cur_swap; member
334 handle->cur_swap = alloc_swapdev_block(root_swap); in get_swap_writer()
335 if (!handle->cur_swap) { in get_swap_writer()
341 handle->first_sector = handle->cur_swap; in get_swap_writer()
368 error = write_page(handle->cur, handle->cur_swap, bio_chain); in swap_write_page()
372 handle->cur_swap = offset; in swap_write_page()
392 if (handle->cur && handle->cur_swap) in flush_swap_writer()
393 return write_page(handle->cur, handle->cur_swap, NULL); in flush_swap_writer()