Lines Matching defs:max_buf
1837 unsigned int num, max_num, max_buf;
1852 max_buf = tcon->ses->server->maxBuf;
1853 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
1860 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
1862 max_num = (max_buf - sizeof(struct smb_hdr)) /
2218 unsigned int max_num, num, max_buf;
2230 max_buf = tcon->ses->server->maxBuf;
2231 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
2236 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
2238 max_num = (max_buf - sizeof(struct smb_hdr)) /