Searched refs:pdu_length (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/target/iscsi/ |
H A D | iscsi_target_erl1.c | 659 u32 pdu_length, in iscsit_recalculate_dataout_values() argument 701 seq = iscsit_get_seq_holder(cmd, pdu_offset, pdu_length); in iscsit_recalculate_dataout_values() 736 u32 pdu_length) in iscsit_recover_dataout_sequence() argument 744 if (iscsit_recalculate_dataout_values(cmd, pdu_offset, pdu_length, in iscsit_recover_dataout_sequence() 1095 u32 pdu_length = 0, pdu_offset = 0; in iscsit_handle_dataout_timeout() local 1140 pdu_length = (cmd->se_cmd.data_length - in iscsit_handle_dataout_timeout() 1143 pdu_length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_handle_dataout_timeout() 1147 pdu_length = (cmd->seq_end_offset - in iscsit_handle_dataout_timeout() 1152 &pdu_length) < 0) in iscsit_handle_dataout_timeout() 1156 if (iscsit_recalculate_dataout_values(cmd, pdu_offset, pdu_length, in iscsit_handle_dataout_timeout()
|
/linux/fs/smb/client/ |
H A D | smb2ops.c | 4929 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard() local 4939 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard() 4947 pdu_length - HEADER_SIZE(server) + 1); in receive_encrypted_standard() 4952 buf_size = pdu_length - sizeof(struct smb2_transform_hdr); in receive_encrypted_standard() 4962 if (WARN_ON_ONCE(next_cmd > pdu_length)) in receive_encrypted_standard() 4972 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd); in receive_encrypted_standard() 4997 pdu_length -= next_cmd; in receive_encrypted_standard() 5025 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform() local 5029 if (pdu_length < sizeof(struct smb2_transform_hdr) + in smb3_receive_transform() 5032 pdu_length); in smb3_receive_transform() [all …]
|
/linux/fs/smb/server/ |
H A D | smb2pdu.c | 9016 unsigned int pdu_length = get_rfc1002_len(buf); in smb3_decrypt_req() local 9018 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req() 9022 if (pdu_length < sizeof(struct smb2_transform_hdr) || in smb3_decrypt_req() 9025 pdu_length); in smb3_decrypt_req()
|