Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.c1006 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local
1016 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd()
1071 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd()
1073 " protocol error.\n", payload_length); in iscsit_setup_scsi_cmd()
1078 if ((be32_to_cpu(hdr->data_length) == payload_length) && in iscsit_setup_scsi_cmd()
1087 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd()
1089 " EDTL: %u, protocol error.\n", payload_length, in iscsit_setup_scsi_cmd()
1095 if (payload_length > conn->conn_ops->MaxXmitDataSegmentLength) { in iscsit_setup_scsi_cmd()
1098 payload_length, conn->conn_ops->MaxXmitDataSegmentLength); in iscsit_setup_scsi_cmd()
1103 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd()
[all …]
Discsi_target_nego.c163 u32 payload_length; in iscsi_target_check_login_request() local
167 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request()
238 if (payload_length > MAX_KEY_VALUE_PAIRS) { in iscsi_target_check_login_request()
763 u32 payload_length; in iscsi_target_do_authentication() local
770 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication()
780 payload_length, in iscsi_target_do_authentication()
858 u32 payload_length; in iscsi_target_handle_csg_zero() local
865 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero()
875 payload_length, in iscsi_target_handle_csg_zero()
891 } else if (!payload_length) { in iscsi_target_handle_csg_zero()
[all …]
Discsi_target_util.c341 u32 payload_length = ntoh24(hdr->dlength); in iscsit_check_unsolicited_dataout() local
351 if ((cmd->first_burst_len + payload_length) > in iscsit_check_unsolicited_dataout()
355 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
365 if (((cmd->first_burst_len + payload_length) != cmd->se_cmd.data_length) && in iscsit_check_unsolicited_dataout()
366 ((cmd->first_burst_len + payload_length) != in iscsit_check_unsolicited_dataout()
371 (cmd->first_burst_len + payload_length), in iscsit_check_unsolicited_dataout()
/linux-6.1.9/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-6.1.9/drivers/net/wwan/iosm/
Diosm_ipc_flash.c15 u8 *payload, u32 payload_length) in ipc_flash_proc_format_ebl_pack() argument
20 if (payload_length + IOSM_EBL_HEAD_SIZE > pack_length) in ipc_flash_proc_format_ebl_pack()
24 flash_req->msg_length = cpu_to_le32(payload_length); in ipc_flash_proc_format_ebl_pack()
25 checksum += (payload_length >> IOSM_EBL_PAYL_SHIFT) + in ipc_flash_proc_format_ebl_pack()
26 (payload_length & IOSM_EBL_CKSM); in ipc_flash_proc_format_ebl_pack()
28 for (i = 0; i < payload_length; i++) in ipc_flash_proc_format_ebl_pack()
61 u16 pack_id, u8 *payload, u32 payload_length) in ipc_flash_send_data() argument
67 pack_id, payload, payload_length); in ipc_flash_send_data()
82 ret = ipc_imem_sys_devlink_write(ipc_devlink, payload, payload_length); in ipc_flash_send_data()
167 u8 *payload, u32 payload_length, u8 *mdm_rsp) in ipc_flash_send_receive() argument
[all …]
/linux-6.1.9/sound/firewire/
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, packet_index, inde…
48 __entry->payload_quadlets = payload_length / sizeof(__be32);
Damdtp-stream.c651 !!(params->header_length == 0 && params->payload_length == 0); in queue_out_packet()
660 params->payload_length = s->ctx_data.tx.max_ctx_payload_length; in queue_in_packet()
684 unsigned int payload_length; in build_it_pkt_header() local
687 payload_length = data_blocks * sizeof(__be32) * s->data_block_quadlets; in build_it_pkt_header()
688 params->payload_length = payload_length; in build_it_pkt_header()
698 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header()
703 unsigned int payload_length, in check_cip_header() argument
742 if (payload_length == 0 || (fmt == CIP_FMT_AM && fdf == AMDTP_FDF_NO_DATA)) { in check_cip_header()
757 *data_blocks = payload_length / sizeof(__be32) / data_block_quadlets; in check_cip_header()
803 unsigned int payload_length; in parse_ir_ctx_header() local
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/firewire/
Dcore-transaction.c212 packet->payload_length = length; in fw_fill_request()
237 packet->payload_length = 0; in fw_fill_request()
247 packet->payload_length = length; in fw_fill_request()
252 packet->payload_length = 0; in fw_fill_request()
260 packet->payload_length = 0; in fw_fill_request()
446 .payload_length = 0,
697 response->payload_length = 0; in fw_fill_response()
708 response->payload_length = 0; in fw_fill_response()
719 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-6.1.9/drivers/net/wireless/purelifi/plfxlc/
Dmac.c406 unsigned int payload_length; in plfxlc_mac_rx() local
441 payload_length = get_unaligned_be32(buffer); in plfxlc_mac_rx()
443 if (payload_length > 1560) { in plfxlc_mac_rx()
444 dev_err(plfxlc_mac_dev(mac), " > MTU %u\n", payload_length); in plfxlc_mac_rx()
489 skb = dev_alloc_skb(payload_length + (need_padding ? 2 : 0)); in plfxlc_mac_rx()
497 skb_put_data(skb, buffer, payload_length); in plfxlc_mac_rx()
/linux-6.1.9/drivers/target/iscsi/cxgbit/
Dcxgbit_target.c1093 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_nop_out() local
1123 if (payload_length && hdr->ttt == cpu_to_be32(0xFFFFFFFF)) { in cxgbit_handle_nop_out()
1124 ping_data = kzalloc(payload_length + 1, GFP_KERNEL); in cxgbit_handle_nop_out()
1133 ping_data, payload_length); in cxgbit_handle_nop_out()
1135 ping_data[payload_length] = '\0'; in cxgbit_handle_nop_out()
1140 cmd->buf_ptr_size = payload_length; in cxgbit_handle_nop_out()
1143 " data.\n", payload_length); in cxgbit_handle_nop_out()
1160 u32 payload_length = pdu_cb->dlen; in cxgbit_handle_text_cmd() local
1186 if (payload_length) { in cxgbit_handle_text_cmd()
1187 text_in = kzalloc(payload_length, GFP_KERNEL); in cxgbit_handle_text_cmd()
[all …]
/linux-6.1.9/drivers/pci/
Ddoe.c169 size_t length, payload_length; in pci_doe_recv_resp() local
198 payload_length = min(length, task->response_pl_sz / sizeof(u32)); in pci_doe_recv_resp()
200 for (i = 0; i < payload_length; i++) { in pci_doe_recv_resp()
204 if (i == (payload_length - 1) && !pci_doe_data_obj_ready(doe_mb)) in pci_doe_recv_resp()
/linux-6.1.9/drivers/input/rmi4/
Drmi_f34.h128 __le16 payload_length; /* query 6 */ member
261 u16 payload_length; member
/linux-6.1.9/include/linux/firmware/intel/
Dstratix10-svc-client.h182 size_t payload_length; member
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_nvme.c1027 ep->xfrd_len = cpu_to_be32(nCmd->payload_length); in lpfc_nvme_io_cmd_cmpl()
1041 nCmd->transferred_length = nCmd->payload_length; in lpfc_nvme_io_cmd_cmpl()
1173 nCmd->payload_length) { in lpfc_nvme_io_cmd_cmpl()
1176 lpfc_update_cmf_cmpl(phba, lat, nCmd->payload_length, NULL); in lpfc_nvme_io_cmd_cmpl()
1227 wqe->fcp_iwrite.total_xfer_len = nCmd->payload_length; in lpfc_nvme_prep_io_cmd()
1232 req_len = lpfc_ncmd->nvmeCmd->payload_length; in lpfc_nvme_prep_io_cmd()
1250 wqe->fcp_iread.total_xfer_len = nCmd->payload_length; in lpfc_nvme_prep_io_cmd()
1493 if (nCmd->payload_length != 0) { in lpfc_nvme_prep_io_dma()
1497 nCmd->sg_cnt, nCmd->payload_length); in lpfc_nvme_prep_io_dma()
1635 pnvme_fcreq->payload_length) { in lpfc_nvme_fcp_io_submit()
[all …]
Dlpfc_nl.h62 uint32_t payload_length; /* RSCN data length in bytes */ member
/linux-6.1.9/include/linux/
Dfirewire.h299 size_t payload_length; member
397 u16 payload_length; /* Length of indirect payload */ member
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c961 u16 length = pkt->payload_length - xfer->tx_done; in exynos_dsi_send_to_fifo()
1120 if (xfer->packet.payload_length && in exynos_dsi_transfer_start()
1121 xfer->tx_done == xfer->packet.payload_length) in exynos_dsi_transfer_start()
1127 if (xfer->packet.payload_length || xfer->rx_len) in exynos_dsi_transfer_start()
1164 xfer, xfer->packet.payload_length, xfer->tx_done, xfer->rx_len, in exynos_dsi_transfer_finish()
1167 if (xfer->tx_done != xfer->packet.payload_length) in exynos_dsi_transfer_finish()
1241 (int)pkt->payload_length, pkt->payload); in exynos_dsi_transfer()
/linux-6.1.9/drivers/staging/pi433/
Drf69.h59 int rf69_set_payload_length(struct spi_device *spi, u8 payload_length);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_ddc.c626 uint32_t payload_length = is_end_of_payload ? in dal_ddc_submit_aux_command() local
633 current_payload.length = payload_length; in dal_ddc_submit_aux_command()
642 retrieved += payload_length; in dal_ddc_submit_aux_command()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dprofiler.h106 size_t payload_length; member

123