Lines Matching refs:wsize
2290 if (cifs_sb->wsize < PAGE_SIZE) in cifs_writepages()
2307 unsigned int i, nr_pages, found_pages, wsize; in cifs_writepages() local
2322 rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, in cifs_writepages()
2323 &wsize, credits); in cifs_writepages()
2329 tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; in cifs_writepages()
2658 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument
2663 clen = min_t(const size_t, len, wsize); in get_numpages()
2753 unsigned int wsize; in cifs_resend_wdata() local
2776 &wsize, &credits); in cifs_resend_wdata()
2780 if (wsize < wdata->bytes) { in cifs_resend_wdata()
2784 } while (wsize < wdata->bytes); in cifs_resend_wdata()
2839 unsigned int wsize; in cifs_write_from_iter() local
2851 rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, in cifs_write_from_iter()
2852 &wsize, credits); in cifs_write_from_iter()
2856 cur_len = min_t(const size_t, len, wsize); in cifs_write_from_iter()
2898 nr_pages = get_numpages(wsize, len, &cur_len); in cifs_write_from_iter()