Searched refs:next_cmd (Results 1 – 3 of 3) sorted by relevance
375 __u32 req_struct_size, next_cmd = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message() local377 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd > len) { in ksmbd_smb2_check_message()379 next_cmd); in ksmbd_smb2_check_message()383 if (next_cmd > 0) in ksmbd_smb2_check_message()384 len = next_cmd; in ksmbd_smb2_check_message()
449 unsigned int len, next_cmd; in is_chained_smb2_message() local455 next_cmd = le32_to_cpu(hdr->NextCommand); in is_chained_smb2_message()456 if (next_cmd > 0) { in is_chained_smb2_message()457 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd + in is_chained_smb2_message()461 next_cmd); in is_chained_smb2_message()
4960 unsigned int next_cmd; in receive_encrypted_standard() local4989 next_cmd = le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard()4990 if (next_cmd) { in receive_encrypted_standard()4991 if (WARN_ON_ONCE(next_cmd > pdu_length)) in receive_encrypted_standard()5001 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd); in receive_encrypted_standard()5025 if (ret == 0 && next_cmd) { in receive_encrypted_standard()5026 pdu_length -= next_cmd; in receive_encrypted_standard()
Completed in 24 milliseconds