diff options
Diffstat (limited to 'include/linux/scatterlist.h')
| -rw-r--r-- | include/linux/scatterlist.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h index ac9586dadfa..7b600da9a63 100644 --- a/include/linux/scatterlist.h +++ b/include/linux/scatterlist.h @@ -214,6 +214,10 @@ void sg_free_table(struct sg_table *);  int __sg_alloc_table(struct sg_table *, unsigned int, unsigned int, gfp_t,  		     sg_alloc_fn *);  int sg_alloc_table(struct sg_table *, unsigned int, gfp_t); +int sg_alloc_table_from_pages(struct sg_table *sgt, +	struct page **pages, unsigned int n_pages, +	unsigned long offset, unsigned long size, +	gfp_t gfp_mask);  size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,  			   void *buf, size_t buflen);  |