Lines Matching defs:rsize
3873 unsigned int rsize;
3897 &rsize, &credits);
3902 if (rsize < rdata->bytes) {
3906 } while (rsize < rdata->bytes);
3947 unsigned int rsize, nsegs, max_segs = INT_MAX;
3976 if (cifs_sb->ctx->rsize == 0)
3977 cifs_sb->ctx->rsize =
3981 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->rsize,
3982 &rsize, credits);
3986 max_len = min_t(size_t, len, rsize);
4312 unsigned int rsize;
4327 rsize = min_t(unsigned int, cifs_sb->ctx->rsize, CIFSMaxBufSize);
4355 rsize);
4544 * Chop the readahead request up into rsize-sized read requests.
4547 unsigned int i, rsize;
4604 if (cifs_sb->ctx->rsize == 0)
4605 cifs_sb->ctx->rsize =
4609 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->rsize,
4610 &rsize, credits);
4613 nr_pages = min_t(size_t, rsize / PAGE_SIZE, ra_pages);
4618 * Give up immediately if rsize is too small to read an entire
4621 * rsize is smaller than a cache page.