|
Linux Kernel
3.7.1
|
#include <linux/slab.h>#include <linux/module.h>#include <net/9p/9p.h>#include <net/9p/client.h>#include <linux/scatterlist.h>#include "trans_common.h"Go to the source code of this file.
Functions | |
| void | p9_release_pages (struct page **pages, int nr_pages) |
| EXPORT_SYMBOL (p9_release_pages) | |
| int | p9_nr_pages (char *data, int len) |
| EXPORT_SYMBOL (p9_nr_pages) | |
| int | p9_payload_gup (char *data, int *nr_pages, struct page **pages, int write) |
| EXPORT_SYMBOL (p9_payload_gup) | |
| EXPORT_SYMBOL | ( | p9_release_pages | ) |
| EXPORT_SYMBOL | ( | p9_nr_pages | ) |
| EXPORT_SYMBOL | ( | p9_payload_gup | ) |
p9_nr_pages - Return number of pages needed to accommodate the payload.
Definition at line 38 of file trans_common.c.
payload_gup - Translates user buffer into kernel pages and pins them either for read/write through get_user_pages_fast(). : Request to be sent to server. : data offset into the first page after translation (gup). : Total length of the IO. gup may not return requested # of pages. : number of pages to accommodate the payload : Indicates if the pages are for read or write.
Definition at line 57 of file trans_common.c.
1.8.2