Lines Matching refs:max_buf
1185 unsigned int num, max_num, max_buf;
1200 max_buf = tcon->ses->server->maxBuf;
1201 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) {
1208 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
1210 max_num = (max_buf - sizeof(struct smb_hdr)) /
1530 unsigned int max_num, num, max_buf;
1544 max_buf = tcon->ses->server->maxBuf;
1545 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE)))
1550 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr),
1552 max_num = (max_buf - sizeof(struct smb_hdr)) /