Searched refs:maxBuf (Results 1 – 6 of 6) sorted by relevance
150 server->maxBuf = 0; in cifs_reconnect()354 if (server->maxBuf == 0 || in cifs_echo_request()628 check2ndT2(smb_buffer, server->maxBuf) > 0) { in cifs_demultiplex_thread()2858 (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE)); in cifs_mount()2861 (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE)); in cifs_mount()3186 if (server->maxBuf != 0) in cifs_negotiate_protocol()
189 unsigned int maxBuf; /* maxBuf specifies the maximum */ member
447 server->maxBuf = min((__u32)le16_to_cpu(rsp->MaxBufSize), in CIFSSMBNegotiate()559 server->maxBuf = min(le32_to_cpu(pSMBr->MaxBufferSize), in CIFSSMBNegotiate()562 cFYI(DBG2, "Max buf = %d", ses->server->maxBuf); in CIFSSMBNegotiate()1536 bytes_sent = (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) in CIFSSMBWrite()2541 pSMB->MaxDataCount = cpu_to_le32((tcon->ses->server->maxBuf - in CIFSSMBQueryReparseLinkInfo()3035 pSMB->MaxDataCount = cpu_to_le32((tcon->ses->server->maxBuf - in smb_init_nttransact()3706 pSMB->MaxDataCount = cpu_to_le16((tcon->ses->server->maxBuf - in CIFSFindFirst()3781 if (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE < in CIFSFindFirst()3826 cpu_to_le16((tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) & in CIFSFindNext()3909 if (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE < in CIFSFindNext()[all …]
127 pSMB->req.MaxBufferSize = cpu_to_le16(ses->server->maxBuf); in cifs_ssetup_hdr()
59 if (cifs_sb_master_tcon(cifs_sb)->ses->server->maxBuf <
1934 pTcon->ses->server->maxBuf - 128); in cifs_read()