Lines Matching refs:tmp
967 struct swap_map_page_list *tmp; in release_swap_reader() local
972 tmp = handle->maps; in release_swap_reader()
974 kfree(tmp); in release_swap_reader()
983 struct swap_map_page_list *tmp, *last; in get_swap_reader() local
995 tmp = kzalloc(sizeof(*handle->maps), GFP_KERNEL); in get_swap_reader()
996 if (!tmp) { in get_swap_reader()
1001 handle->maps = tmp; in get_swap_reader()
1003 last->next = tmp; in get_swap_reader()
1004 last = tmp; in get_swap_reader()
1006 tmp->map = (struct swap_map_page *) in get_swap_reader()
1008 if (!tmp->map) { in get_swap_reader()
1013 error = hib_submit_io(REQ_OP_READ, offset, tmp->map, NULL); in get_swap_reader()
1018 offset = tmp->map->next_swap; in get_swap_reader()
1030 struct swap_map_page_list *tmp; in swap_read_page() local
1043 tmp = handle->maps; in swap_read_page()
1045 kfree(tmp); in swap_read_page()