Lines Matching refs:from

383 		/* Copy from the inlined pages into the tail */
401 * Copies data from an arbitrary memory location into an array of pages
445 * Copies data into an arbitrary memory location from an array of pages
513 * @len: bytes to remove from buf->head[0]
543 /* Copy from the inlined pages into the tail */
559 /* Do we also need to copy data from the head into the tail ? */
598 * @len: bytes to remove from buf->pages
630 * xdr_stream_pos - Return the current offset from the start of the xdr_stream
640 * xdr_page_pos - Return the current offset from the start of the xdr pages
850 * and xdr->p points at offset len from the start of the buffer, and
860 * simple case of truncating from one position in the tail to another.
922 * and ensures xdr->end is set at most offset newbuflen from the start
1051 * @buf: pointer to XDR buffer from which to decode data
1079 * @buf: pointer to XDR buffer from which to decode data
1114 * The scratch buffer is used when decoding from an array of pages.
1228 * Moves data beyond the current pointer position from the XDR head[] buffer
1268 unsigned int from, bytes;
1276 from = xdr_page_pos(xdr);
1282 if (from > offset) {
1283 shift = min_t(unsigned int, bytes, buf->page_len - from);
1286 buf->page_base + from,
1296 xdr_set_page(xdr, from + length, PAGE_SIZE);
1305 unsigned int from;
1313 from = xdr_page_pos(xdr);
1318 unsigned int res = _shift_data_right_tail(buf, from + bytes - shift, shift);
1328 buf->page_base + from,
1332 buf->len += length - (from - offset) - truncated;
1339 * xdr_enter_page - decode data from the XDR page
1343 * Moves data beyond the current pointer position from the XDR head[] buffer