Home
last modified time | relevance | path

Searched refs:pdu_length (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/target/iscsi/
H A Discsi_target_erl1.c659 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/drivers/usb/atm/
H A Dusbatm.c338 unsigned int pdu_length; in usbatm_extract_one_cell() local
350 pdu_length = usbatm_pdu_length(length); in usbatm_extract_one_cell()
352 if (sarb->len < pdu_length) { in usbatm_extract_one_cell()
354 __func__, pdu_length, sarb->len, vcc); in usbatm_extract_one_cell()
359 if (crc32_be(~0, skb_tail_pointer(sarb) - pdu_length, pdu_length) != 0xc704dd7b) { in usbatm_extract_one_cell()
368 __func__, length, pdu_length, vcc); in usbatm_extract_one_cell()
391 skb_tail_pointer(sarb) - pdu_length, in usbatm_extract_one_cell()
/linux/fs/smb/client/
H A Dconnect.c1157 unsigned int pdu_length = server->pdu_size; in standard_receive3() local
1160 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server)) { in standard_receive3()
1161 cifs_server_dbg(VFS, "SMB response too long (%u bytes)\n", pdu_length); in standard_receive3()
1167 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in standard_receive3()
1175 pdu_length - MID_HEADER_SIZE(server)); in standard_receive3()
1258 unsigned int pdu_length; in cifs_demultiplex_thread() local
1285 pdu_length = 4; /* enough to get RFC1001 header */ in cifs_demultiplex_thread()
1287 length = cifs_read_from_socket(server, buf, pdu_length); in cifs_demultiplex_thread()
1297 pdu_length = be32_to_cpup(((__be32 *)buf)) & 0xffffff; in cifs_demultiplex_thread()
1299 cifs_dbg(FYI, "RFC1002 header 0x%x\n", pdu_length); in cifs_demultiplex_thread()
[all …]
H A Dsmb2ops.c5056 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard() local
5066 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
5074 pdu_length - HEADER_SIZE(server) + 1); in receive_encrypted_standard()
5079 buf_size = pdu_length - sizeof(struct smb2_transform_hdr); in receive_encrypted_standard()
5089 if (WARN_ON_ONCE(next_cmd > pdu_length)) in receive_encrypted_standard()
5099 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd); in receive_encrypted_standard()
5124 pdu_length -= next_cmd; in receive_encrypted_standard()
5152 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform() local
5156 if (pdu_length < sizeof(struct smb2_transform_hdr) + in smb3_receive_transform()
5159 pdu_length); in smb3_receive_transform()
[all …]
/linux/fs/smb/server/
H A Dsmb2pdu.c9218 unsigned int pdu_length = get_rfc1002_len(buf); in smb3_decrypt_req() local
9220 int buf_data_size = pdu_length - sizeof(struct smb2_transform_hdr); in smb3_decrypt_req()
9224 if (pdu_length < sizeof(struct smb2_transform_hdr) || in smb3_decrypt_req()
9227 pdu_length); in smb3_decrypt_req()