Lines Matching refs:wsize
2322 unsigned int j, nr_pages, wsize, tailsz, cur_len; in cifs_writev_requeue() local
2324 wsize = server->ops->wp_retry_size(inode); in cifs_writev_requeue()
2325 if (wsize < rest_len) { in cifs_writev_requeue()
2326 nr_pages = wsize / PAGE_SIZE; in cifs_writev_requeue()
2670 if (cifs_sb->ctx->wsize < PAGE_SIZE) in cifs_writepages()
2688 unsigned int i, nr_pages, found_pages, wsize; in cifs_writepages() local
2703 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->wsize, in cifs_writepages()
2704 &wsize, credits); in cifs_writepages()
2710 tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; in cifs_writepages()
3077 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument
3082 clen = min_t(const size_t, len, wsize); in get_numpages()
3172 unsigned int wsize; in cifs_resend_wdata() local
3194 &wsize, &credits); in cifs_resend_wdata()
3198 if (wsize < wdata->bytes) { in cifs_resend_wdata()
3202 } while (wsize < wdata->bytes); in cifs_resend_wdata()
3265 unsigned int wsize; in cifs_write_from_iter() local
3277 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->wsize, in cifs_write_from_iter()
3278 &wsize, credits); in cifs_write_from_iter()
3282 cur_len = min_t(const size_t, len, wsize); in cifs_write_from_iter()
3324 nr_pages = get_numpages(wsize, len, &cur_len); in cifs_write_from_iter()