Lines Matching refs:byte_count
673 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local
715 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile()
723 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile()
724 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile()
882 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local
926 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate()
934 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate()
935 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate()
1497 __u16 byte_count; in CIFSSMBWrite() local
1565 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite()
1567 byte_count = bytes_sent + 5; /* bigger pad, smaller smb hdr */ in CIFSSMBWrite()
1571 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBWrite()
1574 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBWrite()
1579 pSMBW->ByteCount = cpu_to_le16(byte_count); in CIFSSMBWrite()
1976 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBPosixLock() local
2006 byte_count = 3 /* pad */ + params + count; in CIFSSMBPosixLock()
2032 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBPosixLock()
2033 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBPosixLock()
2227 __u16 params, param_offset, offset, count, byte_count; in CIFSSMBRenameOpenFile() local
2252 byte_count = 3 /* pad */ + params; in CIFSSMBRenameOpenFile()
2274 byte_count += count; in CIFSSMBRenameOpenFile()
2281 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBRenameOpenFile()
2282 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBRenameOpenFile()
2373 __u16 params, param_offset, offset, byte_count; in CIFSUnixCreateSymLink() local
2422 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateSymLink()
2431 inc_rfc1001_len(pSMB, byte_count); in CIFSUnixCreateSymLink()
2432 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSUnixCreateSymLink()
2460 __u16 params, param_offset, offset, byte_count; in CIFSUnixCreateHardLink() local
2506 byte_count = 3 /* pad */ + params + name_len_target; in CIFSUnixCreateHardLink()
2515 inc_rfc1001_len(pSMB, byte_count); in CIFSUnixCreateHardLink()
2516 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSUnixCreateHardLink()
2611 __u16 params, byte_count; in CIFSSMBUnixQuerySymLink() local
2649 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQuerySymLink()
2654 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQuerySymLink()
2655 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQuerySymLink()
3066 __u16 params, byte_count; in cifs_do_get_acl() local
3107 byte_count = params + 1 /* pad */ ; in cifs_do_get_acl()
3112 inc_rfc1001_len(pSMB, byte_count); in cifs_do_get_acl()
3113 pSMB->ByteCount = cpu_to_le16(byte_count); in cifs_do_get_acl()
3157 __u16 params, byte_count, data_count, param_offset, offset; in cifs_do_set_acl() local
3201 byte_count = 3 /* pad */ + params + data_count; in cifs_do_set_acl()
3207 inc_rfc1001_len(pSMB, byte_count); in cifs_do_set_acl()
3208 pSMB->ByteCount = cpu_to_le16(byte_count); in cifs_do_set_acl()
3246 __u16 params, byte_count; in CIFSGetExtAttr() local
3275 byte_count = params + 1 /* pad */ ; in CIFSGetExtAttr()
3281 inc_rfc1001_len(pSMB, byte_count); in CIFSGetExtAttr()
3282 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSGetExtAttr()
3506 __u16 byte_count, param_count, data_count, param_offset, data_offset; in CIFSSMBSetCIFSACL() local
3524 byte_count = 3 /* pad */ + param_count; in CIFSSMBSetCIFSACL()
3536 pSMB->ByteCount = cpu_to_le16(byte_count+data_count); in CIFSSMBSetCIFSACL()
3545 inc_rfc1001_len(pSMB, byte_count + data_count); in CIFSSMBSetCIFSACL()
3547 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetCIFSACL()
3641 __u16 params, byte_count; in CIFSSMBQFileInfo() local
3666 byte_count = params + 1 /* pad */ ; in CIFSSMBQFileInfo()
3672 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFileInfo()
3673 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFileInfo()
3713 __u16 params, byte_count; in CIFSSMBQPathInfo() local
3749 byte_count = params + 1 /* pad */ ; in CIFSSMBQPathInfo()
3757 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQPathInfo()
3758 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQPathInfo()
3808 __u16 params, byte_count; in CIFSSMBUnixQFileInfo() local
3833 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQFileInfo()
3839 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQFileInfo()
3840 pSMB->t2.ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQFileInfo()
3880 __u16 params, byte_count; in CIFSSMBUnixQPathInfo() local
3916 byte_count = params + 1 /* pad */ ; in CIFSSMBUnixQPathInfo()
3921 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixQPathInfo()
3922 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixQPathInfo()
3962 __u16 params, byte_count; in CIFSFindFirst() local
4019 byte_count = params + 1 /* pad */ ; in CIFSFindFirst()
4039 inc_rfc1001_len(pSMB, byte_count); in CIFSFindFirst()
4040 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSFindFirst()
4103 __u16 params, byte_count; in CIFSFindNext() local
4119 byte_count = 0; in CIFSFindNext()
4146 byte_count += name_len; in CIFSFindNext()
4154 byte_count = params + 1 /* pad */ ; in CIFSFindNext()
4157 inc_rfc1001_len(pSMB, byte_count); in CIFSFindNext()
4158 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSFindNext()
4262 __u16 params, byte_count; in CIFSGetSrvInodeNumber() local
4302 byte_count = params + 1 /* pad */ ; in CIFSGetSrvInodeNumber()
4307 inc_rfc1001_len(pSMB, byte_count); in CIFSGetSrvInodeNumber()
4308 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSGetSrvInodeNumber()
4356 __u16 params, byte_count; in CIFSGetDFSRefer() local
4419 byte_count = params + 3 /* pad */ ; in CIFSGetDFSRefer()
4423 inc_rfc1001_len(pSMB, byte_count); in CIFSGetDFSRefer()
4424 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSGetDFSRefer()
4470 __u16 params, byte_count; in SMBOldQFSInfo() local
4488 byte_count = params + 1 /* pad */ ; in SMBOldQFSInfo()
4499 inc_rfc1001_len(pSMB, byte_count); in SMBOldQFSInfo()
4500 pSMB->ByteCount = cpu_to_le16(byte_count); in SMBOldQFSInfo()
4557 __u16 params, byte_count; in CIFSSMBQFSInfo() local
4575 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSInfo()
4586 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSInfo()
4587 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSInfo()
4643 __u16 params, byte_count; in CIFSSMBQFSAttributeInfo() local
4662 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSAttributeInfo()
4673 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSAttributeInfo()
4674 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSAttributeInfo()
4713 __u16 params, byte_count; in CIFSSMBQFSDeviceInfo() local
4732 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSDeviceInfo()
4744 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSDeviceInfo()
4745 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSDeviceInfo()
4784 __u16 params, byte_count; in CIFSSMBQFSUnixInfo() local
4805 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSUnixInfo()
4814 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSUnixInfo()
4815 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSUnixInfo()
4853 __u16 params, param_offset, offset, byte_count; in CIFSSMBSetFSUnixInfo() local
4879 byte_count = 1 /* pad */ + params + 12; in CIFSSMBSetFSUnixInfo()
4897 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFSUnixInfo()
4898 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFSUnixInfo()
4929 __u16 params, byte_count; in CIFSSMBQFSPosixInfo() local
4950 byte_count = params + 1 /* pad */ ; in CIFSSMBQFSPosixInfo()
4959 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQFSPosixInfo()
4960 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQFSPosixInfo()
5032 __u16 params, byte_count, data_count, param_offset, offset; in CIFSSMBSetEOF() local
5086 byte_count = 3 /* pad */ + params + data_count; in CIFSSMBSetEOF()
5092 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetEOF()
5094 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetEOF()
5115 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileSize() local
5143 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileSize()
5171 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileSize()
5172 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileSize()
5199 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileInfo() local
5229 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileInfo()
5242 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileInfo()
5243 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileInfo()
5264 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetFileDisposition() local
5294 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetFileDisposition()
5304 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetFileDisposition()
5305 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetFileDisposition()
5359 __u16 params, param_offset, offset, byte_count, count; in CIFSSMBSetPathInfo() local
5399 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetPathInfo()
5410 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetPathInfo()
5412 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetPathInfo()
5485 u16 params, param_offset, offset, byte_count, count; in CIFSSMBUnixSetFileInfo() local
5516 byte_count = 3 /* pad */ + params + count; in CIFSSMBUnixSetFileInfo()
5526 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixSetFileInfo()
5527 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixSetFileInfo()
5555 __u16 params, param_offset, offset, count, byte_count; in CIFSSMBUnixSetPathInfo() local
5595 byte_count = 3 /* pad */ + params + count; in CIFSSMBUnixSetPathInfo()
5602 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBUnixSetPathInfo()
5606 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBUnixSetPathInfo()
5646 __u16 params, byte_count, data_offset; in CIFSSMBQAllEAs() local
5683 byte_count = params + 1 /* pad */ ; in CIFSSMBQAllEAs()
5688 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBQAllEAs()
5689 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBQAllEAs()
5826 __u16 params, param_offset, byte_count, offset, count; in CIFSSMBSetEA() local
5877 byte_count = 3 /* pad */ + params + count; in CIFSSMBSetEA()
5902 inc_rfc1001_len(pSMB, byte_count); in CIFSSMBSetEA()
5903 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSSMBSetEA()