Lines Matching refs:data_count
2523 __u16 data_count; in CIFSSMBPosixLock() local
2531 data_count = le16_to_cpu(pSMBr->t2.DataCount); in CIFSSMBPosixLock()
2532 if (data_count < sizeof(struct cifs_posix_lock)) { in CIFSSMBPosixLock()
3211 __u32 data_offset, data_count; in CIFSSMBQuerySymLink() local
3247 data_count = le32_to_cpu(pSMBr->DataCount); in CIFSSMBQuerySymLink()
3253 if (!data_count || (data_count > 2048)) { in CIFSSMBQuerySymLink()
3618 __u16 params, byte_count, data_count, param_offset, offset; in CIFSSMBSetPosixACL() local
3653 data_count = ACL_to_cifs_posix(parm_data, local_acl, buflen, acl_type); in CIFSSMBSetPosixACL()
3655 if (data_count == 0) { in CIFSSMBSetPosixACL()
3664 byte_count = 3 /* pad */ + params + data_count; in CIFSSMBSetPosixACL()
3665 pSMB->DataCount = cpu_to_le16(data_count); in CIFSSMBSetPosixACL()
3811 __u32 data_count, data_offset, parm_count, parm_offset; in validate_ntransact() local
3828 data_count = le32_to_cpu(pSMBr->DataCount); in validate_ntransact()
3845 } else if (data_count + *ppdata > end_of_smb) { in validate_ntransact()
3847 *ppdata, data_count, (data_count + *ppdata), in validate_ntransact()
3850 } else if (parm_count + data_count > bcc) { in validate_ntransact()
3854 *pdatalen = data_count; in validate_ntransact()
3953 __u16 byte_count, param_count, data_count, param_offset, data_offset; in CIFSSMBSetCIFSACL() local
3969 data_count = acllen; in CIFSSMBSetCIFSACL()
3973 pSMB->DataCount = cpu_to_le32(data_count); in CIFSSMBSetCIFSACL()
3983 pSMB->ByteCount = cpu_to_le16(byte_count+data_count); in CIFSSMBSetCIFSACL()
3992 inc_rfc1001_len(pSMB, byte_count + data_count); in CIFSSMBSetCIFSACL()
5591 __u16 params, byte_count, data_count, param_offset, offset; in CIFSSMBSetEOF() local
5612 data_count = sizeof(struct file_end_of_file_info); in CIFSSMBSetEOF()
5647 byte_count = 3 /* pad */ + params + data_count; in CIFSSMBSetEOF()
5648 pSMB->DataCount = cpu_to_le16(data_count); in CIFSSMBSetEOF()