diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/scatterlist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h index 26806775b11b..adae88f5b0ab 100644 --- a/include/linux/scatterlist.h +++ b/include/linux/scatterlist.h | |||
@@ -244,6 +244,11 @@ size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents, | |||
244 | size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, | 244 | size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, |
245 | void *buf, size_t buflen); | 245 | void *buf, size_t buflen); |
246 | 246 | ||
247 | size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents, | ||
248 | void *buf, size_t buflen, off_t skip); | ||
249 | size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents, | ||
250 | void *buf, size_t buflen, off_t skip); | ||
251 | |||
247 | /* | 252 | /* |
248 | * Maximum number of entries that will be allocated in one piece, if | 253 | * Maximum number of entries that will be allocated in one piece, if |
249 | * a list larger than this is required then chaining will be utilized. | 254 | * a list larger than this is required then chaining will be utilized. |