Lines Matching refs:want

328 xs_alloc_sparse_pages(struct xdr_buf *buf, size_t want, gfp_t gfp)
332 if (!want || !(buf->flags & XDRBUF_SPARSE_PAGES))
333 return want;
334 n = (buf->page_base + want + PAGE_SIZE - 1) >> PAGE_SHIFT;
344 return want;
406 size_t want, seek_init = seek, offset = 0;
409 want = min_t(size_t, count, buf->head[0].iov_len);
410 if (seek < want) {
411 ret = xs_read_kvec(sock, msg, flags, &buf->head[0], want, seek);
417 if (ret != want)
421 seek -= want;
422 offset += want;
425 want = xs_alloc_sparse_pages(buf,
428 if (seek < want) {
431 want + buf->page_base,
440 if (ret != want)
444 seek -= want;
445 offset += want;
448 want = min_t(size_t, count - offset, buf->tail[0].iov_len);
449 if (seek < want) {
450 ret = xs_read_kvec(sock, msg, flags, &buf->tail[0], want, seek);
456 if (ret != want)
500 size_t want, read;
505 want = transport->recv.len - transport->recv.offset;
506 if (want != 0) {
508 transport->recv.copied + want,
518 if (want == 0)
544 int flags, size_t want, size_t seek)
548 .iov_len = want,
550 return xs_read_kvec(transport->sock, msg, flags, &kvec, want, seek);
620 size_t want, read = 0;
624 want = xs_read_stream_headersize(transport->recv.copied != 0);
625 ret = xs_read_stream_header(transport, &msg, flags, want,
630 if (transport->recv.offset != want)
1159 * using the socket, and so we don't want to clear sk->sk_err.
1237 * on the server we want to save.
1950 * We want the AF_LOCAL connect to be resolved in the
1954 * If we want to support asynchronous AF_LOCAL calls,
2513 * we allocate pages instead doing a kmalloc like rpc_malloc is because we want
3070 * we want to keep it around as long as the connection lasts,
3082 * Since we don't want connections for the backchannel, we set