Lines Matching defs:bcc
625 * large reads/write and bcc is only 16-bits.
825 smbsr_encode_result(struct smb_request *sr, int wct, int bcc, char *fmt, ...)
837 sr->smb_bcc = (uint16_t)bcc;
839 if (smbsr_check_result(sr, wct, bcc) != 0)
846 smbsr_check_result(struct smb_request *sr, int wct, int bcc)
877 if (bcc == VAR_BCC) {
881 bcc = (total_bytes - offset) - 2;
883 bcc, bcc >> 8);
886 if ((temp != (bcc&0xFF)) || (temp1 != ((bcc>>8)&0xFF)))
890 offset += bcc + 2;
896 sr->smb_bcc = (uint16_t)bcc;