• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/

Lines Matching refs:pages

115 xdr_encode_pages(struct xdr_buf *xdr, struct page **pages, unsigned int base,
121 xdr->pages = pages;
144 struct page **pages, unsigned int base, unsigned int len)
153 xdr->pages = pages;
168 * @pages: vector of pages containing both the source and dest memory area.
175 * if a memory area starts at byte 'base' in page 'pages[i]',
181 _shift_data_right_pages(struct page **pages, size_t pgto_base,
193 pgto = pages + (pgto_base >> PAGE_CACHE_SHIFT);
194 pgfrom = pages + (pgfrom_base >> PAGE_CACHE_SHIFT);
230 * @pages: array of pages
235 * Copies data from an arbitrary memory location into an array of pages
239 _copy_to_pages(struct page **pages, size_t pgbase, const char *p, size_t len)
245 pgto = pages + (pgbase >> PAGE_CACHE_SHIFT);
275 * @pages: array of pages
279 * Copies data into an arbitrary memory location from an array of pages
283 _copy_from_pages(char *p, struct page **pages, size_t pgbase, size_t len)
289 pgfrom = pages + (pgbase >> PAGE_CACHE_SHIFT);
318 * moved into the inlined pages and/or the tail.
338 /* Copy from the inlined pages into the tail */
349 buf->pages,
363 /* Now handle pages */
366 _shift_data_right_pages(buf->pages,
373 _copy_to_pages(buf->pages, buf->page_base,
387 * @len: bytes to remove from buf->pages
389 * Shrinks XDR buffer's page array buf->pages by
412 /* Copy from the inlined pages into the tail */
417 buf->pages, buf->page_base + pglen - len,
499 * xdr_write_pages - Insert a list of pages into an XDR buffer for sending
501 * @pages: list of pages
506 void xdr_write_pages(struct xdr_stream *xdr, struct page **pages, unsigned int base,
511 buf->pages = pages;
592 /* Realign pages to current pointer position */
631 char * kaddr = page_address(xdr->buf->pages[0]);
679 subbuf->pages = &buf->pages[base >> PAGE_CACHE_SHIFT];
715 _copy_from_pages(obj, subbuf->pages, subbuf->page_base, this_len);
746 _copy_to_pages(subbuf->pages, subbuf->page_base, obj, this_len);
885 base = buf->head->iov_len; /* align to start of pages */
888 /* process pages array */
897 ppages = buf->pages + (base >> PAGE_CACHE_SHIFT);
1085 sg_set_page(sg, buf->pages[i], thislen, page_offset);