/drivers/target/iscsi/ |
D | iscsi_target_erl0.c | 82 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check() local 106 payload_length); in iscsit_dataout_within_command_recovery_check() 138 " 0x%08x\n", hdr->offset, payload_length, hdr->datasn); in iscsit_dataout_within_command_recovery_check() 139 return iscsit_dump_data_payload(conn, payload_length, 1); in iscsit_dataout_within_command_recovery_check() 149 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence() local 153 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence() 157 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence() 162 first_burst_len = (cmd->first_burst_len + payload_length); in iscsit_dataout_check_unsolicited_sequence() 225 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence() local 241 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence() [all …]
|
D | iscsi_target_nego.c | 178 u32 payload_length; in iscsi_target_check_login_request() local 182 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request() 253 if (payload_length > MAX_KEY_VALUE_PAIRS) { in iscsi_target_check_login_request() 406 u32 payload_length; in iscsi_target_do_authentication() local 413 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication() 423 payload_length, in iscsi_target_do_authentication() 465 u32 payload_length; in iscsi_target_handle_csg_zero() local 472 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero() 482 payload_length, in iscsi_target_handle_csg_zero() 547 u32 payload_length; in iscsi_target_handle_csg_one() local [all …]
|
D | iscsi_target.c | 824 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local 839 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd() 896 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd() 898 " protocol error.\n", payload_length); in iscsit_setup_scsi_cmd() 903 if ((be32_to_cpu(hdr->data_length )== payload_length) && in iscsit_setup_scsi_cmd() 912 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd() 914 " EDTL: %u, protocol error.\n", payload_length, in iscsit_setup_scsi_cmd() 920 if (payload_length > conn->conn_ops->MaxXmitDataSegmentLength) { in iscsit_setup_scsi_cmd() 923 payload_length, conn->conn_ops->MaxXmitDataSegmentLength); in iscsit_setup_scsi_cmd() 928 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd() [all …]
|
D | iscsi_target_util.c | 327 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout() local 337 if ((cmd->first_burst_len + payload_length) > in iscsit_check_unsolicited_dataout() 341 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout() 351 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && in iscsit_check_unsolicited_dataout() 352 ((cmd->first_burst_len + payload_length) != in iscsit_check_unsolicited_dataout() 357 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
|
D | iscsi_target_login.c | 1048 u32 padding = 0, payload_length; in iscsit_get_login_rx() local 1054 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx() 1055 padding = ((-payload_length) & 3); in iscsit_get_login_rx() 1060 login_req->exp_statsn, login_req->cid, payload_length); in iscsit_get_login_rx() 1084 payload_length + padding) < 0) in iscsit_get_login_rx()
|
/drivers/staging/wlan-ng/ |
D | p80211conv.c | 281 unsigned int payload_length; in skb_p80211_to_ether() local 292 payload_length = skb->len - WLAN_HDR_A3_LEN - WLAN_CRC_LEN; in skb_p80211_to_ether() 312 if (payload_length < WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN) { in skb_p80211_to_ether() 316 payload_length -= (WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN); in skb_p80211_to_ether() 324 if (payload_length <= 8) { in skb_p80211_to_ether() 330 payload_length - 8, -1, in skb_p80211_to_ether() 333 payload_length - 4); in skb_p80211_to_ether() 343 payload_length -= 8; in skb_p80211_to_ether() 360 if ((payload_length >= sizeof(struct wlan_ethhdr)) && in skb_p80211_to_ether() 364 pr_debug("802.3 ENCAP len: %d\n", payload_length); in skb_p80211_to_ether() [all …]
|
/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 | 828 p.payload_length = 0; in handle_ar_packet() 834 p.payload_length = 0; in handle_ar_packet() 843 p.payload_length = p.header[3] >> 16; in handle_ar_packet() 844 if (p.payload_length > MAX_ASYNC_PAYLOAD) { in handle_ar_packet() 854 p.payload_length = 0; in handle_ar_packet() 865 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet() 1376 if (packet->payload_length > 0) { in at_context_queue_packet() 1377 if (packet->payload_length > sizeof(driver_data->inline_data)) { in at_context_queue_packet() 1380 packet->payload_length, in at_context_queue_packet() 1390 packet->payload_length); in at_context_queue_packet() [all …]
|
D | core-cdev.c | 1102 u.packet.payload_length = GET_PAYLOAD_LENGTH(control); in ioctl_queue_iso() 1123 if (u.packet.payload_length == 0 || in ioctl_queue_iso() 1124 u.packet.payload_length & 3) in ioctl_queue_iso() 1137 u.packet.header_length + u.packet.payload_length > 0) in ioctl_queue_iso() 1139 if (payload + u.packet.payload_length > buffer_end) in ioctl_queue_iso() 1147 payload += u.packet.payload_length; in ioctl_queue_iso()
|
D | net.c | 783 packet.payload_length = dev->rcv_buffer_size; in fwnet_receive_broadcast() 1153 packet.payload_length = max_receive; in fwnet_broadcast_start()
|
/drivers/scsi/be2iscsi/ |
D | be_mgmt.h | 70 u8 payload_length[32]; member 93 u32 payload_length; member
|
D | be_cmds.h | 38 u32 payload_length; /* dword 1 */ member
|
D | be_cmds.c | 643 wrb->payload_length = payload_len; in be_wrb_hdr_prepare()
|
/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
|
D | lpfc_mbox.c | 1783 sli4_config->header.cfg_mhdr.payload_length = length; in lpfc_sli4_config() 1836 sli4_config->header.cfg_mhdr.payload_length = alloc_len; in lpfc_sli4_config()
|
D | lpfc_hw4.h | 810 uint32_t payload_length; member
|
D | lpfc_els.c | 4750 rscn_event_data->payload_length = payload_len; in lpfc_send_rscn_event()
|
/drivers/net/wireless/rt2x00/ |
D | rt2x00queue.c | 165 unsigned int payload_length = skb->len - header_length; in rt2x00queue_insert_l2pad() local 168 unsigned int l2pad = payload_length ? L2PAD_SIZE(header_length) : 0; in rt2x00queue_insert_l2pad() 190 if (payload_length && payload_align) in rt2x00queue_insert_l2pad() 193 payload_length); in rt2x00queue_insert_l2pad() 196 skb_trim(skb, header_length + l2pad + payload_length); in rt2x00queue_insert_l2pad()
|
/drivers/staging/csr/ |
D | netdev.c | 1003 int payload_length; in skb_80211_to_ether() local 1019 payload_length = skb->len; in skb_80211_to_ether() 1030 if ((payload_length >= sizeof(llc_snap_hdr_t)) && in skb_80211_to_ether() 1046 payload_length); in skb_80211_to_ether() 1076 if (payload_length < UF_VLAN_LLC_HEADER_SIZE) { in skb_80211_to_ether() 1077 unifi_warning(priv, "VLAN SNAP header too short: %d bytes\n", payload_length); in skb_80211_to_ether() 1087 unifi_trace(priv, UDBG3, "VLAN len: %d\n", payload_length); in skb_80211_to_ether() 1103 unifi_trace(priv, UDBG3, "SNAP+RFC1042 len: %d\n", payload_length); in skb_80211_to_ether()
|
/drivers/media/firewire/ |
D | firedtv-fw.c | 88 p.payload_length = MAX_PACKET_SIZE; in queue_iso()
|
/drivers/staging/rtl8712/ |
D | rtl871x_security.c | 911 u8 *mpdu, uint payload_length, u8 *pn_vector) in construct_mic_iv() argument 926 mic_iv[14] = (unsigned char) (payload_length / 256); in construct_mic_iv() 927 mic_iv[15] = (unsigned char) (payload_length % 256); in construct_mic_iv()
|
/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 37 u32 payload_length; /* dword 1 */ member
|
D | be_cmds.c | 653 wrb->payload_length = cmd_len; in be_wrb_cmd_hdr_prepare()
|