Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/target/iscsi/
Discsi_target_erl0.c71 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_within_command_recovery_check() local
95 payload_length); in iscsit_dataout_within_command_recovery_check()
127 " 0x%08x\n", hdr->offset, payload_length, hdr->datasn); in iscsit_dataout_within_command_recovery_check()
128 return iscsit_dump_data_payload(conn, payload_length, 1); in iscsit_dataout_within_command_recovery_check()
138 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_unsolicited_sequence() local
142 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_unsolicited_sequence()
146 be32_to_cpu(hdr->offset), payload_length, cmd->seq_start_offset, in iscsit_dataout_check_unsolicited_sequence()
151 first_burst_len = (cmd->first_burst_len + payload_length); in iscsit_dataout_check_unsolicited_sequence()
214 u32 payload_length = ntoh24(hdr->dlength); in iscsit_dataout_check_sequence() local
230 ((be32_to_cpu(hdr->offset) + payload_length) > cmd->seq_end_offset)) { in iscsit_dataout_check_sequence()
[all …]
Discsi_target_nego.c172 u32 payload_length; in iscsi_target_check_login_request() local
176 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
247 if (payload_length > MAX_KEY_VALUE_PAIRS) { in iscsi_target_check_login_request()
772 u32 payload_length; in iscsi_target_do_authentication() local
779 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
789 payload_length, in iscsi_target_do_authentication()
831 u32 payload_length; in iscsi_target_handle_csg_zero() local
838 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
848 payload_length, in iscsi_target_handle_csg_zero()
864 } else if (!payload_length) { in iscsi_target_handle_csg_zero()
[all …]
Discsi_target.c997 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local
1005 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1060 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd()
1062 " protocol error.\n", payload_length); in iscsit_setup_scsi_cmd()
1067 if ((be32_to_cpu(hdr->data_length) == payload_length) && in iscsit_setup_scsi_cmd()
1076 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd()
1078 " EDTL: %u, protocol error.\n", payload_length, in iscsit_setup_scsi_cmd()
1084 if (payload_length > conn->conn_ops->MaxXmitDataSegmentLength) { in iscsit_setup_scsi_cmd()
1087 payload_length, conn->conn_ops->MaxXmitDataSegmentLength); in iscsit_setup_scsi_cmd()
1092 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd()
[all …]
Discsi_target_util.c358 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout() local
368 if ((cmd->first_burst_len + payload_length) > in iscsit_check_unsolicited_dataout()
372 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
382 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && in iscsit_check_unsolicited_dataout()
383 ((cmd->first_burst_len + payload_length) != in iscsit_check_unsolicited_dataout()
388 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
Discsi_target_login.c1011 u32 padding = 0, payload_length; in iscsit_get_login_rx() local
1017 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx()
1018 padding = ((-payload_length) & 3); in iscsit_get_login_rx()
1023 login_req->exp_statsn, login_req->cid, payload_length); in iscsit_get_login_rx()
1047 payload_length + padding) < 0) in iscsit_get_login_rx()
/Linux-v5.10/drivers/staging/wlan-ng/
Dp80211conv.c280 unsigned int payload_length; in skb_p80211_to_ether() local
291 payload_length = skb->len - WLAN_HDR_A3_LEN - WLAN_CRC_LEN; in skb_p80211_to_ether()
311 if (payload_length < WLAN_HDR_A4_LEN - WLAN_HDR_A3_LEN) { in skb_p80211_to_ether()
315 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 …]
/Linux-v5.10/sound/firewire/
Damdtp-stream.c480 !!(params->header_length == 0 && params->payload_length == 0); in queue_out_packet()
489 params->payload_length = s->ctx_data.tx.max_ctx_payload_length; in queue_in_packet()
513 unsigned int payload_length; in build_it_pkt_header() local
516 payload_length = data_blocks * sizeof(__be32) * s->data_block_quadlets; in build_it_pkt_header()
517 params->payload_length = payload_length; in build_it_pkt_header()
523 payload_length += params->header_length; in build_it_pkt_header()
528 trace_amdtp_packet(s, cycle, cip_header, payload_length, data_blocks, in build_it_pkt_header()
533 unsigned int payload_length, in check_cip_header() argument
572 if (payload_length < sizeof(__be32) * 2 || in check_cip_header()
588 *data_blocks = (payload_length / sizeof(__be32) - 2) / in check_cip_header()
[all …]
Damdtp-stream-trace.h17 … amdtp_stream *s, u32 cycles, const __be32 *cip_header, unsigned int payload_length, unsigned int …
18 TP_ARGS(s, cycles, cip_header, payload_length, data_blocks, data_block_counter, index),
48 __entry->payload_quadlets = payload_length / sizeof(__be32);
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1011 u32 payload_length = ntoh24(hdr->dlength); in cxgbit_handle_iscsi_dataout() local
1026 cmd, payload_length, &success); in cxgbit_handle_iscsi_dataout()
1079 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_nop_out() local
1109 if (payload_length && hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { in cxgbit_handle_nop_out()
1110 ping_data = kzalloc(payload_length + 1, GFP_KERNEL); in cxgbit_handle_nop_out()
1119 ping_data, payload_length); in cxgbit_handle_nop_out()
1121 ping_data[payload_length] = '\0'; in cxgbit_handle_nop_out()
1126 cmd->buf_ptr_size = payload_length; in cxgbit_handle_nop_out()
1129 " data.\n", payload_length); in cxgbit_handle_nop_out()
1146 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_text_cmd() local
[all …]
/Linux-v5.10/drivers/mfd/
Drave-sp.c408 const size_t payload_length = length - 2; in rave_sp_receive_reply() local
415 payload_length >= reply->length) { in rave_sp_receive_reply()
430 reply->length, payload_length); in rave_sp_receive_reply()
442 const size_t payload_length = length - checksum_length; in rave_sp_receive_frame() local
443 const u8 *crc_reported = &data[payload_length]; in rave_sp_receive_frame()
460 sp->variant->checksum->subroutine(data, payload_length, in rave_sp_receive_frame()
/Linux-v5.10/sound/usb/bcd2000/
Dbcd2000.c99 unsigned int payload_length, tocopy; in bcd2000_midi_handle_input() local
111 payload_length = buf[0]; in bcd2000_midi_handle_input()
114 if (payload_length == 0) in bcd2000_midi_handle_input()
117 tocopy = min(payload_length, buf_len-1); in bcd2000_midi_handle_input()
/Linux-v5.10/drivers/fpga/
Dstratix10-soc.c47 void *payload, u32 payload_length) in s10_svc_send_msg() argument
55 __func__, command, payload, payload_length); in s10_svc_send_msg()
59 msg.payload_length = payload_length; in s10_svc_send_msg()
/Linux-v5.10/drivers/firewire/
Dcore-transaction.c211 packet->payload_length = length; in fw_fill_request()
236 packet->payload_length = 0; in fw_fill_request()
246 packet->payload_length = length; in fw_fill_request()
251 packet->payload_length = 0; in fw_fill_request()
259 packet->payload_length = 0; in fw_fill_request()
445 .payload_length = 0,
695 response->payload_length = 0; in fw_fill_response()
706 response->payload_length = 0; in fw_fill_response()
717 response->payload_length = length; in fw_fill_response()
Dohci.c814 p.payload_length = 0; in handle_ar_packet()
820 p.payload_length = 0; in handle_ar_packet()
829 p.payload_length = p.header[3] >> 16; in handle_ar_packet()
830 if (p.payload_length > MAX_ASYNC_PAYLOAD) { in handle_ar_packet()
840 p.payload_length = 0; in handle_ar_packet()
851 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet()
1364 if (packet->payload_length > 0) { in at_context_queue_packet()
1365 if (packet->payload_length > sizeof(driver_data->inline_data)) { in at_context_queue_packet()
1368 packet->payload_length, in at_context_queue_packet()
1378 packet->payload_length); in at_context_queue_packet()
[all …]
/Linux-v5.10/include/linux/firmware/intel/
Dstratix10-svc-client.h131 size_t payload_length; member
/Linux-v5.10/drivers/input/rmi4/
Drmi_f34.h128 __le16 payload_length; /* query 6 */ member
276 u16 payload_length; member
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_nl.h62 uint32_t payload_length; /* RSCN data length in bytes */ member
/Linux-v5.10/include/linux/
Dfirewire.h297 size_t payload_length; member
394 u16 payload_length; /* Length of indirect payload */ member
/Linux-v5.10/drivers/scsi/qla2xxx/
Dqla_nvme.c437 qpair->counters.input_bytes += fd->payload_length; in qla2x00_start_nvme_mq()
444 if ((fd->payload_length <= in qla2x00_start_nvme_mq()
450 qpair->counters.output_bytes += fd->payload_length; in qla2x00_start_nvme_mq()
477 cmd_pkt->byte_count = cpu_to_le32(fd->payload_length); in qla2x00_start_nvme_mq()
/Linux-v5.10/drivers/staging/pi433/
Drf69.h58 int rf69_set_payload_length(struct spi_device *spi, u8 payload_length);
Dpi433_if.c161 int payload_length; in rf69_set_rx_cfg() local
249 payload_length = rx_cfg->fixed_message_length; in rf69_set_rx_cfg()
251 payload_length++; in rf69_set_rx_cfg()
253 payload_length++; in rf69_set_rx_cfg()
254 ret = rf69_set_payload_length(dev->spi, payload_length); in rf69_set_rx_cfg()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dprofiler.h106 size_t payload_length; member
/Linux-v5.10/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c966 u16 length = pkt->payload_length - xfer->tx_done; in exynos_dsi_send_to_fifo()
1125 if (xfer->packet.payload_length && in exynos_dsi_transfer_start()
1126 xfer->tx_done == xfer->packet.payload_length) in exynos_dsi_transfer_start()
1132 if (xfer->packet.payload_length || xfer->rx_len) in exynos_dsi_transfer_start()
1169 xfer, xfer->packet.payload_length, xfer->tx_done, xfer->rx_len, in exynos_dsi_transfer_finish()
1172 if (xfer->tx_done != xfer->packet.payload_length) in exynos_dsi_transfer_finish()
1246 (int)pkt->payload_length, pkt->payload); in exynos_dsi_transfer()
/Linux-v5.10/drivers/infiniband/core/
Dud_header.c199 { STRUCT_FIELD(grh, payload_length),
357 header->grh.payload_length = in ib_ud_header_init()
/Linux-v5.10/arch/x86/include/uapi/asm/
Dbootparam.h99 __u32 payload_length; member

123