Lines Matching refs:max_buf
1456 unsigned int num, max_num, max_buf;
1471 max_buf = tcon->ses->server->maxBuf;
1472 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
1479 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
1481 max_num = (max_buf - sizeof(struct smb_hdr)) /
1811 unsigned int max_num, num, max_buf;
1825 max_buf = tcon->ses->server->maxBuf;
1826 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
1831 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
1833 max_num = (max_buf - sizeof(struct smb_hdr)) /