Searched refs:byte_count (Results 1 – 2 of 2) sorted by relevance
/fs/cifs/ |
D | cifssmb.c | 930 __u16 params, param_offset, offset, byte_count; in CIFSPOSIXDelFile() local 969 byte_count = 3 /* pad */ + params + sizeof(struct unlink_psx_rq); in CIFSPOSIXDelFile() 977 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXDelFile() 978 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXDelFile() 1136 __u16 params, param_offset, offset, byte_count, count; in CIFSPOSIXCreate() local 1179 byte_count = 3 /* pad */ + params + count; in CIFSPOSIXCreate() 1187 inc_rfc1001_len(pSMB, byte_count); in CIFSPOSIXCreate() 1188 pSMB->ByteCount = cpu_to_le16(byte_count); in CIFSPOSIXCreate() 1932 __u16 byte_count; in CIFSSMBWrite() local 2000 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite() [all …]
|
D | smb1ops.c | 287 unsigned int byte_count, total_in_tgt; in coalesce_t2() local 337 byte_count = get_bcc(target_hdr); in coalesce_t2() 338 byte_count += total_in_src; in coalesce_t2() 340 if (byte_count > USHRT_MAX) { in coalesce_t2() 341 cifs_dbg(FYI, "coalesced BCC too large (%u)\n", byte_count); in coalesce_t2() 344 put_bcc(byte_count, target_hdr); in coalesce_t2() 346 byte_count = be32_to_cpu(target_hdr->smb_buf_length); in coalesce_t2() 347 byte_count += total_in_src; in coalesce_t2() 349 if (byte_count > CIFSMaxBufSize + MAX_CIFS_HDR_SIZE - 4) { in coalesce_t2() 351 byte_count); in coalesce_t2() [all …]
|