Lines Matching refs:swap_map_handle
55 * The swap_map_handle structure is used for handling swap in
59 struct swap_map_handle {
188 static int mark_swapfiles(struct swap_map_handle *handle, unsigned int flags)
264 static void release_swap_writer(struct swap_map_handle *handle)
271 static int get_swap_writer(struct swap_map_handle *handle)
302 static int swap_write_page(struct swap_map_handle *handle, void *buf,
334 static int flush_swap_writer(struct swap_map_handle *handle)
342 static int swap_writer_finish(struct swap_map_handle *handle,
364 static int save_image(struct swap_map_handle *handle,
434 struct swap_map_handle handle;
473 static void release_swap_reader(struct swap_map_handle *handle)
480 static int get_swap_reader(struct swap_map_handle *handle,
503 static int swap_read_page(struct swap_map_handle *handle, void *buf,
529 static int swap_reader_finish(struct swap_map_handle *handle)
542 static int load_image(struct swap_map_handle *handle,
601 struct swap_map_handle handle;