Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/power/
Dswap.c98 sector_t cur_swap; member
424 handle->cur_swap = alloc_swapdev_block(root_swap); in get_swap_writer()
425 if (!handle->cur_swap) { in get_swap_writer()
431 handle->first_sector = handle->cur_swap; in get_swap_writer()
458 error = write_page(handle->cur, handle->cur_swap, hb); in swap_write_page()
462 handle->cur_swap = offset; in swap_write_page()
482 if (handle->cur && handle->cur_swap) in flush_swap_writer()
483 return write_page(handle->cur, handle->cur_swap, NULL); in flush_swap_writer()