Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_erl1.c660 u32 pdu_length, in iscsit_recalculate_dataout_values() argument
702 seq = iscsit_get_seq_holder(cmd, pdu_offset, pdu_length); in iscsit_recalculate_dataout_values()
737 u32 pdu_length) in iscsit_recover_dataout_sequence() argument
745 if (iscsit_recalculate_dataout_values(cmd, pdu_offset, pdu_length, in iscsit_recover_dataout_sequence()
1098 u32 pdu_length = 0, pdu_offset = 0; in iscsit_handle_dataout_timeout() local
1143 pdu_length = (cmd->se_cmd.data_length - in iscsit_handle_dataout_timeout()
1146 pdu_length = (conn->sess->sess_ops->MaxBurstLength - in iscsit_handle_dataout_timeout()
1150 pdu_length = (cmd->seq_end_offset - in iscsit_handle_dataout_timeout()
1155 &pdu_length) < 0) in iscsit_handle_dataout_timeout()
1159 if (iscsit_recalculate_dataout_values(cmd, pdu_offset, pdu_length, in iscsit_handle_dataout_timeout()
/kernel/linux/linux-5.10/drivers/usb/atm/
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()
/kernel/linux/linux-5.10/fs/cifs/
Dconnect.c980 unsigned int pdu_length = server->pdu_size; in standard_receive3() local
983 if (pdu_length > CIFSMaxBufSize + MAX_HEADER_SIZE(server) - in standard_receive3()
985 cifs_server_dbg(VFS, "SMB response too long (%u bytes)\n", pdu_length); in standard_receive3()
991 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE - 4) { in standard_receive3()
999 pdu_length - HEADER_SIZE(server) + 1 in standard_receive3()
1073 unsigned int pdu_length; in cifs_demultiplex_thread() local
1099 pdu_length = 4; /* enough to get RFC1001 header */ in cifs_demultiplex_thread()
1101 length = cifs_read_from_socket(server, buf, pdu_length); in cifs_demultiplex_thread()
1114 pdu_length = get_rfc1002_length(buf); in cifs_demultiplex_thread()
1116 cifs_dbg(FYI, "RFC1002 header 0x%x\n", pdu_length); in cifs_demultiplex_thread()
[all …]
Dsmb2ops.c4884 unsigned int pdu_length = server->pdu_size; in receive_encrypted_standard() local
4893 if (pdu_length > MAX_CIFS_SMALL_BUFFER_SIZE) { in receive_encrypted_standard()
4901 pdu_length - HEADER_SIZE(server) + 1); in receive_encrypted_standard()
4906 buf_size = pdu_length - sizeof(struct smb2_transform_hdr); in receive_encrypted_standard()
4921 pdu_length - le32_to_cpu(shdr->NextCommand)); in receive_encrypted_standard()
4946 pdu_length -= le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard()
4974 unsigned int pdu_length = server->pdu_size; in smb3_receive_transform() local
4978 if (pdu_length < sizeof(struct smb2_transform_hdr) + in smb3_receive_transform()
4981 pdu_length); in smb3_receive_transform()
4986 if (pdu_length < orig_len + sizeof(struct smb2_transform_hdr)) { in smb3_receive_transform()
[all …]
/kernel/linux/linux-5.10/drivers/s390/net/
Dqeth_core.h268 __u16 pdu_length; member
Dqeth_core_main.c5607 skb_len = hdr->hdr.osn.pdu_length; in qeth_extract_skb()