/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 77 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 …]
|
D | iscsi_target_nego.c | 188 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 …]
|
D | iscsi_target.c | 825 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 …]
|
D | iscsi_target_util.c | 334 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()
|
D | iscsi_target_login.c | 1070 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/ |
D | p80211conv.c | 282 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/ |
D | lib-move.c | 638 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 …]
|
D | lib-msg.c | 84 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/ |
D | core-transaction.c | 224 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()
|
D | ohci.c | 830 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 …]
|
D | core-cdev.c | 1105 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/ |
D | be_mgmt.h | 70 u8 payload_length[32]; member 93 u32 payload_length; member
|
/drivers/infiniband/core/ |
D | ud_header.c | 132 { STRUCT_FIELD(grh, payload_length), 257 header->grh.payload_length = in ib_ud_header_init()
|
/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 60 uint32_t payload_length; /* RSCN data length in bytes */ member
|
D | lpfc_bsg.h | 212 uint32_t payload_length; member
|
/drivers/staging/lustre/include/linux/lnet/ |
D | types.h | 177 __u32 payload_length; /* payload data to follow */ member
|
/drivers/gpu/drm/ |
D | drm_mipi_dsi.c | 353 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/ |
D | socklnd_proto.c | 494 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/ |
D | intel_dsi.c | 123 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/ |
D | rtw_security.c | 764 …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/ |
D | dsi.c | 1299 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/ |
D | firedtv-fw.c | 88 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 915 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/ |
D | rtw_security.c | 1006 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/ |
D | ib_isert.c | 1436 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()
|