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.
170 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
175 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
178 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
187 * Calculate the size of the SMB message based on the fixed header
194 unsigned int offset; /* the offset from the beginning of SMB to data area */ in smb2_calc_size()
221 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
232 ksmbd_debug(SMB, in smb2_calc_size()
242 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
324 ksmbd_debug(SMB, "Insufficient credit charge, given: %d, needed: %d\n", in smb2_validate_credit_charge()
328 ksmbd_debug(SMB, "Too large credit charge: %d\n", credit_charge); in smb2_validate_credit_charge()
334 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_validate_credit_charge()
340 …ksmbd_debug(SMB, "Limits exceeding the maximum allowable outstanding requests, given : %u, pending… in smb2_validate_credit_charge()
368 ksmbd_debug(SMB, "Illegal structure size %u\n", in ksmbd_smb2_check_message()
375 ksmbd_debug(SMB, "Illegal SMB2 command %d\n", command); in ksmbd_smb2_check_message()
383 ksmbd_debug(SMB, in ksmbd_smb2_check_message()
392 ksmbd_debug(SMB, in ksmbd_smb2_check_message()
421 ksmbd_debug(SMB, in ksmbd_smb2_check_message()
428 ksmbd_debug(SMB, in ksmbd_smb2_check_message()