Searched refs:pdu (Results 1 – 2 of 2) sorted by relevance
198 struct smb2_pdu *pdu = (struct smb2_pdu *)buf; in smb2_calc_size() local199 struct smb2_hdr *hdr = &pdu->hdr; in smb2_calc_size()211 *len += le16_to_cpu(pdu->StructureSize2); in smb2_calc_size()359 struct smb2_pdu *pdu = ksmbd_req_buf_next(work); in ksmbd_smb2_check_message() local360 struct smb2_hdr *hdr = &pdu->hdr; in ksmbd_smb2_check_message()392 if (smb2_req_struct_sizes[command] != pdu->StructureSize2) { in ksmbd_smb2_check_message()394 (le16_to_cpu(pdu->StructureSize2) == OP_BREAK_STRUCT_SIZE_20 || in ksmbd_smb2_check_message()395 le16_to_cpu(pdu->StructureSize2) == OP_BREAK_STRUCT_SIZE_21))) { in ksmbd_smb2_check_message()399 le16_to_cpu(pdu->StructureSize2), command); in ksmbd_smb2_check_message()404 req_struct_size = le16_to_cpu(pdu->StructureSize2) + in ksmbd_smb2_check_message()
139 struct smb2_sync_pdu *pdu = (struct smb2_sync_pdu *)shdr; in smb2_check_message() local173 pdu->StructureSize2 = 0; in smb2_check_message()205 if (smb2_rsp_struct_sizes[command] != pdu->StructureSize2) { in smb2_check_message()207 pdu->StructureSize2 != SMB2_ERROR_STRUCTURE_SIZE2)) { in smb2_check_message()210 le16_to_cpu(pdu->StructureSize2), command); in smb2_check_message()214 && (le16_to_cpu(pdu->StructureSize2) != 44) in smb2_check_message()215 && (le16_to_cpu(pdu->StructureSize2) != 36)) { in smb2_check_message()218 le16_to_cpu(pdu->StructureSize2)); in smb2_check_message()398 struct smb2_sync_pdu *pdu = (struct smb2_sync_pdu *)buf; in smb2_calc_size() local399 struct smb2_sync_hdr *shdr = &pdu->sync_hdr; in smb2_calc_size()[all …]