Home
last modified time | relevance | path

Searched refs:bytes_sent (Results 1 – 1 of 1) sorted by relevance

/fs/cifs/
Dcifssmb.c1857 __u32 bytes_sent; in CIFSSMBWrite() local
1908 bytes_sent = min_t(const unsigned int, CIFSMaxBufSize, count); in CIFSSMBWrite()
1910 bytes_sent = (tcon->ses->server->maxBuf - MAX_CIFS_HDR_SIZE) in CIFSSMBWrite()
1914 if (bytes_sent > count) in CIFSSMBWrite()
1915 bytes_sent = count; in CIFSSMBWrite()
1919 memcpy(pSMB->Data, buf, bytes_sent); in CIFSSMBWrite()
1926 byte_count = bytes_sent + 1; /* pad */ in CIFSSMBWrite()
1928 byte_count = bytes_sent + 5; /* bigger pad, smaller smb hdr */ in CIFSSMBWrite()
1930 pSMB->DataLengthLow = cpu_to_le16(bytes_sent & 0xFFFF); in CIFSSMBWrite()
1931 pSMB->DataLengthHigh = cpu_to_le16(bytes_sent >> 16); in CIFSSMBWrite()