Lines Matching full:smb
17 * Make sure that this really is an SMB, that it is a response. in check_smb2_hdr()
26 * in order by SMB2 command. This is similar to "wct" in SMB/CIFS requests.
187 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
192 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
195 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
204 * Calculate the size of the SMB message based on the fixed header
211 unsigned int offset; /* the offset from the beginning of SMB to data area */ in smb2_calc_size()
238 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
249 ksmbd_debug(SMB, in smb2_calc_size()
259 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
341 ksmbd_debug(SMB, "Insufficient credit charge, given: %d, needed: %d\n", in smb2_validate_credit_charge()
345 ksmbd_debug(SMB, "Too large credit charge: %d\n", credit_charge); in smb2_validate_credit_charge()
351 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_validate_credit_charge()
357 …ksmbd_debug(SMB, "Limits exceeding the maximum allowable outstanding requests, given : %u, pending… in smb2_validate_credit_charge()
378 pr_err("next command(%u) offset exceeds smb msg size\n", in ksmbd_smb2_check_message()
392 ksmbd_debug(SMB, "Illegal structure size %u\n", in ksmbd_smb2_check_message()
399 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
408 ksmbd_debug(SMB, in ksmbd_smb2_check_message()
447 * Linux 4.19.217 with smb 3.0.2 are sometimes in ksmbd_smb2_check_message()