diff options
Diffstat (limited to 'net/sunrpc/xdr.c')
-rw-r--r-- | net/sunrpc/xdr.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index fddcccfcdf76..0cf165580d8d 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c | |||
@@ -180,7 +180,9 @@ EXPORT_SYMBOL_GPL(xdr_inline_pages); | |||
180 | 180 | ||
181 | /* | 181 | /* |
182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf | 182 | * Helper routines for doing 'memmove' like operations on a struct xdr_buf |
183 | * | 183 | */ |
184 | |||
185 | /** | ||
184 | * _shift_data_right_pages | 186 | * _shift_data_right_pages |
185 | * @pages: vector of pages containing both the source and dest memory area. | 187 | * @pages: vector of pages containing both the source and dest memory area. |
186 | * @pgto_base: page vector address of destination | 188 | * @pgto_base: page vector address of destination |
@@ -242,7 +244,7 @@ _shift_data_right_pages(struct page **pages, size_t pgto_base, | |||
242 | } while ((len -= copy) != 0); | 244 | } while ((len -= copy) != 0); |
243 | } | 245 | } |
244 | 246 | ||
245 | /* | 247 | /** |
246 | * _copy_to_pages | 248 | * _copy_to_pages |
247 | * @pages: array of pages | 249 | * @pages: array of pages |
248 | * @pgbase: page vector address of destination | 250 | * @pgbase: page vector address of destination |
@@ -286,7 +288,7 @@ _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len) | |||
286 | flush_dcache_page(*pgto); | 288 | flush_dcache_page(*pgto); |
287 | } | 289 | } |
288 | 290 | ||
289 | /* | 291 | /** |
290 | * _copy_from_pages | 292 | * _copy_from_pages |
291 | * @p: pointer to destination | 293 | * @p: pointer to destination |
292 | * @pages: array of pages | 294 | * @pages: array of pages |
@@ -326,7 +328,7 @@ _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len) | |||
326 | } | 328 | } |
327 | EXPORT_SYMBOL_GPL(_copy_from_pages); | 329 | EXPORT_SYMBOL_GPL(_copy_from_pages); |
328 | 330 | ||
329 | /* | 331 | /** |
330 | * xdr_shrink_bufhead | 332 | * xdr_shrink_bufhead |
331 | * @buf: xdr_buf | 333 | * @buf: xdr_buf |
332 | * @len: bytes to remove from buf->head[0] | 334 | * @len: bytes to remove from buf->head[0] |
@@ -399,7 +401,7 @@ xdr_shrink_bufhead(struct xdr_buf *buf, size_t len) | |||
399 | buf->len = buf->buflen; | 401 | buf->len = buf->buflen; |
400 | } | 402 | } |
401 | 403 | ||
402 | /* | 404 | /** |
403 | * xdr_shrink_pagelen | 405 | * xdr_shrink_pagelen |
404 | * @buf: xdr_buf | 406 | * @buf: xdr_buf |
405 | * @len: bytes to remove from buf->pages | 407 | * @len: bytes to remove from buf->pages |