Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/power/
Dswap.c100 sector_t cur_swap; member
426 handle->cur_swap = alloc_swapdev_block(root_swap); in get_swap_writer()
427 if (!handle->cur_swap) { in get_swap_writer()
433 handle->first_sector = handle->cur_swap; in get_swap_writer()
460 error = write_page(handle->cur, handle->cur_swap, hb); in swap_write_page()
464 handle->cur_swap = offset; in swap_write_page()
484 if (handle->cur && handle->cur_swap) in flush_swap_writer()
485 return write_page(handle->cur, handle->cur_swap, NULL); in flush_swap_writer()