Lines Matching refs:tmp
957 struct swap_map_page_list *tmp; in release_swap_reader() local
962 tmp = handle->maps; in release_swap_reader()
964 kfree(tmp); in release_swap_reader()
973 struct swap_map_page_list *tmp, *last; in get_swap_reader() local
985 tmp = kzalloc(sizeof(*handle->maps), GFP_KERNEL); in get_swap_reader()
986 if (!tmp) { in get_swap_reader()
991 handle->maps = tmp; in get_swap_reader()
993 last->next = tmp; in get_swap_reader()
994 last = tmp; in get_swap_reader()
996 tmp->map = (struct swap_map_page *) in get_swap_reader()
998 if (!tmp->map) { in get_swap_reader()
1003 error = hib_submit_io(REQ_OP_READ, offset, tmp->map, NULL); in get_swap_reader()
1008 offset = tmp->map->next_swap; in get_swap_reader()
1020 struct swap_map_page_list *tmp; in swap_read_page() local
1033 tmp = handle->maps; in swap_read_page()
1035 kfree(tmp); in swap_read_page()