cmdlen 27 arch/s390/kernel/cpcmd.c static int diag8_noresponse(int cmdlen) cmdlen 30 arch/s390/kernel/cpcmd.c register unsigned long reg3 asm ("3") = cmdlen; cmdlen 38 arch/s390/kernel/cpcmd.c static int diag8_response(int cmdlen, char *response, int *rlen) cmdlen 42 arch/s390/kernel/cpcmd.c register unsigned long reg4 asm ("4") = cmdlen | 0x40000000L; cmdlen 62 arch/s390/kernel/cpcmd.c int cmdlen; cmdlen 66 arch/s390/kernel/cpcmd.c cmdlen = strlen(cmd); cmdlen 67 arch/s390/kernel/cpcmd.c BUG_ON(cmdlen > 240); cmdlen 68 arch/s390/kernel/cpcmd.c memcpy(cpcmd_buf, cmd, cmdlen); cmdlen 69 arch/s390/kernel/cpcmd.c ASCEBC(cpcmd_buf, cmdlen); cmdlen 75 arch/s390/kernel/cpcmd.c rc = diag8_response(cmdlen, response, &rlen); cmdlen 78 arch/s390/kernel/cpcmd.c rc = diag8_noresponse(cmdlen); cmdlen 411 block/scsi_ioctl.c unsigned int in_len, out_len, bytes, opcode, cmdlen; cmdlen 444 block/scsi_ioctl.c cmdlen = COMMAND_SIZE(opcode); cmdlen 450 block/scsi_ioctl.c req->cmd_len = cmdlen; cmdlen 451 block/scsi_ioctl.c if (copy_from_user(req->cmd, sic->data, cmdlen)) cmdlen 454 block/scsi_ioctl.c if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) cmdlen 2567 drivers/net/ieee802154/ca8210.c int i, cmdlen; cmdlen 2591 drivers/net/ieee802154/ca8210.c cmdlen = fifo_buffer[1]; cmdlen 2592 drivers/net/ieee802154/ca8210.c bytes_not_copied = cmdlen + 2; cmdlen 2603 drivers/net/ieee802154/ca8210.c dev_dbg(&priv->spi->dev, "test_interface: Cmd len = %d\n", cmdlen); cmdlen 2606 drivers/net/ieee802154/ca8210.c for (i = 0; i < cmdlen + 2; i++) cmdlen 2611 drivers/net/ieee802154/ca8210.c return cmdlen + 2; cmdlen 320 drivers/net/usb/sierra_net.c u8 *cmd, int cmdlen, const char * cmd_name) cmdlen 327 drivers/net/usb/sierra_net.c 0, priv->ifnum, cmd, cmdlen); cmdlen 329 drivers/net/usb/sierra_net.c if (status != cmdlen && status != -ENODEV) cmdlen 31 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.done); cmdlen 44 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); cmdlen 58 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); cmdlen 71 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); cmdlen 96 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.get_target_info); cmdlen 115 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &tmp, &resplen); cmdlen 165 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_mem); cmdlen 184 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, cmdlen 204 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.write_soc_reg); cmdlen 220 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); cmdlen 234 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.read_soc_reg); cmdlen 249 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); cmdlen 314 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.execute); cmdlen 330 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); cmdlen 390 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.lz_start); cmdlen 404 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); cmdlen 455 drivers/net/wireless/ath/ath10k/bmi.c u32 cmdlen = sizeof(cmd.id) + sizeof(cmd.set_app_start); cmdlen 466 drivers/net/wireless/ath/ath10k/bmi.c ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, NULL, NULL); cmdlen 1022 drivers/net/wireless/ath/wil6210/debugfs.c int cmdlen = len - sizeof(struct wmi_cmd_hdr); cmdlen 1026 drivers/net/wireless/ath/wil6210/debugfs.c if (cmdlen < 0) cmdlen 1039 drivers/net/wireless/ath/wil6210/debugfs.c cmd = (cmdlen > 0) ? &wmi[1] : NULL; cmdlen 1042 drivers/net/wireless/ath/wil6210/debugfs.c rc1 = wmi_send(wil, cmdid, vif->mid, cmd, cmdlen); cmdlen 1045 drivers/net/wireless/ath/wil6210/debugfs.c wil_info(wil, "0x%04x[%d] -> %d\n", cmdid, cmdlen, rc1); cmdlen 153 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h __le32 cmdlen; cmdlen 2953 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 cmdlen = 0; cmdlen 2957 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cmdlen += iwl_pcie_tfd_tb_get_len(trans, tfd, i); cmdlen 2959 drivers/net/wireless/intel/iwlwifi/pcie/trans.c return cmdlen; cmdlen 3307 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 caplen, cmdlen; cmdlen 3314 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cmdlen = iwl_trans_pcie_get_cmdlen(trans, cmdlen 3317 drivers/net/wireless/intel/iwlwifi/pcie/trans.c caplen = min_t(u32, TFD_MAX_PAYLOAD_SIZE, cmdlen); cmdlen 3319 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (cmdlen) { cmdlen 3321 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txcmd->cmdlen = cpu_to_le32(cmdlen); cmdlen 706 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; cmdlen 714 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmdlen[i] = cmd->len[i]; cmdlen 723 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (copy > cmdlen[i]) cmdlen 724 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c copy = cmdlen[i]; cmdlen 725 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmdlen[i] -= copy; cmdlen 749 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c dup_buf = kmemdup(cmddata[i], cmdlen[i], cmdlen 759 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c copy_size += cmdlen[i]; cmdlen 882 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (!cmdlen[i]) cmdlen 890 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmdlen[i], DMA_TO_DEVICE); cmdlen 896 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c iwl_pcie_gen2_set_tb(trans, tfd, phys_addr, cmdlen[i]); cmdlen 1541 drivers/net/wireless/intel/iwlwifi/pcie/tx.c u16 cmdlen[IWL_MAX_CMD_TBS_PER_TFD]; cmdlen 1561 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cmdlen[i] = cmd->len[i]; cmdlen 1570 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (copy > cmdlen[i]) cmdlen 1571 drivers/net/wireless/intel/iwlwifi/pcie/tx.c copy = cmdlen[i]; cmdlen 1572 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cmdlen[i] -= copy; cmdlen 1596 drivers/net/wireless/intel/iwlwifi/pcie/tx.c dup_buf = kmemdup(cmddata[i], cmdlen[i], cmdlen 1606 drivers/net/wireless/intel/iwlwifi/pcie/tx.c copy_size += cmdlen[i]; cmdlen 1743 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (!cmdlen[i]) cmdlen 1751 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cmdlen[i], DMA_TO_DEVICE); cmdlen 1759 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_txq_build_tfd(trans, txq, phys_addr, cmdlen[i], false); cmdlen 1725 drivers/nvme/host/fc.c op->fcp_req.cmdlen = sizeof(op->cmd_iu); cmdlen 457 drivers/nvme/target/fcloop.c fcpreq->cmdaddr, fcpreq->cmdlen); cmdlen 276 drivers/platform/olpc/olpc-xo175-ec.c size_t cmdlen) cmdlen 280 drivers/platform/olpc/olpc-xo175-ec.c memcpy(&priv->tx_buf, cmd, cmdlen); cmdlen 281 drivers/platform/olpc/olpc-xo175-ec.c priv->xfer.len = cmdlen; cmdlen 792 drivers/scsi/lpfc/lpfc_nvme.c sgl->sge_len = cpu_to_le32(nCmd->cmdlen); cmdlen 839 drivers/scsi/lpfc/lpfc_nvme.c wqe->generic.bde.tus.f.bdeSize = nCmd->cmdlen; cmdlen 1270 drivers/scsi/lpfc/lpfc_nvme.c (nCmd->rsplen + nCmd->cmdlen)); cmdlen 461 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->nvme_cmnd_dseg_len = cpu_to_le16(fd->cmdlen); cmdlen 3595 drivers/scsi/scsi_transport_fc.c int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ cmdlen 3599 drivers/scsi/scsi_transport_fc.c if (job->request_len < cmdlen) { cmdlen 3607 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_host_add_rport); cmdlen 3611 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_host_del_rport); cmdlen 3615 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_host_els); cmdlen 3625 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_host_ct); cmdlen 3635 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_host_vendor); cmdlen 3688 drivers/scsi/scsi_transport_fc.c int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ cmdlen 3692 drivers/scsi/scsi_transport_fc.c if (job->request_len < cmdlen) { cmdlen 3700 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_rport_els); cmdlen 3704 drivers/scsi/scsi_transport_fc.c cmdlen += sizeof(struct fc_bsg_rport_ct); cmdlen 1490 drivers/scsi/scsi_transport_iscsi.c int cmdlen = sizeof(uint32_t); /* start with length of msgcode */ cmdlen 1502 drivers/scsi/scsi_transport_iscsi.c cmdlen += sizeof(struct iscsi_bsg_host_vendor); cmdlen 1516 drivers/scsi/scsi_transport_iscsi.c if (job->request_len < cmdlen) { cmdlen 4902 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c u32 cmdlen; cmdlen 4933 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cmdlen = strlen(cmdname); cmdlen 4937 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if (cmdlen > 0) cmdlen 4938 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c cmdlen += 1; /* skip one space */ cmdlen 4939 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ptr += cmdlen; cmdlen 4940 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c len -= cmdlen; cmdlen 533 drivers/usb/storage/shuttle_usbat.c int cmdlen; cmdlen 553 drivers/usb/storage/shuttle_usbat.c cmdlen = 16; cmdlen 569 drivers/usb/storage/shuttle_usbat.c cmdlen = 8; cmdlen 572 drivers/usb/storage/shuttle_usbat.c command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); cmdlen 573 drivers/usb/storage/shuttle_usbat.c command[cmdlen-7] = access | cmdlen 576 drivers/usb/storage/shuttle_usbat.c command[cmdlen-6] = data_reg; cmdlen 577 drivers/usb/storage/shuttle_usbat.c command[cmdlen-5] = status_reg; cmdlen 578 drivers/usb/storage/shuttle_usbat.c command[cmdlen-4] = timeout; cmdlen 579 drivers/usb/storage/shuttle_usbat.c command[cmdlen-3] = qualifier; cmdlen 580 drivers/usb/storage/shuttle_usbat.c command[cmdlen-2] = LSB_of(len); cmdlen 581 drivers/usb/storage/shuttle_usbat.c command[cmdlen-1] = MSB_of(len); cmdlen 583 drivers/usb/storage/shuttle_usbat.c result = usbat_execute_command(us, command, cmdlen); cmdlen 191 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c u32 cmdlen; cmdlen 212 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmdlen = 9 + height * step; cmdlen 229 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmdlen = 3 + height * step; cmdlen 235 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmdlen = 3 + height * step; cmdlen 244 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c cmd = kmalloc_array(cmdlen, 4, GFP_DMA); cmdlen 248 drivers/video/fbdev/mb862xx/mb862xxfb_accel.c mb862xxfb_write_fifo(cmdlen, cmd, info); cmdlen 138 include/linux/nvme-fc-driver.h u16 cmdlen;