Home
last modified time | relevance | path

Searched refs:payload_length (Results 1 – 25 of 37) sorted by relevance

12

/drivers/target/iscsi/
Discsi_target_erl0.c77 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check() local
101 payload_length); in iscsit_dataout_within_command_recovery_check()
133 " 0x%08x\n", hdr->offset, payload_length, hdr->datasn); in iscsit_dataout_within_command_recovery_check()
134 return iscsit_dump_data_payload(conn, payload_length, 1); in iscsit_dataout_within_command_recovery_check()
144 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence() local
148 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence()
152 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence()
157 first_burst_len = (cmd->first_burst_len + payload_length); in iscsit_dataout_check_unsolicited_sequence()
220 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence() local
236 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence()
[all …]
Discsi_target_nego.c188 u32 payload_length; in iscsi_target_check_login_request() local
192 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
263 if (payload_length > MAX_KEY_VALUE_PAIRS) { in iscsi_target_check_login_request()
775 u32 payload_length; in iscsi_target_do_authentication() local
782 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
792 payload_length, in iscsi_target_do_authentication()
834 u32 payload_length; in iscsi_target_handle_csg_zero() local
841 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
851 payload_length, in iscsi_target_handle_csg_zero()
867 } else if (!payload_length) { in iscsi_target_handle_csg_zero()
[all …]
Discsi_target.c825 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local
833 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
888 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd()
890 " protocol error.\n", payload_length); in iscsit_setup_scsi_cmd()
895 if ((be32_to_cpu(hdr->data_length) == payload_length) && in iscsit_setup_scsi_cmd()
904 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd()
906 " EDTL: %u, protocol error.\n", payload_length, in iscsit_setup_scsi_cmd()
912 if (payload_length > conn->conn_ops->MaxXmitDataSegmentLength) { in iscsit_setup_scsi_cmd()
915 payload_length, conn->conn_ops->MaxXmitDataSegmentLength); in iscsit_setup_scsi_cmd()
920 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd()
[all …]
Discsi_target_util.c334 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout() local
344 if ((cmd->first_burst_len + payload_length) > in iscsit_check_unsolicited_dataout()
348 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
358 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && in iscsit_check_unsolicited_dataout()
359 ((cmd->first_burst_len + payload_length) != in iscsit_check_unsolicited_dataout()
364 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
Discsi_target_login.c1070 u32 padding = 0, payload_length; in iscsit_get_login_rx() local
1076 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx()
1077 padding = ((-payload_length) & 3); in iscsit_get_login_rx()
1082 login_req->exp_statsn, login_req->cid, payload_length); in iscsit_get_login_rx()
1106 payload_length + padding) < 0) in iscsit_get_login_rx()
/drivers/staging/wlan-ng/
Dp80211conv.c282 unsigned int payload_length; in skb_p80211_to_ether() local
293 payload_length = skb->len - WLAN_HDR_A3_LEN - WLAN_CRC_LEN; in skb_p80211_to_ether()
313 if (payload_length < WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN) { in skb_p80211_to_ether()
317 payload_length -= (WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN); in skb_p80211_to_ether()
325 if (payload_length <= 8) { in skb_p80211_to_ether()
331 payload_length - 8, -1, in skb_p80211_to_ether()
334 payload_length - 4); in skb_p80211_to_ether()
344 payload_length -= 8; in skb_p80211_to_ether()
361 if ((payload_length >= sizeof(struct wlan_ethhdr)) && in skb_p80211_to_ether()
365 pr_debug("802.3 ENCAP len: %d\n", payload_length); in skb_p80211_to_ether()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-move.c638 msg->msg_hdr.payload_length = cpu_to_le32(len); in lnet_prep_send()
1377 msg->msg_offset, msg->msg_wanted, hdr->payload_length); in lnet_recv_put()
1396 info.mi_rlength = hdr->payload_length; in lnet_parse_put()
1529 rlength = hdr->payload_length; in lnet_parse_reply()
1678 hdr->payload_length, hdr->msg.put.offset, in lnet_print_hdr()
1704 hdr->payload_length); in lnet_print_hdr()
1720 __u32 payload_length; in lnet_parse() local
1729 payload_length = le32_to_cpu(hdr->payload_length); in lnet_parse()
1737 if (payload_length > 0) { in lnet_parse()
1741 lnet_msgtyp2str(type), payload_length); in lnet_parse()
[all …]
Dlib-msg.c84 ev->rlength = hdr->payload_length; in lnet_build_msg_event()
120 ev->rlength = le32_to_cpu(hdr->payload_length); in lnet_build_msg_event()
/drivers/firewire/
Dcore-transaction.c224 packet->payload_length = length; in fw_fill_request()
249 packet->payload_length = 0; in fw_fill_request()
259 packet->payload_length = length; in fw_fill_request()
264 packet->payload_length = 0; in fw_fill_request()
272 packet->payload_length = 0; in fw_fill_request()
450 .payload_length = 0,
699 response->payload_length = 0; in fw_fill_response()
710 response->payload_length = 0; in fw_fill_response()
721 response->payload_length = length; in fw_fill_response()
Dohci.c830 p.payload_length = 0; in handle_ar_packet()
836 p.payload_length = 0; in handle_ar_packet()
845 p.payload_length = p.header[3] >> 16; in handle_ar_packet()
846 if (p.payload_length > MAX_ASYNC_PAYLOAD) { in handle_ar_packet()
856 p.payload_length = 0; in handle_ar_packet()
867 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet()
1383 if (packet->payload_length > 0) { in at_context_queue_packet()
1384 if (packet->payload_length > sizeof(driver_data->inline_data)) { in at_context_queue_packet()
1387 packet->payload_length, in at_context_queue_packet()
1397 packet->payload_length); in at_context_queue_packet()
[all …]
Dcore-cdev.c1105 u.packet.payload_length = GET_PAYLOAD_LENGTH(control); in ioctl_queue_iso()
1126 if (u.packet.payload_length == 0 || in ioctl_queue_iso()
1127 u.packet.payload_length & 3) in ioctl_queue_iso()
1140 u.packet.header_length + u.packet.payload_length > 0) in ioctl_queue_iso()
1142 if (payload + u.packet.payload_length > buffer_end) in ioctl_queue_iso()
1150 payload += u.packet.payload_length; in ioctl_queue_iso()
/drivers/scsi/be2iscsi/
Dbe_mgmt.h70 u8 payload_length[32]; member
93 u32 payload_length; member
/drivers/infiniband/core/
Dud_header.c132 { STRUCT_FIELD(grh, payload_length),
257 header->grh.payload_length = in ib_ud_header_init()
/drivers/scsi/lpfc/
Dlpfc_nl.h60 uint32_t payload_length; /* RSCN data length in bytes */ member
Dlpfc_bsg.h212 uint32_t payload_length; member
/drivers/staging/lustre/include/linux/lnet/
Dtypes.h177 __u32 payload_length; /* payload data to follow */ member
/drivers/gpu/drm/
Ddrm_mipi_dsi.c353 packet->payload_length = msg->tx_len; in mipi_dsi_create_packet()
362 packet->size = sizeof(packet->header) + packet->payload_length; in mipi_dsi_create_packet()
/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_proto.c494 hdr->payload_length = cpu_to_le32 (hello->kshm_nips * sizeof(__u32)); in ksocknal_send_hello_v1()
606 hello->kshm_nips = le32_to_cpu(hdr->payload_length) / in ksocknal_recv_hello_v1()
/drivers/gpu/drm/i915/
Dintel_dsi.c123 if (packet.payload_length) { in intel_dsi_host_transfer()
129 packet.payload_length); in intel_dsi_host_transfer()
152 return 4 + packet.payload_length; in intel_dsi_host_transfer()
/drivers/staging/rtl8188eu/core/
Drtw_security.c764 …mic_iv(u8 *mic_header1, int qc_exists, int a4_exists, u8 *mpdu, uint payload_length, u8 *pn_vector…
942 uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
956 mic_iv[14] = (unsigned char)(payload_length / 256); in construct_mic_iv()
957 mic_iv[15] = (unsigned char)(payload_length % 256); in construct_mic_iv()
/drivers/gpu/drm/tegra/
Ddsi.c1299 if (packet.payload_length > 0) in tegra_dsi_host_transfer()
1301 packet.payload_length); in tegra_dsi_host_transfer()
1353 count = 4 + packet.payload_length; in tegra_dsi_host_transfer()
/drivers/media/firewire/
Dfiredtv-fw.c88 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
/drivers/staging/rtl8712/
Drtl871x_security.c915 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
930 mic_iv[14] = (unsigned char) (payload_length / 256); in construct_mic_iv()
931 mic_iv[15] = (unsigned char) (payload_length % 256); in construct_mic_iv()
/drivers/staging/rtl8723au/core/
Drtw_security.c1006 uint payload_length, u8 *pn_vector) in construct_mic_iv() argument
1021 mic_iv[14] = (unsigned char)(payload_length / 256); in construct_mic_iv()
1022 mic_iv[15] = (unsigned char)(payload_length % 256); in construct_mic_iv()
/drivers/infiniband/ulp/isert/
Dib_isert.c1436 u32 payload_length = ntoh24(hdr->dlength); in isert_handle_text_cmd() local
1444 if (payload_length) { in isert_handle_text_cmd()
1445 text_in = kzalloc(payload_length, GFP_KERNEL); in isert_handle_text_cmd()
1448 payload_length); in isert_handle_text_cmd()
1454 memcpy(cmd->text_in_ptr, &rx_desc->data[0], payload_length); in isert_handle_text_cmd()

12