/linux/drivers/target/iscsi/ |
H A D | iscsi_target_erl0.c | 71 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 …]
|
H A D | iscsi_target.c | 1005 int data_direction, payload_length; in iscsit_setup_scsi_cmd() local 1015 payload_length = ntoh24(hdr->dlength); in iscsit_setup_scsi_cmd() 1070 if (payload_length && !conn->sess->sess_ops->ImmediateData) { in iscsit_setup_scsi_cmd() 1072 " protocol error.\n", payload_length); in iscsit_setup_scsi_cmd() 1077 if ((be32_to_cpu(hdr->data_length) == payload_length) && in iscsit_setup_scsi_cmd() 1086 if (payload_length > be32_to_cpu(hdr->data_length)) { in iscsit_setup_scsi_cmd() 1088 " EDTL: %u, protocol error.\n", payload_length, in iscsit_setup_scsi_cmd() 1094 if (payload_length > conn->conn_ops->MaxXmitDataSegmentLength) { in iscsit_setup_scsi_cmd() 1097 payload_length, conn->conn_ops->MaxXmitDataSegmentLength); in iscsit_setup_scsi_cmd() 1102 if (payload_length > conn->sess->sess_ops->FirstBurstLength) { in iscsit_setup_scsi_cmd() [all …]
|
H A D | iscsi_target_nego.c | 164 u32 payload_length; in iscsi_target_check_login_request() local 168 payload_length = ntoh24(login_req->dlength); in iscsi_target_check_login_request() 239 if (payload_length > MAX_KEY_VALUE_PAIRS) { in iscsi_target_check_login_request() 757 u32 payload_length; in iscsi_target_do_authentication() local 764 payload_length = ntoh24(login_req->dlength); in iscsi_target_do_authentication() 774 payload_length, in iscsi_target_do_authentication() 852 u32 payload_length; in iscsi_target_handle_csg_zero() local 859 payload_length = ntoh24(login_req->dlength); in iscsi_target_handle_csg_zero() 869 payload_length, in iscsi_target_handle_csg_zero() 885 } else if (!payload_length) { in iscsi_target_handle_csg_zero() [all …]
|
H A D | iscsi_target_util.c | 341 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()
|
H A D | iscsi_target_login.c | 971 u32 padding = 0, payload_length; in iscsit_get_login_rx() local 977 payload_length = ntoh24(login_req->dlength); in iscsit_get_login_rx() 978 padding = ((-payload_length) & 3); in iscsit_get_login_rx() 983 login_req->exp_statsn, login_req->cid, payload_length); in iscsit_get_login_rx() 1007 payload_length + padding) < 0) in iscsit_get_login_rx()
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_flash.c | 15 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/sound/firewire/ |
H A D | amdtp-stream-trace.h | 17 … 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… 50 __entry->payload_quadlets = payload_length / sizeof(__be32);
|
H A D | amdtp-stream.c | 678 !!(params->header_length == 0 && params->payload_length == 0); in queue_out_packet() 687 params->payload_length = s->ctx_data.tx.max_ctx_payload_length; in queue_in_packet() 711 unsigned int payload_length; in build_it_pkt_header() local 714 payload_length = data_blocks * sizeof(__be32) * s->data_block_quadlets; in build_it_pkt_header() 715 params->payload_length = payload_length; in build_it_pkt_header() 725 trace_amdtp_packet(s, cycle, cip_header, payload_length + header_length, data_blocks, in build_it_pkt_header() 730 unsigned int payload_length, in check_cip_header() argument 769 if (payload_length == 0 || (fmt == CIP_FMT_AM && fdf == AMDTP_FDF_NO_DATA)) { in check_cip_header() 784 *data_blocks = payload_length / sizeof(__be32) / data_block_quadlets; in check_cip_header() 807 dbc_interval = payload_length / sizeof(__be32); in check_cip_header() [all …]
|
/linux/drivers/mfd/ |
H A D | rave-sp.c | 408 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/sound/usb/bcd2000/ |
H A D | bcd2000.c | 99 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/drivers/target/iscsi/cxgbit/ |
H A D | cxgbit_target.c | 1093 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/drivers/net/wireless/purelifi/plfxlc/ |
H A D | mac.c | 405 unsigned int payload_length; in plfxlc_mac_rx() local 440 payload_length = get_unaligned_be32(buffer); in plfxlc_mac_rx() 442 if (payload_length > 1560) { in plfxlc_mac_rx() 443 dev_err(plfxlc_mac_dev(mac), " > MTU %u\n", payload_length); in plfxlc_mac_rx() 488 skb = dev_alloc_skb(payload_length + (need_padding ? 2 : 0)); in plfxlc_mac_rx() 496 skb_put_data(skb, buffer, payload_length); in plfxlc_mac_rx()
|
/linux/drivers/firewire/ |
H A D | core-transaction.c | 205 packet->payload_length = length; in fw_fill_request() 227 packet->payload_length = 0; in fw_fill_request() 236 packet->payload_length = length; in fw_fill_request() 241 packet->payload_length = 0; in fw_fill_request() 248 packet->payload_length = 0; in fw_fill_request() 453 .payload_length = 0, 726 response->payload_length = 0; in fw_fill_response() 736 response->payload_length = 0; in fw_fill_response() 746 response->payload_length = length; in fw_fill_response()
|
H A D | ohci.c | 911 p.payload_length = 0; in handle_ar_packet() 917 p.payload_length = 0; in handle_ar_packet() 926 p.payload_length = async_header_get_data_length(p.header); in handle_ar_packet() 927 if (p.payload_length > MAX_ASYNC_PAYLOAD) { in handle_ar_packet() 937 p.payload_length = 0; in handle_ar_packet() 948 length = (p.header_length + p.payload_length + 3) / 4; in handle_ar_packet() 1480 if (packet->payload_length > 0) { in at_context_queue_packet() 1481 if (packet->payload_length > sizeof(driver_data->inline_data)) { in at_context_queue_packet() 1484 packet->payload_length, in at_context_queue_packet() 1494 packet->payload_length); in at_context_queue_packet() [all …]
|
/linux/drivers/input/rmi4/ |
H A D | rmi_f34.h | 128 __le16 payload_length; /* query 6 */ member 261 u16 payload_length; member
|
H A D | rmi_f34v7.c | 524 f34->v7.payload_length = le16_to_cpu(query_1_7.payload_length); in rmi_f34v7_read_queries() 650 max_transfer = min(f34->v7.payload_length, in rmi_f34v7_read_blocks() 722 if (f34->v7.payload_length > (PAGE_SIZE / f34->v7.block_size)) in rmi_f34v7_write_f34v7_blocks() 725 max_transfer = f34->v7.payload_length; in rmi_f34v7_write_f34v7_blocks()
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 1029 ep->xfrd_len = cpu_to_be32(nCmd->payload_length); in lpfc_nvme_io_cmd_cmpl() 1043 nCmd->transferred_length = nCmd->payload_length; in lpfc_nvme_io_cmd_cmpl() 1177 nCmd->payload_length) { in lpfc_nvme_io_cmd_cmpl() 1180 lpfc_update_cmf_cmpl(phba, lat, nCmd->payload_length, NULL); in lpfc_nvme_io_cmd_cmpl() 1231 wqe->fcp_iwrite.total_xfer_len = nCmd->payload_length; in lpfc_nvme_prep_io_cmd() 1236 req_len = lpfc_ncmd->nvmeCmd->payload_length; in lpfc_nvme_prep_io_cmd() 1254 wqe->fcp_iread.total_xfer_len = nCmd->payload_length; in lpfc_nvme_prep_io_cmd() 1497 if (nCmd->payload_length != 0) { in lpfc_nvme_prep_io_dma() 1501 nCmd->sg_cnt, nCmd->payload_length); in lpfc_nvme_prep_io_dma() 1639 pnvme_fcreq->payload_length) { in lpfc_nvme_fcp_io_submit() [all …]
|
H A D | lpfc_nl.h | 62 uint32_t payload_length; /* RSCN data length in bytes */ member
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_ddc.c | 291 uint32_t payload_length = is_end_of_payload ? in submit_aux_command() local 298 current_payload.length = payload_length; in submit_aux_command() 307 retrieved += payload_length; in submit_aux_command()
|
/linux/include/linux/firmware/intel/ |
H A D | stratix10-svc-client.h | 187 size_t payload_length; member
|
/linux/include/linux/ |
H A D | firewire.h | 300 size_t payload_length; member 461 u16 payload_length; /* Length of indirect payload */ member
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | profiler.h | 106 size_t payload_length; member
|
/linux/arch/x86/include/uapi/asm/ |
H A D | bootparam.h | 72 __u32 payload_length; member
|
/linux/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 1094 u16 length = pkt->payload_length - xfer->tx_done; in samsung_dsim_send_to_fifo() 1253 if (xfer->packet.payload_length && in samsung_dsim_transfer_start() 1254 xfer->tx_done == xfer->packet.payload_length) in samsung_dsim_transfer_start() 1260 if (xfer->packet.payload_length || xfer->rx_len) in samsung_dsim_transfer_start() 1297 xfer, xfer->packet.payload_length, xfer->tx_done, xfer->rx_len, in samsung_dsim_transfer_finish() 1300 if (xfer->tx_done != xfer->packet.payload_length) in samsung_dsim_transfer_finish() 1375 (int)pkt->payload_length, pkt->payload); in samsung_dsim_transfer()
|
/linux/drivers/infiniband/core/ |
H A D | ud_header.c | 199 { STRUCT_FIELD(grh, payload_length), 357 header->grh.payload_length = in ib_ud_header_init()
|