Lines Matching refs:tmp
949 struct swap_map_page_list *tmp; in release_swap_reader() local
954 tmp = handle->maps; in release_swap_reader()
956 kfree(tmp); in release_swap_reader()
965 struct swap_map_page_list *tmp, *last; in get_swap_reader() local
977 tmp = kzalloc(sizeof(*handle->maps), GFP_KERNEL); in get_swap_reader()
978 if (!tmp) { in get_swap_reader()
983 handle->maps = tmp; in get_swap_reader()
985 last->next = tmp; in get_swap_reader()
986 last = tmp; in get_swap_reader()
988 tmp->map = (struct swap_map_page *) in get_swap_reader()
990 if (!tmp->map) { in get_swap_reader()
995 error = hib_submit_io(REQ_OP_READ, 0, offset, tmp->map, NULL); in get_swap_reader()
1000 offset = tmp->map->next_swap; in get_swap_reader()
1012 struct swap_map_page_list *tmp; in swap_read_page() local
1025 tmp = handle->maps; in swap_read_page()
1027 kfree(tmp); in swap_read_page()