]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/scatterlist.h
Merge tag 'for-v3.11' of git://git.infradead.org/battery-2.6
[karo-tx-linux.git] / include / linux / scatterlist.h
index 26806775b11b3932711bc796d1284171d92f58fb..adae88f5b0abb00b90f7a011a636cfaa5afc8733 100644 (file)
@@ -244,6 +244,11 @@ size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
                         void *buf, size_t buflen);
 
+size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
+                           void *buf, size_t buflen, off_t skip);
+size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
+                         void *buf, size_t buflen, off_t skip);
+
 /*
  * Maximum number of entries that will be allocated in one piece, if
  * a list larger than this is required then chaining will be utilized.