Lines Matching refs:byte_count
838 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local
879 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile()
887 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile()
888 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile()
1051 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local
1096 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate()
1104 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate()
1105 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate()
1851 __u16 byte_count; in CIFSSMBWrite() local
1919 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite()
1921 byte_count = bytes_sent + 5; /* bigger pad, smaller smb hdr */ in CIFSSMBWrite()
1925 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBWrite()
1928 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBWrite()
1933 pSMBW->ByteCount = cpu_to_le16(byte_count); in CIFSSMBWrite()
2504 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBPosixLock() local
2534 byte_count = 3 /* pad */ + params + count; in CIFSSMBPosixLock()
2559 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBPosixLock()
2560 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBPosixLock()
2758 __u16 params, param_offset, offset, count, byte_count; in CIFSSMBRenameOpenFile() local
2782 byte_count = 3 /* pad */ + params; in CIFSSMBRenameOpenFile()
2804 byte_count += count; in CIFSSMBRenameOpenFile()
2811 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBRenameOpenFile()
2812 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBRenameOpenFile()
2908 __u16 params, param_offset, offset, byte_count; in CIFSUnixCreateSymLink() local
2960 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateSymLink()
2969 inc_rfc1001_len(pSMB, byte_count); in CIFSUnixCreateSymLink()
2970 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSUnixCreateSymLink()
2998 __u16 params, param_offset, offset, byte_count; in CIFSUnixCreateHardLink() local
3047 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateHardLink()
3056 inc_rfc1001_len(pSMB, byte_count); in CIFSUnixCreateHardLink()
3057 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSUnixCreateHardLink()
3157 __u16 params, byte_count; in CIFSSMBUnixQuerySymLink() local
3197 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQuerySymLink()
3202 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQuerySymLink()
3203 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQuerySymLink()
3584 __u16 params, byte_count; in CIFSSMBGetPosixACL() local
3627 byte_count = params + 1 /* pad */ ; in CIFSSMBGetPosixACL()
3632 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBGetPosixACL()
3633 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBGetPosixACL()
3674 __u16 params, byte_count, data_count, param_offset, offset; in CIFSSMBSetPosixACL() local
3720 byte_count = 3 /* pad */ + params + data_count; in CIFSSMBSetPosixACL()
3726 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetPosixACL()
3727 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetPosixACL()
3749 __u16 params, byte_count; in CIFSGetExtAttr() local
3778 byte_count = params + 1 /* pad */ ; in CIFSGetExtAttr()
3784 inc_rfc1001_len(pSMB, byte_count); in CIFSGetExtAttr()
3785 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSGetExtAttr()
4010 __u16 byte_count, param_count, data_count, param_offset, data_offset; in CIFSSMBSetCIFSACL() local
4028 byte_count = 3 /* pad */ + param_count; in CIFSSMBSetCIFSACL()
4040 pSMB->ByteCount = cpu_to_le16(byte_count+data_count); in CIFSSMBSetCIFSACL()
4049 inc_rfc1001_len(pSMB, byte_count + data_count); in CIFSSMBSetCIFSACL()
4051 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetCIFSACL()
4148 __u16 params, byte_count; in CIFSSMBQFileInfo() local
4173 byte_count = params + 1 /* pad */ ; in CIFSSMBQFileInfo()
4179 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFileInfo()
4180 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFileInfo()
4220 __u16 params, byte_count; in CIFSSMBQPathInfo() local
4258 byte_count = params + 1 /* pad */ ; in CIFSSMBQPathInfo()
4266 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQPathInfo()
4267 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQPathInfo()
4317 __u16 params, byte_count; in CIFSSMBUnixQFileInfo() local
4342 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQFileInfo()
4348 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQFileInfo()
4349 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQFileInfo()
4389 __u16 params, byte_count; in CIFSSMBUnixQPathInfo() local
4427 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQPathInfo()
4432 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQPathInfo()
4433 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQPathInfo()
4474 __u16 params, byte_count; in CIFSFindFirst() local
4530 byte_count = params + 1 /* pad */ ; in CIFSFindFirst()
4550 inc_rfc1001_len(pSMB, byte_count); in CIFSFindFirst()
4551 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSFindFirst()
4627 __u16 params, byte_count; in CIFSFindNext() local
4640 byte_count = 0; in CIFSFindNext()
4667 byte_count += name_len; in CIFSFindNext()
4675 byte_count = params + 1 /* pad */ ; in CIFSFindNext()
4678 inc_rfc1001_len(pSMB, byte_count); in CIFSFindNext()
4679 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSFindNext()
4793 __u16 params, byte_count; in CIFSGetSrvInodeNumber() local
4835 byte_count = params + 1 /* pad */ ; in CIFSGetSrvInodeNumber()
4840 inc_rfc1001_len(pSMB, byte_count); in CIFSGetSrvInodeNumber()
4841 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSGetSrvInodeNumber()
4889 __u16 params, byte_count; in CIFSGetDFSRefer() local
4954 byte_count = params + 3 /* pad */ ; in CIFSGetDFSRefer()
4958 inc_rfc1001_len(pSMB, byte_count); in CIFSGetDFSRefer()
4959 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSGetDFSRefer()
5005 __u16 params, byte_count; in SMBOldQFSInfo() local
5023 byte_count = params + 1 /* pad */ ; in SMBOldQFSInfo()
5034 inc_rfc1001_len(pSMB, byte_count); in SMBOldQFSInfo()
5035 pSMB->ByteCount = cpu_to_le16(byte_count); in SMBOldQFSInfo()
5085 __u16 params, byte_count; in CIFSSMBQFSInfo() local
5103 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSInfo()
5114 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSInfo()
5115 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSInfo()
5164 __u16 params, byte_count; in CIFSSMBQFSAttributeInfo() local
5183 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSAttributeInfo()
5194 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSAttributeInfo()
5195 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSAttributeInfo()
5234 __u16 params, byte_count; in CIFSSMBQFSDeviceInfo() local
5253 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSDeviceInfo()
5265 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSDeviceInfo()
5266 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSDeviceInfo()
5305 __u16 params, byte_count; in CIFSSMBQFSUnixInfo() local
5326 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSUnixInfo()
5335 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSUnixInfo()
5336 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSUnixInfo()
5374 __u16 params, param_offset, offset, byte_count; in CIFSSMBSetFSUnixInfo() local
5400 byte_count = 1 /* pad */ + params + 12; in CIFSSMBSetFSUnixInfo()
5418 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFSUnixInfo()
5419 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFSUnixInfo()
5450 __u16 params, byte_count; in CIFSSMBQFSPosixInfo() local
5471 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSPosixInfo()
5480 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSPosixInfo()
5481 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSPosixInfo()
5546 __u16 params, byte_count, data_count, param_offset, offset; in CIFSSMBSetEOF() local
5602 byte_count = 3 /* pad */ + params + data_count; in CIFSSMBSetEOF()
5608 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetEOF()
5610 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetEOF()
5631 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileSize() local
5659 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileSize()
5687 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileSize()
5688 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileSize()
5715 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileInfo() local
5745 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileInfo()
5758 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileInfo()
5759 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileInfo()
5780 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileDisposition() local
5809 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileDisposition()
5819 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileDisposition()
5820 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileDisposition()
5841 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetPathInfo() local
5882 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetPathInfo()
5893 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetPathInfo()
5895 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetPathInfo()
6016 u16 params, param_offset, offset, byte_count, count; in CIFSSMBUnixSetFileInfo() local
6047 byte_count = 3 /* pad */ + params + count; in CIFSSMBUnixSetFileInfo()
6057 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixSetFileInfo()
6058 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixSetFileInfo()
6086 __u16 params, param_offset, offset, count, byte_count; in CIFSSMBUnixSetPathInfo() local
6129 byte_count = 3 /* pad */ + params + count; in CIFSSMBUnixSetPathInfo()
6136 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixSetPathInfo()
6140 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixSetPathInfo()
6180 __u16 params, byte_count, data_offset; in CIFSSMBQAllEAs() local
6219 byte_count = params + 1 /* pad */ ; in CIFSSMBQAllEAs()
6224 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQAllEAs()
6225 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQAllEAs()
6362 __u16 params, param_offset, byte_count, offset, count; in CIFSSMBSetEA() local
6415 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetEA()
6440 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetEA()
6441 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetEA()