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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/cifs/
H A Dcifsfs.c64 unsigned int CIFSMaxBufSize = CIFS_MAX_MSGSIZE; variable
65 module_param(CIFSMaxBufSize, int, 0);
66 MODULE_PARM_DESC(CIFSMaxBufSize, "Network buffer size (not including header). "
766 if (CIFSMaxBufSize < 8192) {
769 CIFSMaxBufSize = 8192;
770 } else if (CIFSMaxBufSize > 1024*127) {
771 CIFSMaxBufSize = 1024 * 127;
773 CIFSMaxBufSize &= 0x1FE00; /* Round size to even 512 byte mult*/
775 /* cERROR(1, "CIFSMaxBufSize %d 0x%x",CIFSMaxBufSize,CIFSMaxBufSiz
[all...]
H A Dtransport.c521 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
606 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
711 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
840 if (in_buf->smb_buf_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
956 if (receive_len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE) {
H A Dcifsglob.h726 GLOBAL_EXTERN unsigned int CIFSMaxBufSize; /* max size not including hdr */ variable
H A Dmisc.c444 if (len > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) {
H A Dcifssmb.c345 CIFSMaxBufSize+MAX_CIFS_HDR_SIZE)) {
446 (__u32)CIFSMaxBufSize + MAX_CIFS_HDR_SIZE);
559 (__u32) CIFSMaxBufSize + MAX_CIFS_HDR_SIZE);
1390 if ((data_length > CIFSMaxBufSize)
1481 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count);
2407 pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize);
3289 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize);
3457 pSMB->t2.MaxDataCount = cpu_to_le16(CIFSMaxBufSize);
3668 pSMB->SearchCount = cpu_to_le16(CIFSMaxBufSize/sizeof(FILE_UNIX_INFO));
3783 cpu_to_le16(CIFSMaxBufSize / sizeo
[all...]
H A Dconnect.c482 if ((pdu_length > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) ||
2386 if (pvolume_info->rsize > CIFSMaxBufSize) {
2389 cifs_sb->rsize = CIFSMaxBufSize;
2391 (pvolume_info->rsize <= CIFSMaxBufSize))
2394 cifs_sb->rsize = CIFSMaxBufSize;
2406 /* old default of CIFSMaxBufSize was too small now

Completed in 104 milliseconds