trans_virtio.c (94a2597c01a4bd495789e1546374c26b19f6eafd) trans_virtio.c (2c53040f018b6c36a46eec75b9b937aaa5f78e6d)
1/*
2 * The Virtio 9p transport driver
3 *
4 * This is a block based transport driver based on the lguest block driver
5 * code.
6 *
7 * Copyright (C) 2007, 2008 Eric Van Hensbergen, IBM Corporation
8 *

--- 198 unchanged lines hidden (view full) ---

207 return 1;
208}
209
210/**
211 * pack_sg_list_p - Just like pack_sg_list. Instead of taking a buffer,
212 * this takes a list of pages.
213 * @sg: scatter/gather list to pack into
214 * @start: which segment of the sg_list to start at
1/*
2 * The Virtio 9p transport driver
3 *
4 * This is a block based transport driver based on the lguest block driver
5 * code.
6 *
7 * Copyright (C) 2007, 2008 Eric Van Hensbergen, IBM Corporation
8 *

--- 198 unchanged lines hidden (view full) ---

207 return 1;
208}
209
210/**
211 * pack_sg_list_p - Just like pack_sg_list. Instead of taking a buffer,
212 * this takes a list of pages.
213 * @sg: scatter/gather list to pack into
214 * @start: which segment of the sg_list to start at
215 * @**pdata: a list of pages to add into sg.
215 * @pdata: a list of pages to add into sg.
216 * @nr_pages: number of pages to pack into the scatter/gather list
217 * @data: data to pack into scatter/gather list
218 * @count: amount of data to pack into the scatter/gather list
219 */
220static int
221pack_sg_list_p(struct scatterlist *sg, int start, int limit,
222 struct page **pdata, int nr_pages, char *data, int count)
223{

--- 468 unchanged lines hidden ---
216 * @nr_pages: number of pages to pack into the scatter/gather list
217 * @data: data to pack into scatter/gather list
218 * @count: amount of data to pack into the scatter/gather list
219 */
220static int
221pack_sg_list_p(struct scatterlist *sg, int start, int limit,
222 struct page **pdata, int nr_pages, char *data, int count)
223{

--- 468 unchanged lines hidden ---