Searched refs:CIFSMaxBufSize (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/
H A Dcifsfs.c72 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
73 module_param(CIFSMaxBufSize, int, 0);
74 MODULE_PARM_DESC(CIFSMaxBufSize,"Network buffer size (not including header). Default: 16384 Range: 8192 to 130048");
728 if (CIFSMaxBufSize < 8192) {
731 CIFSMaxBufSize = 8192;
732 } else if (CIFSMaxBufSize > 1024*127) {
733 CIFSMaxBufSize = 1024 * 127;
735 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/
737 /* cERROR(1,("CIFSMaxBufSize %d 0x%x",CIFSMaxBufSize,CIFSMaxBufSiz
[all...]
H A Dtransport.c541 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
641 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
721 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
866 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
964 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
H A Dcifsglob.h577 GLOBAL_EXTERN unsigned int CIFSMaxBufSize; /* max size not including hdr */ variable
H A Dmisc.c450 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
H A Dcifssmb.c386 CIFSMaxBufSize+MAX_CIFS_HDR_SIZE)) {
476 (__u32)CIFSMaxBufSize + MAX_CIFS_HDR_SIZE);
573 (__u32) CIFSMaxBufSize + MAX_CIFS_HDR_SIZE);
1341 if ((data_length > CIFSMaxBufSize)
1426 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count);
3348 pSMB->SearchCount= cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO));
3448 cpu_to_le16(CIFSMaxBufSize / sizeof (FILE_UNIX_INFO));
H A Dconnect.c504 if((pdu_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) ||
1932 if (volume_info.rsize > CIFSMaxBufSize) {
1935 cifs_sb->rsize = CIFSMaxBufSize;
1936 } else if((volume_info.rsize) && (volume_info.rsize <= CIFSMaxBufSize))
1939 cifs_sb->rsize = CIFSMaxBufSize;
1951 /* old default of CIFSMaxBufSize was too small now

Completed in 142 milliseconds