cmd_len 75 block/bsg.c sreq->cmd_len = hdr->request_len; cmd_len 76 block/bsg.c if (sreq->cmd_len > BLK_MAX_CDB) { cmd_len 77 block/bsg.c sreq->cmd = kzalloc(sreq->cmd_len, GFP_KERNEL); cmd_len 82 block/bsg.c if (copy_from_user(sreq->cmd, uptr64(hdr->request), sreq->cmd_len)) cmd_len 221 block/scsi_ioctl.c if (copy_from_user(req->cmd, hdr->cmdp, hdr->cmd_len)) cmd_len 229 block/scsi_ioctl.c req->cmd_len = hdr->cmd_len; cmd_len 315 block/scsi_ioctl.c if (hdr->cmd_len > BLK_MAX_CDB) { cmd_len 316 block/scsi_ioctl.c req->cmd = kzalloc(hdr->cmd_len, GFP_KERNEL); cmd_len 450 block/scsi_ioctl.c req->cmd_len = cmdlen; cmd_len 531 block/scsi_ioctl.c scsi_req(rq)->cmd_len = 6; cmd_len 605 block/scsi_ioctl.c hdr.cmd_len = sizeof(cgc.cmd); cmd_len 633 block/scsi_ioctl.c hdr.cmd_len = sizeof(cgc.cmd); cmd_len 710 block/scsi_ioctl.c req->cmd_len = BLK_MAX_CDB; cmd_len 46 drivers/acpi/acpica/dbhistry.c u16 cmd_len; cmd_len 51 drivers/acpi/acpica/dbhistry.c cmd_len = (u16)strlen(command_line); cmd_len 52 drivers/acpi/acpica/dbhistry.c if (!cmd_len) { cmd_len 63 drivers/acpi/acpica/dbhistry.c if (cmd_len > buffer_len) { cmd_len 67 drivers/acpi/acpica/dbhistry.c command = acpi_os_allocate(cmd_len + 1); cmd_len 71 drivers/acpi/acpica/dbhistry.c acpi_os_allocate(cmd_len + 1); cmd_len 2544 drivers/ata/libata-eh.c cdb_len = qc->scsicmd->cmd_len; cmd_len 1466 drivers/ata/libata-scsi.c if (scmd->cmd_len < 5) { cmd_len 1688 drivers/ata/libata-scsi.c if (scmd->cmd_len < 10) { cmd_len 1694 drivers/ata/libata-scsi.c if (scmd->cmd_len < 16) { cmd_len 1841 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 10)) { cmd_len 1853 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 6)) { cmd_len 1869 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 16)) { cmd_len 2958 drivers/ata/libata-scsi.c memcpy(qc->cdb, scmd->cmnd, scmd->cmd_len); cmd_len 3477 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 16)) { cmd_len 3704 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 16)) { cmd_len 3706 drivers/ata/libata-scsi.c scmd->cmd_len); cmd_len 3788 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len < 16)) { cmd_len 3992 drivers/ata/libata-scsi.c if (scmd->cmd_len < 5) { cmd_len 4000 drivers/ata/libata-scsi.c if (scmd->cmd_len < 9) { cmd_len 4314 drivers/ata/libata-scsi.c if (unlikely(!scmd->cmd_len || scmd->cmd_len > dev->cdb_len)) cmd_len 4319 drivers/ata/libata-scsi.c if (unlikely(!scmd->cmd_len)) cmd_len 4326 drivers/ata/libata-scsi.c if (unlikely(len > scmd->cmd_len || cmd_len 4328 drivers/ata/libata-scsi.c scmd->cmd_len > ATAPI_CDB_LEN)) cmd_len 4334 drivers/ata/libata-scsi.c if (unlikely(scmd->cmd_len > 16)) cmd_len 4350 drivers/ata/libata-scsi.c scmd->cmd_len, scsi_op, dev->cdb_len); cmd_len 718 drivers/block/pktcdvd.c scsi_req(rq)->cmd_len = COMMAND_SIZE(cgc->cmd[0]); cmd_len 112 drivers/block/virtio_blk.c sg_init_one(&cmd, vbr->sreq.cmd, vbr->sreq.cmd_len); cmd_len 2227 drivers/cdrom/cdrom.c req->cmd_len = 12; cmd_len 1077 drivers/crypto/hifn_795x.c u16 cmd_len; cmd_len 1106 drivers/crypto/hifn_795x.c cmd_len = buf_pos - buf; cmd_len 1108 drivers/crypto/hifn_795x.c return cmd_len; cmd_len 1116 drivers/crypto/hifn_795x.c int cmd_len, sa_idx; cmd_len 1207 drivers/crypto/hifn_795x.c cmd_len = buf_pos - buf; cmd_len 1208 drivers/crypto/hifn_795x.c dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | cmd_len 1472 drivers/firewire/sbp2.c memcpy(orb->request.command_block, cmd->cmnd, cmd->cmd_len); cmd_len 163 drivers/firmware/qcom_scm-32.c const void *cmd_buf, size_t cmd_len, void *resp_buf, cmd_len 169 drivers/firmware/qcom_scm-32.c size_t alloc_len = sizeof(*cmd) + cmd_len + sizeof(*rsp) + resp_len; cmd_len 178 drivers/firmware/qcom_scm-32.c cmd->resp_hdr_offset = cpu_to_le32(sizeof(*cmd) + cmd_len); cmd_len 182 drivers/firmware/qcom_scm-32.c memcpy(qcom_scm_get_command_buffer(cmd), cmd_buf, cmd_len); cmd_len 201 drivers/firmware/qcom_scm-32.c dma_sync_single_for_cpu(dev, cmd_phys + sizeof(*cmd) + cmd_len, cmd_len 206 drivers/firmware/qcom_scm-32.c dma_sync_single_for_cpu(dev, cmd_phys + sizeof(*cmd) + cmd_len + cmd_len 293 drivers/fsi/fsi-occ.c size_t cmd_len, buf_len, resp_len, resp_data_len; cmd_len 303 drivers/fsi/fsi-occ.c cmd_len = (data_len >> 2) + 5; cmd_len 304 drivers/fsi/fsi-occ.c buf_len = max(cmd_len, resp_len); cmd_len 313 drivers/fsi/fsi-occ.c buf[0] = cpu_to_be32(cmd_len); cmd_len 321 drivers/fsi/fsi-occ.c rc = sbefifo_submit(occ->sbefifo, buf, cmd_len, buf, &resp_len); cmd_len 474 drivers/fsi/fsi-sbefifo.c const __be32 *command, size_t cmd_len) cmd_len 477 drivers/fsi/fsi-sbefifo.c size_t len, chunk, vacant = 0, remaining = cmd_len; cmd_len 483 drivers/fsi/fsi-sbefifo.c cmd_len, be32_to_cpu(command[1])); cmd_len 611 drivers/fsi/fsi-sbefifo.c const __be32 *command, size_t cmd_len, cmd_len 615 drivers/fsi/fsi-sbefifo.c int rc = sbefifo_send_command(sbefifo, command, cmd_len); cmd_len 665 drivers/fsi/fsi-sbefifo.c const __be32 *command, size_t cmd_len, cmd_len 674 drivers/fsi/fsi-sbefifo.c if (cmd_len < 2 || be32_to_cpu(command[0]) != cmd_len) { cmd_len 676 drivers/fsi/fsi-sbefifo.c cmd_len, be32_to_cpu(command[0])); cmd_len 689 drivers/fsi/fsi-sbefifo.c rc = sbefifo_do_command(sbefifo, command, cmd_len, response); cmd_len 715 drivers/fsi/fsi-sbefifo.c int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len, cmd_len 742 drivers/fsi/fsi-sbefifo.c rc = __sbefifo_submit(sbefifo, command, cmd_len, &resp_iter); cmd_len 793 drivers/fsi/fsi-sbefifo.c size_t cmd_len; cmd_len 813 drivers/fsi/fsi-sbefifo.c cmd_len = user->pending_len >> 2; cmd_len 822 drivers/fsi/fsi-sbefifo.c rc = __sbefifo_submit(sbefifo, user->pending_cmd, cmd_len, &resp_iter); cmd_len 964 drivers/gpu/drm/i915/gvt/cmd_parser.c int cmd_len = cmd_length(s); cmd_len 973 drivers/gpu/drm/i915/gvt/cmd_parser.c if ((cmd_len < valid_len) || (cmd_len > MAX_VALID_LEN)) { cmd_len 975 drivers/gpu/drm/i915/gvt/cmd_parser.c cmd_len, valid_len); cmd_len 979 drivers/gpu/drm/i915/gvt/cmd_parser.c for (i = 1; i < cmd_len; i += 2) { cmd_len 999 drivers/gpu/drm/i915/gvt/cmd_parser.c int cmd_len = cmd_length(s); cmd_len 1001 drivers/gpu/drm/i915/gvt/cmd_parser.c for (i = 1; i < cmd_len; i += 2) { cmd_len 1027 drivers/gpu/drm/i915/gvt/cmd_parser.c int cmd_len = cmd_length(s); cmd_len 1029 drivers/gpu/drm/i915/gvt/cmd_parser.c for (i = 1; i < cmd_len;) { cmd_len 1055 drivers/gpu/drm/i915/gvt/cmd_parser.c int cmd_len = cmd_length(s); cmd_len 1057 drivers/gpu/drm/i915/gvt/cmd_parser.c for (i = 1; i < cmd_len;) { cmd_len 1738 drivers/gpu/drm/i915/gvt/cmd_parser.c u32 cmd_len = 0; cmd_len 1786 drivers/gpu/drm/i915/gvt/cmd_parser.c cmd_len = get_cmd_length(info, cmd) << 2; cmd_len 1787 drivers/gpu/drm/i915/gvt/cmd_parser.c *bb_size += cmd_len; cmd_len 1788 drivers/gpu/drm/i915/gvt/cmd_parser.c gma += cmd_len; cmd_len 230 drivers/gpu/drm/i915/gvt/trace.h u32 cmd_len, u32 buf_type, u32 buf_addr_type, cmd_len 233 drivers/gpu/drm/i915/gvt/trace.h TP_ARGS(vgpu_id, ring_id, ip_gma, cmd_va, cmd_len, buf_type, cmd_len 242 drivers/gpu/drm/i915/gvt/trace.h __field(u32, cmd_len) cmd_len 244 drivers/gpu/drm/i915/gvt/trace.h __dynamic_array(u32, raw_cmd, cmd_len) cmd_len 254 drivers/gpu/drm/i915/gvt/trace.h __entry->cmd_len = cmd_len; cmd_len 257 drivers/gpu/drm/i915/gvt/trace.h memcpy(__get_dynamic_array(raw_cmd), cmd_va, cmd_len * sizeof(*cmd_va)); cmd_len 268 drivers/gpu/drm/i915/gvt/trace.h __entry->cmd_len, cmd_len 270 drivers/gpu/drm/i915/gvt/trace.h __entry->cmd_len, 4), cmd_len 236 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c uint32_t cmd_len; cmd_len 239 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); cmd_len 242 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd->header.size = cmd_len; cmd_len 1032 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c uint32_t cmd_len, cmd_id, submit_len; cmd_len 1064 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_len = sizeof(cmd3->body); cmd_len 1069 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_len = sizeof(cmd2->body); cmd_len 1073 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd_len = sizeof(cmd->body); cmd_len 1087 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd3->header.size = cmd_len; cmd_len 1102 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd2->header.size = cmd_len; cmd_len 1115 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c cmd->header.size = cmd_len; cmd_len 178 drivers/ide/ide-atapi.c unsigned int cmd_len, sense_len; cmd_len 183 drivers/ide/ide-atapi.c cmd_len = 255; cmd_len 187 drivers/ide/ide-atapi.c cmd_len = 20; cmd_len 191 drivers/ide/ide-atapi.c cmd_len = 18; cmd_len 229 drivers/ide/ide-atapi.c req->cmd[4] = cmd_len; cmd_len 617 drivers/ide/ide-atapi.c int cmd_len; cmd_len 634 drivers/ide/ide-atapi.c cmd_len = COMMAND_SIZE(scsi_req(rq)->cmd[0]); cmd_len 635 drivers/ide/ide-atapi.c if (cmd_len < ATAPI_MIN_CDB_BYTES) cmd_len 636 drivers/ide/ide-atapi.c cmd_len = ATAPI_MIN_CDB_BYTES; cmd_len 643 drivers/ide/ide-atapi.c cmd_len = ATAPI_MIN_CDB_BYTES; cmd_len 681 drivers/ide/ide-atapi.c hwif->tp_ops->output_data(drive, NULL, scsi_req(rq)->cmd, cmd_len); cmd_len 556 drivers/ide/ide-cd.c req->cmd_len = 10; cmd_len 577 drivers/ide/ide-cd.c scsi_req(rq)->cmd_len = 10; cmd_len 171 drivers/ide/ide-devsets.c scsi_req(rq)->cmd_len = 5; cmd_len 228 drivers/ide/ide-ioctls.c scsi_req(rq)->cmd_len = 1; cmd_len 37 drivers/ide/ide-park.c scsi_req(rq)->cmd_len = 1; cmd_len 55 drivers/ide/ide-park.c scsi_req(rq)->cmd_len = 1; cmd_len 347 drivers/infiniband/hw/ocrdma/ocrdma_hw.c u8 opcode, u8 subsys, u32 cmd_len) cmd_len 351 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd_hdr->cmd_len = cmd_len - sizeof(struct ocrdma_mbx_hdr); cmd_len 354 drivers/infiniband/hw/ocrdma/ocrdma_hw.c static void *ocrdma_init_emb_mqe(u8 opcode, u32 cmd_len) cmd_len 364 drivers/infiniband/hw/ocrdma/ocrdma_hw.c mqe->hdr.pyld_len = cmd_len - sizeof(struct ocrdma_mqe_hdr); cmd_len 226 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 cmd_len; cmd_len 2385 drivers/infiniband/ulp/srp/ib_srp.c memcpy(cmd->cdb, scmnd->cmnd, scmnd->cmd_len); cmd_len 2386 drivers/infiniband/ulp/srp/ib_srp.c if (unlikely(scmnd->cmd_len > sizeof(cmd->cdb))) { cmd_len 2387 drivers/infiniband/ulp/srp/ib_srp.c cmd->add_cdb_len = round_up(scmnd->cmd_len - sizeof(cmd->cdb), cmd_len 404 drivers/input/mouse/cyapa.h u8 *cmd, int cmd_len, cmd_len 614 drivers/input/mouse/cyapa_gen3.c size_t cmd_len; cmd_len 619 drivers/input/mouse/cyapa_gen3.c cmd_len = (len - i >= CYAPA_CMD_LEN) ? CYAPA_CMD_LEN : len - i; cmd_len 621 drivers/input/mouse/cyapa_gen3.c memcpy(&cmd[1], payload, cmd_len); cmd_len 623 drivers/input/mouse/cyapa_gen3.c error = cyapa_i2c_reg_write_block(cyapa, 0, cmd_len + 1, cmd); cmd_len 537 drivers/input/mouse/cyapa_gen5.c u8 *cmd, size_t cmd_len, cmd_len 547 drivers/input/mouse/cyapa_gen5.c error = cyapa_i2c_pip_write(cyapa, cmd, cmd_len); cmd_len 566 drivers/input/mouse/cyapa_gen5.c u8 *cmd, size_t cmd_len, cmd_len 577 drivers/input/mouse/cyapa_gen5.c error = cyapa_i2c_pip_write(cyapa, cmd, cmd_len); cmd_len 606 drivers/input/mouse/cyapa_gen5.c u8 *cmd, int cmd_len, cmd_len 615 drivers/input/mouse/cyapa_gen5.c if (!cmd || !cmd_len) cmd_len 627 drivers/input/mouse/cyapa_gen5.c if (cmd_len >= PIP_MIN_APP_CMD_LENGTH && cmd_len 631 drivers/input/mouse/cyapa_gen5.c } else if (cmd_len >= PIP_MIN_BL_CMD_LENGTH && cmd_len 640 drivers/input/mouse/cyapa_gen5.c error = cyapa_do_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len, cmd_len 656 drivers/input/mouse/cyapa_gen5.c error = cyapa_do_i2c_pip_cmd_polling(cyapa, cmd, cmd_len, cmd_len 1052 drivers/input/mouse/cyapa_gen5.c int cmd_len; cmd_len 1068 drivers/input/mouse/cyapa_gen5.c cmd_len = sizeof(struct pip_bl_cmd_head) + cmd_data_len + cmd_len 1072 drivers/input/mouse/cyapa_gen5.c put_unaligned_le16(cmd_len - 2, &bl_cmd_head->length); cmd_len 1104 drivers/input/mouse/cyapa_gen5.c cmd, cmd_len, cmd_len 1321 drivers/input/mouse/cyapa_gen5.c u16 cmd_len; cmd_len 1340 drivers/input/mouse/cyapa_gen5.c cmd_len = sizeof(struct pip_bl_cmd_head) + cmd_len 1347 drivers/input/mouse/cyapa_gen5.c put_unaligned_le16(cmd_len - 2, &bl_cmd_head->length); cmd_len 1369 drivers/input/mouse/cyapa_gen5.c error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len, cmd_len 1435 drivers/input/mouse/cyapa_gen5.c int cmd_len; cmd_len 1445 drivers/input/mouse/cyapa_gen5.c cmd_len = sizeof(struct pip_app_cmd_head) + cmd_len 1467 drivers/input/mouse/cyapa_gen5.c put_unaligned_le16(cmd_len - (4 - parameter_size) - 2, cmd_len 1475 drivers/input/mouse/cyapa_gen5.c error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len, cmd_len 1492 drivers/input/mouse/cyapa_gen5.c int cmd_len; cmd_len 1503 drivers/input/mouse/cyapa_gen5.c cmd_len = sizeof(struct pip_app_cmd_head) + cmd_len 1523 drivers/input/mouse/cyapa_gen5.c put_unaligned_le16(cmd_len - 2, &app_cmd_head->length); cmd_len 1529 drivers/input/mouse/cyapa_gen5.c error = cyapa_i2c_pip_cmd_irq_sync(cyapa, cmd, cmd_len, cmd_len 123 drivers/input/rmi4/rmi_spi.c int cmd_len = 0; cmd_len 133 drivers/input/rmi4/rmi_spi.c cmd_len += 2; cmd_len 138 drivers/input/rmi4/rmi_spi.c cmd_len += 4; cmd_len 142 drivers/input/rmi4/rmi_spi.c total_tx_len = cmd_len + tx_len; cmd_len 183 drivers/input/rmi4/rmi_spi.c memcpy(&rmi_spi->tx_buf[cmd_len], tx_buf, tx_len); cmd_len 62 drivers/media/pci/ddbridge/ddbridge-mci.c u32 *cmd, u32 cmd_len, cmd_len 72 drivers/media/pci/ddbridge/ddbridge-mci.c if (cmd && cmd_len) cmd_len 73 drivers/media/pci/ddbridge/ddbridge-mci.c for (i = 0; i < cmd_len; i++) cmd_len 376 drivers/media/usb/as102/as10x_cmd.c uint16_t xid, uint16_t cmd_len) cmd_len 381 drivers/media/usb/as102/as10x_cmd.c pcmd->header.data_len = cpu_to_le16(cmd_len); cmd_len 473 drivers/media/usb/as102/as10x_cmd.h uint16_t cmd_len); cmd_len 121 drivers/media/usb/gspca/kinect.c unsigned int cmd_len, void *replybuf, unsigned int reply_len) cmd_len 131 drivers/media/usb/gspca/kinect.c if (cmd_len & 1 || cmd_len > (0x400 - sizeof(*chdr))) { cmd_len 132 drivers/media/usb/gspca/kinect.c pr_err("send_cmd: Invalid command length (0x%x)\n", cmd_len); cmd_len 140 drivers/media/usb/gspca/kinect.c chdr->len = cpu_to_le16(cmd_len / 2); cmd_len 142 drivers/media/usb/gspca/kinect.c memcpy(obuf+sizeof(*chdr), cmdbuf, cmd_len); cmd_len 144 drivers/media/usb/gspca/kinect.c res = kinect_write(udev, obuf, cmd_len + sizeof(*chdr)); cmd_len 147 drivers/media/usb/gspca/kinect.c sd->cam_tag, cmd_len, res); cmd_len 339 drivers/media/usb/gspca/sq930x.c u8 cmd_len; cmd_len 640 drivers/media/usb/gspca/sq930x.c ucbus_write(&sd->gspca_dev, sensor->cmd, sensor->cmd_len, 8); cmd_len 253 drivers/media/usb/pulse8-cec/pulse8-cec.c static int pulse8_send(struct serio *serio, const u8 *command, u8 cmd_len) cmd_len 260 drivers/media/usb/pulse8-cec/pulse8-cec.c for (; !err && cmd_len; command++, cmd_len--) { cmd_len 276 drivers/media/usb/pulse8-cec/pulse8-cec.c const u8 *cmd, u8 cmd_len, cmd_len 284 drivers/media/usb/pulse8-cec/pulse8-cec.c err = pulse8_send(pulse8->serio, cmd, cmd_len); cmd_len 305 drivers/media/usb/pulse8-cec/pulse8-cec.c const u8 *cmd, u8 cmd_len, u8 response, u8 size) cmd_len 311 drivers/media/usb/pulse8-cec/pulse8-cec.c err = pulse8_send_and_wait_once(pulse8, cmd, cmd_len, response, size); cmd_len 320 drivers/media/usb/pulse8-cec/pulse8-cec.c err = pulse8_send_and_wait_once(pulse8, cmd, cmd_len, cmd_len 1322 drivers/message/fusion/mptscsih.c u32 cmd_len; cmd_len 1385 drivers/message/fusion/mptscsih.c pScsiReq->CDBLength = SCpnt->cmd_len; cmd_len 1395 drivers/message/fusion/mptscsih.c cmd_len = SCpnt->cmd_len; cmd_len 1396 drivers/message/fusion/mptscsih.c for (ii=0; ii < cmd_len; ii++) cmd_len 1399 drivers/message/fusion/mptscsih.c for (ii=cmd_len; ii < 16; ii++) cmd_len 104 drivers/misc/cardreader/rtsx_usb.c u16 cmd_len = ALIGN(SEQ_WRITE_DATA_OFFSET + len, 4); cmd_len 109 drivers/misc/cardreader/rtsx_usb.c if (cmd_len > IOBUF_SIZE) cmd_len 117 drivers/misc/cardreader/rtsx_usb.c ucr->cmd_buf, cmd_len, 0, NULL, 100); cmd_len 67 drivers/mtd/devices/mchp23k256.c int ret, cmd_len; cmd_len 71 drivers/mtd/devices/mchp23k256.c cmd_len = mchp23k256_cmdsz(flash); cmd_len 77 drivers/mtd/devices/mchp23k256.c transfer[0].len = cmd_len; cmd_len 93 drivers/mtd/devices/mchp23k256.c if (retlen && message.actual_length > cmd_len) cmd_len 94 drivers/mtd/devices/mchp23k256.c *retlen += message.actual_length - cmd_len; cmd_len 106 drivers/mtd/devices/mchp23k256.c int ret, cmd_len; cmd_len 110 drivers/mtd/devices/mchp23k256.c cmd_len = mchp23k256_cmdsz(flash); cmd_len 117 drivers/mtd/devices/mchp23k256.c transfer[0].len = cmd_len; cmd_len 133 drivers/mtd/devices/mchp23k256.c if (retlen && message.actual_length > cmd_len) cmd_len 134 drivers/mtd/devices/mchp23k256.c *retlen += message.actual_length - cmd_len; cmd_len 44 drivers/net/can/peak_canfd/peak_canfd.c priv->cmd_len = 0; cmd_len 52 drivers/net/can/peak_canfd/peak_canfd.c if (priv->cmd_len + sizeof(*cmd) > priv->cmd_maxlen) cmd_len 55 drivers/net/can/peak_canfd/peak_canfd.c cmd = priv->cmd_buffer + priv->cmd_len; cmd_len 61 drivers/net/can/peak_canfd/peak_canfd.c priv->cmd_len += sizeof(*cmd); cmd_len 773 drivers/net/can/peak_canfd/peak_canfd.c priv->cmd_len = 0; cmd_len 26 drivers/net/can/peak_canfd/peak_canfd_user.h int cmd_len; cmd_len 166 drivers/net/can/usb/kvaser_usb/kvaser_usb.h int *cmd_len, u16 transid); cmd_len 510 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c int cmd_len = 0; cmd_len 548 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c buf = dev->ops->dev_frame_to_cmd(priv, skb, &context->dlc, &cmd_len, cmd_len 570 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c buf, cmd_len, kvaser_usb_write_bulk_callback, cmd_len 228 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c u8 cmd_len; cmd_len 599 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c size_t cmd_len; cmd_len 602 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len = kvaser_usb_hydra_cmd_size(tmp_cmd); cmd_len 603 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (pos + cmd_len > actual_len) { cmd_len 610 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c memcpy(cmd, tmp_cmd, cmd_len); cmd_len 613 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c pos += cmd_len; cmd_len 1349 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c int *cmd_len, u16 transid) cmd_len 1375 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *cmd_len = ALIGN(sizeof(struct kvaser_cmd_ext) - cmd_len 1379 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd->len = cpu_to_le16(*cmd_len); cmd_len 1429 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c int *cmd_len, u16 transid) cmd_len 1449 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c *cmd_len = ALIGN(sizeof(struct kvaser_cmd), 8); cmd_len 1908 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c size_t cmd_len; cmd_len 1921 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len = kvaser_usb_hydra_cmd_size(cmd); cmd_len 1924 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len - usb_rx_leftover_len); cmd_len 1937 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (remaining_bytes + usb_rx_leftover_len == cmd_len) { cmd_len 1951 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len = kvaser_usb_hydra_cmd_size(cmd); cmd_len 1953 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c if (pos + cmd_len > len) { cmd_len 1972 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c pos += cmd_len; cmd_len 1979 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c int *cmd_len, u16 transid) cmd_len 1985 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len, transid); cmd_len 1988 drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c cmd_len, transid); cmd_len 346 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c int *cmd_len, u16 transid) cmd_len 358 drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c cmd->len = *cmd_len = CMD_HEADER_LEN + cmd_len 180 drivers/net/can/usb/peak_usb/pcan_usb_fd.c ptrdiff_t cmd_len; cmd_len 189 drivers/net/can/usb/peak_usb/pcan_usb_fd.c cmd_len = cmd_tail - cmd_head; cmd_len 190 drivers/net/can/usb/peak_usb/pcan_usb_fd.c if (cmd_len <= (PCAN_UFD_CMD_BUFFER_SIZE - sizeof(u64))) { cmd_len 192 drivers/net/can/usb/peak_usb/pcan_usb_fd.c cmd_len += sizeof(u64); cmd_len 196 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = cmd_len; cmd_len 215 drivers/net/can/usb/peak_usb/pcan_usb_fd.c cmd_len -= packet_len; cmd_len 217 drivers/net/can/usb/peak_usb/pcan_usb_fd.c if (cmd_len < PCAN_UFD_LOSPD_PKT_SIZE) cmd_len 218 drivers/net/can/usb/peak_usb/pcan_usb_fd.c packet_len = cmd_len; cmd_len 203 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c WARN_ON(!elem->cmd_len); cmd_len 205 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c if (cur_len + elem->cmd_len <= o->exe_chunk_len) { cmd_len 206 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c cur_len += elem->cmd_len; cmd_len 1916 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem->cmd_len = 2; cmd_len 1919 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c elem->cmd_len = 1; cmd_len 157 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.h int cmd_len; cmd_len 793 drivers/net/ethernet/emulex/benet/be_cmds.c u8 subsystem, u8 opcode, int cmd_len, cmd_len 801 drivers/net/ethernet/emulex/benet/be_cmds.c req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); cmd_len 804 drivers/net/ethernet/emulex/benet/be_cmds.c wrb->payload_length = cmd_len; cmd_len 2769 drivers/net/ethernet/intel/e1000/e1000_main.c u32 cmd_len = E1000_TXD_CMD_DEXT; cmd_len 2777 drivers/net/ethernet/intel/e1000/e1000_main.c cmd_len |= E1000_TXD_CMD_TCP; cmd_len 2782 drivers/net/ethernet/intel/e1000/e1000_main.c cmd_len |= E1000_TXD_CMD_TCP; cmd_len 2803 drivers/net/ethernet/intel/e1000/e1000_main.c context_desc->cmd_and_length = cpu_to_le32(cmd_len); cmd_len 5508 drivers/net/ethernet/intel/e1000e/netdev.c u32 cmd_len = E1000_TXD_CMD_DEXT; cmd_len 5516 drivers/net/ethernet/intel/e1000e/netdev.c cmd_len |= E1000_TXD_CMD_TCP; cmd_len 5521 drivers/net/ethernet/intel/e1000e/netdev.c cmd_len |= E1000_TXD_CMD_TCP; cmd_len 5541 drivers/net/ethernet/intel/e1000e/netdev.c context_desc->cmd_and_length = cpu_to_le32(cmd_len); cmd_len 1678 drivers/net/ethernet/realtek/8139cp.c static void eeprom_cmd(void __iomem *ee_addr, int cmd, int cmd_len) cmd_len 1683 drivers/net/ethernet/realtek/8139cp.c for (i = cmd_len - 1; i >= 0; i--) { cmd_len 3753 drivers/net/wireless/ath/ath6kl/wmi.c size_t cmd_len = sizeof(*p) + data_len; cmd_len 3756 drivers/net/wireless/ath/ath6kl/wmi.c cmd_len++; /* work around target minimum length requirement */ cmd_len 3758 drivers/net/wireless/ath/ath6kl/wmi.c skb = ath6kl_wmi_get_new_buf(cmd_len); cmd_len 296 drivers/net/wireless/ath/ath9k/wmi.c u8 *cmd_buf, u32 cmd_len, cmd_len 311 drivers/net/wireless/ath/ath9k/wmi.c skb = alloc_skb(headroom + cmd_len, GFP_ATOMIC); cmd_len 317 drivers/net/wireless/ath/ath9k/wmi.c if (cmd_len != 0 && cmd_buf != NULL) { cmd_len 318 drivers/net/wireless/ath/ath9k/wmi.c skb_put_data(skb, cmd_buf, cmd_len); cmd_len 333 drivers/net/wireless/ath/ath9k/wmi.c ret = ath9k_wmi_cmd_issue(wmi, skb, cmd_id, cmd_len); cmd_len 185 drivers/net/wireless/ath/ath9k/wmi.h u8 *cmd_buf, u32 cmd_len, cmd_len 857 drivers/net/wireless/intel/iwlegacy/4965-mac.c u16 cmd_len; cmd_len 1003 drivers/net/wireless/intel/iwlegacy/4965-mac.c cmd_len = cmd_len 1008 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.len = cpu_to_le16(cmd_len); cmd_len 1015 drivers/net/wireless/intel/iwlegacy/4965-mac.c (void *)&scan->data[cmd_len]); cmd_len 74 drivers/net/wireless/intel/iwlwifi/dvm/calib.c size_t cmd_len; cmd_len 98 drivers/net/wireless/intel/iwlwifi/dvm/calib.c hcmd.len[0] = res->cmd_len; cmd_len 122 drivers/net/wireless/intel/iwlwifi/dvm/calib.c res->cmd_len = len; cmd_len 624 drivers/net/wireless/intel/iwlwifi/dvm/scan.c u16 cmd_len = 0; cmd_len 845 drivers/net/wireless/intel/iwlwifi/dvm/scan.c cmd_len = iwl_fill_probe_req( cmd_len 855 drivers/net/wireless/intel/iwlwifi/dvm/scan.c cmd_len = iwl_fill_probe_req( cmd_len 864 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.len = cpu_to_le16(cmd_len); cmd_len 873 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (void *)&scan->data[cmd_len]); cmd_len 879 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (void *)&scan->data[cmd_len]); cmd_len 597 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c u16 cmd_len; cmd_len 653 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmd_len = le16_to_cpu(tx_cmd_gen3->len); cmd_len 658 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmd_len = le16_to_cpu(tx_cmd_gen2->len); cmd_len 662 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c iwl_pcie_gen2_update_byte_tbl(trans_pcie, txq, cmd_len, cmd_len 2299 drivers/net/wireless/realtek/rtlwifi/base.c u8 cmd_id, cmd_len; cmd_len 2303 drivers/net/wireless/realtek/rtlwifi/base.c cmd_len = skb->len - C2H_DATA_OFFSET; cmd_len 2315 drivers/net/wireless/realtek/rtlwifi/base.c rtl_tx_report_handler(hw, cmd_buf, cmd_len); cmd_len 2319 drivers/net/wireless/realtek/rtlwifi/base.c hal_ops->c2h_ra_report_handler(hw, cmd_buf, cmd_len); cmd_len 2325 drivers/net/wireless/realtek/rtlwifi/base.c btc_ops->btc_btinfo_notify(rtlpriv, cmd_buf, cmd_len); cmd_len 2331 drivers/net/wireless/realtek/rtlwifi/base.c btc_ops->btc_btmpinfo_notify(rtlpriv, cmd_buf, cmd_len); cmd_len 1029 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c u32 cmd_len, u8 *cmd_buf) cmd_len 1035 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c cmd_len, cmd_buf); cmd_len 712 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.h u32 cmd_len, u8 *cmd_buffer); cmd_len 179 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/def.h u32 cmd_len; cmd_len 166 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c u8 element_id, u32 cmd_len, cmd_len 278 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c switch (cmd_len) { cmd_len 284 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c cmd_b + buf_index, cmd_len); cmd_len 297 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c cmd_b + buf_index+3, cmd_len-3); cmd_len 313 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c "switch case %#x not processed\n", cmd_len); cmd_len 336 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 348 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 349 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c _rtl88e_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); cmd_len 252 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.h u32 cmd_len, u8 *cmdbuffer); cmd_len 184 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 295 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c switch (cmd_len) { cmd_len 362 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c "switch case %#x not processed\n", cmd_len); cmd_len 385 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 397 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 398 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c _rtl92c_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); cmd_len 65 drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.h u32 cmd_len, u8 *p_cmdbuffer); cmd_len 109 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/def.h u32 cmd_len; cmd_len 77 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.h u8 element_id, u32 cmd_len, u8 *p_cmdbuffer); cmd_len 159 drivers/net/wireless/realtek/rtlwifi/rtl8192de/def.h u32 cmd_len; cmd_len 270 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 380 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c switch (cmd_len) { cmd_len 426 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c cmd_len); cmd_len 444 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 449 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 450 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c _rtl92d_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); cmd_len 89 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h u32 cmd_len, u8 *p_cmdbuffer); cmd_len 167 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u32 cmd_len, u8 *cmdbuffer) cmd_len 301 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c switch (cmd_len) { cmd_len 307 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c cmdbuffer + buf_index, cmd_len); cmd_len 320 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c cmdbuffer + buf_index+3, cmd_len-3); cmd_len 336 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c "switch case %#x not processed\n", cmd_len); cmd_len 359 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 371 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 372 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c _rtl92ee_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); cmd_len 860 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c u8 *cmd_buf, u8 cmd_len) cmd_len 155 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h u32 cmd_len, u8 *cmdbuffer); cmd_len 162 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.h u8 *cmd_buf, u8 cmd_len); cmd_len 503 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c u32 cmd_len = 0; cmd_len 509 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c cmd_len = sizeof(struct h2c_set_pwrmode_parm); cmd_len 513 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c cmd_len = sizeof(struct h2c_joinbss_rpt_parm); cmd_len 517 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c cmd_len = sizeof(struct h2c_wpa_two_way_parm); cmd_len 521 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c cmd_len = sizeof(unsigned long long); cmd_len 525 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c cmd_len = sizeof(u8); cmd_len 531 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c len = _rtl92s_get_h2c_cmdlen(MAX_TRANSMIT_BUFFER_SIZE, 1, &cmd_len); cmd_len 541 drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c &cmd_len, &pcmd_buffer, &rtlhal->h2c_txcmd_seq); cmd_len 156 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/def.h u32 cmd_len; cmd_len 29 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c u32 cmd_len, u8 *cmdbuffer) cmd_len 143 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c switch (cmd_len) { cmd_len 210 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c cmd_len); cmd_len 233 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 244 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 245 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.c _rtl8723e_fill_h2c_command(hw, element_id, cmd_len, cmd_len 36 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/fw.h u32 cmd_len, u8 *p_cmdbuffer); cmd_len 1703 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c c2h_event.cmd_len = (u1b_tmp & 0xF0) >> 4; cmd_len 1707 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c c2h_event.cmd_id , c2h_event.cmd_len, c2h_event.cmd_seq); cmd_len 1715 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c ptmp_buf = kzalloc(c2h_event.cmd_len, GFP_KERNEL); cmd_len 1723 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c for (index = 0; index < c2h_event.cmd_len; index++) cmd_len 1745 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.c rtl8723e_dm_bt_parse_bt_info(hw, ptmp_buf, c2h_event.cmd_len); cmd_len 95 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hal_btc.h u8 cmd_len; cmd_len 27 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c u32 cmd_len, u8 *p_cmdbuffer) cmd_len 140 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c switch (cmd_len) { cmd_len 146 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p_cmdbuffer + buf_index, cmd_len); cmd_len 159 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c p_cmdbuffer + buf_index+3, cmd_len-3); cmd_len 175 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c cmd_len); cmd_len 198 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c u32 cmd_len, u8 *p_cmdbuffer) cmd_len 210 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c memcpy(tmp_cmdbuf, p_cmdbuffer, cmd_len); cmd_len 211 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.c _rtl8723be_fill_h2c_command(hw, element_id, cmd_len, cmd_len 120 drivers/net/wireless/realtek/rtlwifi/rtl8723be/fw.h u32 cmd_len, u8 *p_cmdbuffer); cmd_len 265 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/def.h u32 cmd_len; cmd_len 234 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 element_id, u32 cmd_len, cmd_len 358 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c switch (cmd_len) { cmd_len 364 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c cmdbuffer + buf_index, cmd_len); cmd_len 377 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c cmdbuffer + buf_index+3, cmd_len-3); cmd_len 393 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c "switch case %#x not processed\n", cmd_len); cmd_len 416 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 element_id, u32 cmd_len, u8 *cmdbuffer) cmd_len 428 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c memcpy(tmp_cmdbuf, cmdbuffer, cmd_len); cmd_len 429 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c _rtl8821ae_fill_h2c_command(hw, element_id, cmd_len, (u8 *)&tmp_cmdbuf); cmd_len 1893 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c u8 *cmd_buf, u8 cmd_len) cmd_len 279 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h u32 cmd_len, u8 *cmdbuffer); cmd_len 300 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.h u8 *cmd_buf, u8 cmd_len); cmd_len 2324 drivers/net/wireless/realtek/rtlwifi/wifi.h u32 cmd_len, u8 *p_cmdbuffer); cmd_len 2333 drivers/net/wireless/realtek/rtlwifi/wifi.h u8 *cmd_buf, u8 cmd_len); cmd_len 394 drivers/net/wireless/ti/wl1251/cmd.c size_t cmd_len; cmd_len 401 drivers/net/wireless/ti/wl1251/cmd.c cmd_len = ALIGN(sizeof(*cmd) + buf_len, 4); cmd_len 403 drivers/net/wireless/ti/wl1251/cmd.c cmd = kzalloc(cmd_len, GFP_KERNEL); cmd_len 414 drivers/net/wireless/ti/wl1251/cmd.c ret = wl1251_cmd_send(wl, cmd_id, cmd, cmd_len); cmd_len 861 drivers/net/wireless/ti/wlcore/cmd.c size_t cmd_len, size_t res_len) cmd_len 873 drivers/net/wireless/ti/wlcore/cmd.c ret = wl1271_cmd_send(wl, CMD_INTERROGATE, acx, cmd_len, res_len); cmd_len 33 drivers/net/wireless/ti/wlcore/cmd.h size_t cmd_len, size_t res_len); cmd_len 89 drivers/nfc/st95hf/core.c int cmd_len; cmd_len 123 drivers/nfc/st95hf/core.c .cmd_len = 0x2, cmd_len 129 drivers/nfc/st95hf/core.c .cmd_len = 0x7, cmd_len 136 drivers/nfc/st95hf/core.c .cmd_len = 0x7, cmd_len 143 drivers/nfc/st95hf/core.c .cmd_len = 0x7, cmd_len 150 drivers/nfc/st95hf/core.c .cmd_len = 0x7, cmd_len 157 drivers/nfc/st95hf/core.c .cmd_len = 0x7, cmd_len 164 drivers/nfc/st95hf/core.c .cmd_len = 0x6, cmd_len 171 drivers/nfc/st95hf/core.c .cmd_len = 0x5, cmd_len 178 drivers/nfc/st95hf/core.c .cmd_len = 0x5, cmd_len 254 drivers/nfc/st95hf/core.c if (cmd_array[cmd].cmd_len > MAX_CMD_LEN) cmd_len 277 drivers/nfc/st95hf/core.c cmd_array[cmd].cmd_len, cmd_len 638 drivers/s390/scsi/zfcp_dbf.c min_t(int, sc->cmd_len, ZFCP_DBF_SCSI_OPCODE)); cmd_len 240 drivers/s390/scsi/zfcp_fc.h memcpy(fcp->fc_cdb, scsi->cmnd, scsi->cmd_len); cmd_len 593 drivers/scsi/53c700.c SCp->cmd_len = cmnd[8]; cmd_len 1001 drivers/scsi/53c700.c cmnd[8] = SCp->cmd_len; cmd_len 1002 drivers/scsi/53c700.c SCp->cmd_len = 6; /* command length for cmd_len 1051 drivers/scsi/53c700.c SCp->cmd_len); cmd_len 1135 drivers/scsi/53c700.c CommandCount, slot->cmnd->cmd_len); cmd_len 1154 drivers/scsi/53c700.c slot->cmnd->cmd_len, DMA_TO_DEVICE); cmd_len 1439 drivers/scsi/53c700.c SCp->cmd_len); cmd_len 1452 drivers/scsi/53c700.c dma_cache_sync(hostdata->dev, SCp->cmnd, SCp->cmd_len, DMA_TO_DEVICE); cmd_len 3029 drivers/scsi/BusLogic.c int cdblen = command->cmd_len; cmd_len 1967 drivers/scsi/NCR5380.c len = cmd->cmd_len; cmd_len 889 drivers/scsi/a100u2w.c scb->cdb_len = cmd->cmd_len; cmd_len 891 drivers/scsi/a100u2w.c printk("max cdb length= %x\n", cmd->cmd_len); cmd_len 1509 drivers/scsi/aacraid/aachba.c srbcmd->cdb_size = cpu_to_le32(cmd->cmd_len); cmd_len 1548 drivers/scsi/aacraid/aachba.c memcpy(hbacmd->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1573 drivers/scsi/aacraid/aachba.c memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1604 drivers/scsi/aacraid/aachba.c memcpy(srbcmd->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 5971 drivers/scsi/advansys.c ASC_DBG_PRT_CDB(2, scp->cmnd, scp->cmd_len); cmd_len 6756 drivers/scsi/advansys.c ASC_DBG_PRT_CDB(2, scp->cmnd, scp->cmd_len); cmd_len 7528 drivers/scsi/advansys.c asc_scsi_q->q2.cdb_len = scp->cmd_len; cmd_len 7608 drivers/scsi/advansys.c ASC_DBG_PRT_CDB(1, scp->cmnd, scp->cmd_len); cmd_len 7778 drivers/scsi/advansys.c scsiqp->cdb_len = scp->cmd_len; cmd_len 7780 drivers/scsi/advansys.c memcpy(scsiqp->cdb, scp->cmnd, scp->cmd_len < 12 ? scp->cmd_len : 12); cmd_len 7782 drivers/scsi/advansys.c if (scp->cmd_len > 12) { cmd_len 7783 drivers/scsi/advansys.c int cdb16_len = scp->cmd_len - 12; cmd_len 7847 drivers/scsi/advansys.c ASC_DBG_PRT_CDB(1, scp->cmnd, scp->cmd_len); cmd_len 1050 drivers/scsi/aha152x.c unsigned char old_cmd_len = SCpnt->cmd_len; cmd_len 1064 drivers/scsi/aha152x.c SCpnt->cmd_len = 0; cmd_len 1076 drivers/scsi/aha152x.c SCpnt->cmd_len = old_cmd_len; cmd_len 1907 drivers/scsi/aha152x.c while(CMD_I<CURRENT_SC->cmd_len) { cmd_len 1917 drivers/scsi/aha152x.c if(CMD_I<CURRENT_SC->cmd_len) cmd_len 1920 drivers/scsi/aha152x.c CMD_I, CURRENT_SC->cmd_len); cmd_len 420 drivers/scsi/aha1542.c print_hex_dump_bytes("command: ", DUMP_PREFIX_NONE, cmd->cmnd, cmd->cmd_len); cmd_len 469 drivers/scsi/aha1542.c ccb[mbo].cdblen = cmd->cmd_len; cmd_len 343 drivers/scsi/aha1740.c for (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]); cmd_len 373 drivers/scsi/aha1740.c host->ecb[ecbno].cdblen = SCpnt->cmd_len; /* SCSI Command cmd_len 383 drivers/scsi/aha1740.c memcpy(host->ecb[ecbno].cdb, cmd, SCpnt->cmd_len); cmd_len 804 drivers/scsi/aic7xxx/aic79xx_osm.c for (cdb_byte = 0; cdb_byte < cmd->cmd_len; cdb_byte++) cmd_len 1626 drivers/scsi/aic7xxx/aic79xx_osm.c hscb->cdb_len = cmd->cmd_len; cmd_len 1830 drivers/scsi/aic7xxx/aic79xx_osm.c for (i = 0; i < scb->io_ctx->cmd_len; i++) cmd_len 2174 drivers/scsi/aic7xxx/aic79xx_osm.c for (cdb_byte = 0; cdb_byte < cmd->cmd_len; cdb_byte++) cmd_len 1506 drivers/scsi/aic7xxx/aic7xxx_osm.c hscb->cdb_len = cmd->cmd_len; cmd_len 1759 drivers/scsi/aic7xxx/aic7xxx_osm.c for (i = 0; i < scb->io_ctx->cmd_len; i++) cmd_len 2076 drivers/scsi/aic7xxx/aic7xxx_osm.c for (cdb_byte = 0; cdb_byte < cmd->cmd_len; cdb_byte++) cmd_len 491 drivers/scsi/aic94xx/aic94xx_task.c task->ssp_task.cmd->cmd_len); cmd_len 1741 drivers/scsi/arcmsr/arcmsr_hba.c memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); cmd_len 1310 drivers/scsi/arm/acornscsi.c sbic_arm_writenext(host, SCpnt->cmd_len - host->scsi.SCp.sent_command); cmd_len 1315 drivers/scsi/arm/acornscsi.c (int *)&host->scsi.SCp.sent_command, SCpnt->cmd_len, 1000000)) cmd_len 2084 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.sent_command != host->SCpnt->cmd_len) cmd_len 2094 drivers/scsi/arm/acornscsi.c if (host->scsi.SCp.sent_command != host->SCpnt->cmd_len) cmd_len 1297 drivers/scsi/arm/fas216.c for (i = info->scsi.SCp.sent_command; i < info->SCpnt->cmd_len; i++) cmd_len 1723 drivers/scsi/arm/fas216.c for (i = 0; i < SCpnt->cmd_len; i++) cmd_len 335 drivers/scsi/atp870u.c for (l = 0; l < workreq->cmd_len; l++) cmd_len 743 drivers/scsi/atp870u.c for(i=0;i<workreq->cmd_len;i++) { cmd_len 786 drivers/scsi/atp870u.c atp_writeb_io(dev, c, 0x00, workreq->cmd_len); cmd_len 792 drivers/scsi/atp870u.c for (i = 0; i < workreq->cmd_len; i++) cmd_len 1609 drivers/scsi/atp870u.c for (k=0; k < workrequ->cmd_len; k++) { cmd_len 686 drivers/scsi/be2iscsi/be_cmds.c u8 subsystem, u8 opcode, u32 cmd_len) cmd_len 690 drivers/scsi/be2iscsi/be_cmds.c req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); cmd_len 1460 drivers/scsi/be2iscsi/be_cmds.h u8 subsystem, u8 opcode, u32 cmd_len); cmd_len 745 drivers/scsi/bnx2fc/bnx2fc_io.c memset(fcp_cmnd->fc_cdb, 0, sc_cmd->cmd_len); cmd_len 1747 drivers/scsi/bnx2fc/bnx2fc_io.c memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); cmd_len 90 drivers/scsi/bnx2i/bnx2i_iscsi.c u32 cmd_len = cmd->req.total_data_transfer_length; cmd_len 100 drivers/scsi/bnx2i/bnx2i_iscsi.c if (task->imm_count == cmd_len) cmd_len 111 drivers/scsi/bnx2i/bnx2i_iscsi.c if (buffer_offset != cmd_len) { cmd_len 1143 drivers/scsi/bnx2i/bnx2i_iscsi.c lpcnt = cmd->scsi_cmd->cmd_len / sizeof(dword); cmd_len 1152 drivers/scsi/bnx2i/bnx2i_iscsi.c if (sc->cmd_len & 0x3) { cmd_len 187 drivers/scsi/ch.c ch_do_scsi(scsi_changer *ch, unsigned char *cmd, int cmd_len, cmd_len 1534 drivers/scsi/dc395x.c for (i = 0; i < srb->cmd->cmd_len; i++) cmd_len 1804 drivers/scsi/dc395x.c for (i = 0; i < srb->cmd->cmd_len; i++) { cmd_len 2252 drivers/scsi/dpt_i2o.c msg[6] = scsidir|0x20a00000|cmd->cmd_len; cmd_len 2258 drivers/scsi/dpt_i2o.c memcpy(mptr, cmd->cmnd, cmd->cmd_len); cmd_len 845 drivers/scsi/esas2r/esas2r_main.c memcpy(rq->vrq->scsi.cdb, cmd->cmnd, cmd->cmd_len); cmd_len 769 drivers/scsi/esp_scsi.c if (!(cmd->cmd_len == 6 || cmd->cmd_len == 10 || cmd->cmd_len == 12)) cmd_len 827 drivers/scsi/esp_scsi.c esp->cmd_bytes_left = cmd->cmd_len; cmd_len 850 drivers/scsi/esp_scsi.c for (i = 0; i < cmd->cmd_len; i++) cmd_len 867 drivers/scsi/esp_scsi.c for (i = 0; i < cmd->cmd_len; i++) cmd_len 343 drivers/scsi/fdomain.c cmd->SCp.sent_command >= cmd->cmd_len) { cmd_len 401 drivers/scsi/fnic/fnic_scsi.c sc->cmnd, sc->cmd_len, cmd_len 356 drivers/scsi/gdth.c scp->cmd_len = 12; cmd_len 989 drivers/scsi/gdth.c cp_count = ha->cmd_len; cmd_len 1140 drivers/scsi/gdth.c ha->cmd_len = sizeof(gdth_cmd_str); cmd_len 1984 drivers/scsi/gdth.c scp->cmnd[0],scp->cmd_len,hdrive)); cmd_len 2043 drivers/scsi/gdth.c if (scp->cmd_len == 16) { cmd_len 2048 drivers/scsi/gdth.c } else if (scp->cmd_len == 10) { cmd_len 2108 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache64.sg_lst) + cmd_len 2117 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.cache.sg_lst) + cmd_len 2120 drivers/scsi/gdth.c if (ha->cmd_len & 3) cmd_len 2121 drivers/scsi/gdth.c ha->cmd_len += (4 - (ha->cmd_len & 3)); cmd_len 2124 drivers/scsi/gdth.c if ((ha->cmd_offs_dpmem + ha->cmd_len + DPMEM_COMMAND_OFFSET) > cmd_len 2175 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw64.sg_lst); cmd_len 2181 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw.sg_lst); cmd_len 2195 drivers/scsi/gdth.c cmdp->u.raw64.clen = scp->cmd_len; cmd_len 2211 drivers/scsi/gdth.c cmdp->u.raw.clen = scp->cmd_len; cmd_len 2264 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw64.sg_lst) + cmd_len 2272 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.raw.sg_lst) + cmd_len 2277 drivers/scsi/gdth.c if (ha->cmd_len & 3) cmd_len 2278 drivers/scsi/gdth.c ha->cmd_len += (4 - (ha->cmd_len & 3)); cmd_len 2281 drivers/scsi/gdth.c if ((ha->cmd_offs_dpmem + ha->cmd_len + DPMEM_COMMAND_OFFSET) > cmd_len 2319 drivers/scsi/gdth.c ha->cmd_len = cmd_len 2324 drivers/scsi/gdth.c ha->cmd_len = cmd_len 2327 drivers/scsi/gdth.c ha->cmd_len = cmd_len 2332 drivers/scsi/gdth.c ha->cmd_len = cmd_len 2335 drivers/scsi/gdth.c ha->cmd_len = cmd_len 2339 drivers/scsi/gdth.c if (ha->cmd_len & 3) cmd_len 2340 drivers/scsi/gdth.c ha->cmd_len += (4 - (ha->cmd_len & 3)); cmd_len 2343 drivers/scsi/gdth.c if ((ha->cmd_offs_dpmem + ha->cmd_len + DPMEM_COMMAND_OFFSET) > cmd_len 2679 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) cmd_len 2713 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) cmd_len 3030 drivers/scsi/gdth.c ha->cmd_len = GDTOFFSOF(gdth_cmd_str,u.screen.su.msg.msg_addr) cmd_len 4000 drivers/scsi/gdth.c scp->cmd_len = 12; cmd_len 892 drivers/scsi/gdth.h u16 cmd_len; /* length of actual command */ cmd_len 1030 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c task->ssp_task.cmd->cmd_len); cmd_len 1799 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c task->ssp_task.cmd->cmd_len); cmd_len 1239 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c memcpy(buf_cmd + 12, scsi_cmnd->cmnd, scsi_cmnd->cmd_len); cmd_len 4721 drivers/scsi/hpsa.c BUG_ON(cmd->cmd_len > IOACCEL1_IOFLAGS_CDBLEN_MAX); cmd_len 4813 drivers/scsi/hpsa.c cmd->cmnd, cmd->cmd_len, dev->scsi3addr, dev); cmd_len 5429 drivers/scsi/hpsa.c BUG_ON(cmd->cmd_len > sizeof(c->Request.CDB)); cmd_len 5430 drivers/scsi/hpsa.c c->Request.CDBLen = cmd->cmd_len; cmd_len 5431 drivers/scsi/hpsa.c memcpy(c->Request.CDB, cmd->cmnd, cmd->cmd_len); cmd_len 1636 drivers/scsi/ibmvscsi/ibmvfc.c memcpy(vfc_cmd->iu.cdb, cmnd->cmnd, cmnd->cmd_len); cmd_len 1903 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd_len = cpu_to_be32(job->request_payload.payload_len); cmd_len 3641 drivers/scsi/ibmvscsi/ibmvfc.c mad->iu.cmd_len = cpu_to_be32(sizeof(mad->fc_iu.payload)); cmd_len 459 drivers/scsi/ibmvscsi/ibmvfc.h __be32 cmd_len; cmd_len 607 drivers/scsi/imm.c for (k = 0; k < cmd->cmd_len; k += 2) cmd_len 2557 drivers/scsi/initio.c cblk->cdblen = cmnd->cmd_len; cmd_len 2563 drivers/scsi/initio.c memcpy(cblk->cdb, cmnd->cmnd, cmnd->cmd_len); cmd_len 6603 drivers/scsi/ipr.c memcpy(ioarcb->cmd_pkt.cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len); cmd_len 2658 drivers/scsi/ips.c memcpy(scb->cdb, SC->cmnd, SC->cmd_len); cmd_len 3758 drivers/scsi/ips.c tapeDCDB->cdb_length = scb->scsi_cmd->cmd_len; cmd_len 3772 drivers/scsi/ips.c scb->scsi_cmd->cmd_len); cmd_len 3804 drivers/scsi/ips.c scb->dcdb.cdb_length = scb->scsi_cmd->cmd_len; cmd_len 3809 drivers/scsi/ips.c scb->scsi_cmd->cmd_len); cmd_len 188 drivers/scsi/isci/request.c (task->ssp_task.cmd->cmd_len+3) / sizeof(u32)); cmd_len 1144 drivers/scsi/libfc/fc_fcp.c memcpy(fsp->cdb_cmd.fc_cdb, fsp->cmd->cmnd, fsp->cmd->cmd_len); cmd_len 190 drivers/scsi/libiscsi.c rlen = cmd->cmd_len - ISCSI_CDB_SIZE; cmd_len 213 drivers/scsi/libiscsi.c "%u\n", cmd->cmd_len, rlen, pad_len, ahslength, cmd_len 313 drivers/scsi/libiscsi.c unsigned hdrlength, cmd_len, transfer_length; cmd_len 344 drivers/scsi/libiscsi.c cmd_len = sc->cmd_len; cmd_len 345 drivers/scsi/libiscsi.c if (cmd_len < ISCSI_CDB_SIZE) cmd_len 346 drivers/scsi/libiscsi.c memset(&hdr->cdb[cmd_len], 0, ISCSI_CDB_SIZE - cmd_len); cmd_len 347 drivers/scsi/libiscsi.c else if (cmd_len > ISCSI_CDB_SIZE) { cmd_len 351 drivers/scsi/libiscsi.c cmd_len = ISCSI_CDB_SIZE; cmd_len 353 drivers/scsi/libiscsi.c memcpy(hdr->cdb, sc->cmnd, cmd_len); cmd_len 4104 drivers/scsi/lpfc/lpfc_scsi.c memcpy(ptr, scsi_cmnd->cmnd, scsi_cmnd->cmd_len); cmd_len 4105 drivers/scsi/lpfc/lpfc_scsi.c if (scsi_cmnd->cmd_len < LPFC_FCP_CDB_LEN) { cmd_len 4106 drivers/scsi/lpfc/lpfc_scsi.c ptr += scsi_cmnd->cmd_len; cmd_len 4107 drivers/scsi/lpfc/lpfc_scsi.c memset(ptr, 0, (LPFC_FCP_CDB_LEN - scsi_cmnd->cmd_len)); cmd_len 78 drivers/scsi/mac53c94.c for (i = 0; i < cmd->cmd_len; ++i) cmd_len 173 drivers/scsi/mac53c94.c for (i = 0; i < cmd->cmd_len; ++i) cmd_len 703 drivers/scsi/megaraid.c pthru->cdblen = cmd->cmd_len; cmd_len 704 drivers/scsi/megaraid.c memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 757 drivers/scsi/megaraid.c if( cmd->cmd_len == 6 ) { cmd_len 787 drivers/scsi/megaraid.c if( cmd->cmd_len == 10 ) { cmd_len 813 drivers/scsi/megaraid.c if( cmd->cmd_len == 12 ) { cmd_len 969 drivers/scsi/megaraid.c pthru->cdblen = cmd->cmd_len; cmd_len 972 drivers/scsi/megaraid.c memcpy(pthru->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1033 drivers/scsi/megaraid.c epthru->cdblen = cmd->cmd_len; cmd_len 1036 drivers/scsi/megaraid.c memcpy(epthru->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1620 drivers/scsi/megaraid/megaraid_mbox.c pthru->cdblen = scp->cmd_len; cmd_len 1621 drivers/scsi/megaraid/megaraid_mbox.c memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); cmd_len 1669 drivers/scsi/megaraid/megaraid_mbox.c if (scp->cmd_len == 6) { cmd_len 1682 drivers/scsi/megaraid/megaraid_mbox.c else if (scp->cmd_len == 10) { cmd_len 1696 drivers/scsi/megaraid/megaraid_mbox.c else if (scp->cmd_len == 12) { cmd_len 1956 drivers/scsi/megaraid/megaraid_mbox.c pthru->cdblen = scp->cmd_len; cmd_len 1958 drivers/scsi/megaraid/megaraid_mbox.c memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); cmd_len 2005 drivers/scsi/megaraid/megaraid_mbox.c epthru->cdblen = scp->cmd_len; cmd_len 2007 drivers/scsi/megaraid/megaraid_mbox.c memcpy(epthru->cdb, scp->cmnd, scp->cmd_len); cmd_len 3340 drivers/scsi/megaraid/megaraid_mbox.c for (i = 0; i < scp->cmd_len; i++) { cmd_len 1413 drivers/scsi/megaraid/megaraid_sas_base.c pthru->cdb_len = scp->cmd_len; cmd_len 1419 drivers/scsi/megaraid/megaraid_sas_base.c memcpy(pthru->cdb, scp->cmnd, scp->cmd_len); cmd_len 1513 drivers/scsi/megaraid/megaraid_sas_base.c ldio->access_byte = (scp->cmd_len != 6) ? scp->cmnd[1] : 0; cmd_len 1518 drivers/scsi/megaraid/megaraid_sas_base.c if (scp->cmd_len == 6) { cmd_len 1530 drivers/scsi/megaraid/megaraid_sas_base.c else if (scp->cmd_len == 10) { cmd_len 1542 drivers/scsi/megaraid/megaraid_sas_base.c else if (scp->cmd_len == 12) { cmd_len 1557 drivers/scsi/megaraid/megaraid_sas_base.c else if (scp->cmd_len == 16) { cmd_len 2755 drivers/scsi/megaraid/megaraid_sas_fusion.c if (scp->cmd_len == 6) { cmd_len 2766 drivers/scsi/megaraid/megaraid_sas_fusion.c else if (scp->cmd_len == 10) { cmd_len 2777 drivers/scsi/megaraid/megaraid_sas_fusion.c else if (scp->cmd_len == 12) { cmd_len 2789 drivers/scsi/megaraid/megaraid_sas_fusion.c else if (scp->cmd_len == 16) { cmd_len 2895 drivers/scsi/megaraid/megaraid_sas_fusion.c megasas_set_pd_lba(io_request, scp->cmd_len, &io_info, scp, cmd_len 3236 drivers/scsi/megaraid/megaraid_sas_fusion.c memcpy(io_request->CDB.CDB32, scp->cmnd, scp->cmd_len); cmd_len 3241 drivers/scsi/megaraid/megaraid_sas_fusion.c io_request->IoFlags = cpu_to_le16(scp->cmd_len); cmd_len 419 drivers/scsi/mesh.c for (i = 0; i < cmd->cmd_len; ++i) cmd_len 772 drivers/scsi/mesh.c out_8(&mr->count_lo, cmd->cmd_len); cmd_len 774 drivers/scsi/mesh.c for (i = 0; i < cmd->cmd_len; ++i) cmd_len 4725 drivers/scsi/mpt3sas/mpt3sas_scsih.c && sas_is_tlr_enabled(scmd->device) && scmd->cmd_len != 32) cmd_len 4738 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (scmd->cmd_len == 32) cmd_len 4749 drivers/scsi/mpt3sas/mpt3sas_scsih.c mpi_request->IoFlags = cpu_to_le16(scmd->cmd_len); cmd_len 4757 drivers/scsi/mpt3sas/mpt3sas_scsih.c memcpy(mpi_request->CDB.CDB32, scmd->cmnd, scmd->cmd_len); cmd_len 4776 drivers/scsi/mpt3sas/mpt3sas_scsih.c mpi_request->IoFlags = cpu_to_le16(scmd->cmd_len | cmd_len 5255 drivers/scsi/mpt3sas/mpt3sas_scsih.c memcpy(mpi_request->CDB.CDB32, scmd->cmnd, scmd->cmd_len); cmd_len 674 drivers/scsi/mvsas/mv_sas.c task->ssp_task.cmd->cmd_len); cmd_len 2054 drivers/scsi/mvumi.c pframe->cdb_length = scmd->cmd_len; cmd_len 1329 drivers/scsi/myrb.c dcdb->cdb_len = scmd->cmd_len; cmd_len 1331 drivers/scsi/myrb.c memcpy(&dcdb->cdb, scmd->cmnd, scmd->cmd_len); cmd_len 1639 drivers/scsi/myrs.c if (scmd->cmd_len <= 10) { cmd_len 1662 drivers/scsi/myrs.c mbox->SCSI_10.cdb_len = scmd->cmd_len; cmd_len 1670 drivers/scsi/myrs.c memcpy(&mbox->SCSI_10.cdb, scmd->cmnd, scmd->cmd_len); cmd_len 1708 drivers/scsi/myrs.c mbox->SCSI_255.cdb_len = scmd->cmd_len; cmd_len 1717 drivers/scsi/myrs.c memcpy(cmd_blk->dcdb, scmd->cmnd, scmd->cmd_len); cmd_len 1752 drivers/scsi/myrs.c if (scmd->cmd_len <= 10) cmd_len 4365 drivers/scsi/ncr53c8xx.c memcpy(cp->cdb_buf, cmd->cmnd, min_t(int, cmd->cmd_len, sizeof(cp->cdb_buf))); cmd_len 4367 drivers/scsi/ncr53c8xx.c cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); cmd_len 5025 drivers/scsi/ncr53c8xx.c for (i=0; i<cmd->cmd_len; i++) printk (" %x", *p++); cmd_len 505 drivers/scsi/nsp32.c for (i = 0; i < SCpnt->cmd_len; i++) { cmd_len 617 drivers/scsi/nsp32.c for (i = 0; i < SCpnt->cmd_len; i++) { cmd_len 907 drivers/scsi/nsp32.c SCpnt->device->id, SCpnt->device->lun, SCpnt->cmnd[0], SCpnt->cmd_len, cmd_len 1175 drivers/scsi/pcmcia/nsp_cs.c nsp_dbg(NSP_DEBUG_INTR, "cmd_len=%d", tmpSC->cmd_len); cmd_len 1177 drivers/scsi/pcmcia/nsp_cs.c for (i = 0; i < tmpSC->cmd_len; i++) { cmd_len 551 drivers/scsi/pcmcia/sym53c500_cs.c SCpnt->cmnd[0], SCpnt->cmd_len, SCpnt->device->id, cmd_len 554 drivers/scsi/pcmcia/sym53c500_cs.c VDEB(for (i = 0; i < SCpnt->cmd_len; i++) cmd_len 569 drivers/scsi/pcmcia/sym53c500_cs.c for (i = 0; i < SCpnt->cmd_len; i++) { cmd_len 4332 drivers/scsi/pm8001/pm8001_hwi.c task->ssp_task.cmd->cmd_len); cmd_len 4079 drivers/scsi/pm8001/pm80xx_hwi.c task->ssp_task.cmd->cmd_len); cmd_len 3377 drivers/scsi/pmcraid.c memcpy(ioarcb->cdb, scsi_cmd->cmnd, scsi_cmd->cmd_len); cmd_len 500 drivers/scsi/ppa.c for (k = 0; k < cmd->cmd_len; k++) cmd_len 588 drivers/scsi/qedf/qedf_io.c memcpy(fcp_cmnd->fc_cdb, sc_cmd->cmnd, sc_cmd->cmd_len); cmd_len 2406 drivers/scsi/qedf/qedf_io.c tm_flags, sc_cmd, sc_cmd->cmd_len ? sc_cmd->cmnd[0] : 0xff, cmd_len 1959 drivers/scsi/qedi/qedi_fw.c lpcnt = sc->cmd_len / sizeof(dword); cmd_len 1967 drivers/scsi/qedi/qedi_fw.c if (sc->cmd_len & 0x3) { cmd_len 487 drivers/scsi/qla1280.c #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len cmd_len 3971 drivers/scsi/qla1280.c for (i = 0; i < cmd->cmd_len; i++) { cmd_len 537 drivers/scsi/qla2xxx/qla_def.h int cmd_len; cmd_len 410 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->scsi_cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1462 drivers/scsi/qla2xxx/qla_iocb.c if (cmd->cmd_len > 16) { cmd_len 1463 drivers/scsi/qla2xxx/qla_iocb.c additional_fcpcdb_len = cmd->cmd_len - 16; cmd_len 1464 drivers/scsi/qla2xxx/qla_iocb.c if ((cmd->cmd_len % 4) != 0) { cmd_len 1468 drivers/scsi/qla2xxx/qla_iocb.c fcp_cmnd_len = 12 + cmd->cmd_len + 4; cmd_len 1483 drivers/scsi/qla2xxx/qla_iocb.c memcpy(fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1679 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_len 1745 drivers/scsi/qla2xxx/qla_iocb.c if (cmd->cmd_len <= 16) cmd_len 1999 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_len 2079 drivers/scsi/qla2xxx/qla_iocb.c if (cmd->cmd_len <= 16) cmd_len 3215 drivers/scsi/qla2xxx/qla_iocb.c if (cmd->cmd_len > 16) { cmd_len 3216 drivers/scsi/qla2xxx/qla_iocb.c additional_cdb_len = cmd->cmd_len - 16; cmd_len 3217 drivers/scsi/qla2xxx/qla_iocb.c if ((cmd->cmd_len % 4) != 0) { cmd_len 3223 drivers/scsi/qla2xxx/qla_iocb.c "for cmd=%p.\n", cmd->cmd_len, cmd); cmd_len 3226 drivers/scsi/qla2xxx/qla_iocb.c ctx->fcp_cmnd_len = 12 + cmd->cmd_len + 4; cmd_len 3269 drivers/scsi/qla2xxx/qla_iocb.c memcpy(ctx->fcp_cmnd->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 3328 drivers/scsi/qla2xxx/qla_iocb.c memcpy(cmd_pkt->fcp_cdb, cmd->cmnd, cmd->cmd_len); cmd_len 3493 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->tx_byte_count = nvme->u.nvme.cmd_len; cmd_len 3494 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dsd[0].length = nvme->u.nvme.cmd_len; cmd_len 3164 drivers/scsi/qla2xxx/qla_mr.c cmd->cmnd, cmd->cmd_len); cmd_len 307 drivers/scsi/qla2xxx/qla_nvme.c nvme->u.nvme.cmd_len = fd->rqstlen; cmd_len 330 drivers/scsi/qla4xxx/ql4_iocb.c memcpy(cmd_entry->cdb, cmd->cmnd, cmd->cmd_len); cmd_len 248 drivers/scsi/qlogicfas408.c for (i = 0; i < cmd->cmd_len; i++) cmd_len 876 drivers/scsi/qlogicpti.c cmd->cdb_length = Cmnd->cmd_len; cmd_len 894 drivers/scsi/qlogicpti.c memcpy(cmd->cdb, Cmnd->cmnd, Cmnd->cmd_len); cmd_len 5615 drivers/scsi/scsi_debug.c len = scp->cmd_len; cmd_len 43 drivers/scsi/scsi_debugfs.c __scsi_format_command(buf, sizeof(buf), cdb, cmd->cmd_len); cmd_len 965 drivers/scsi/scsi_error.c ses->cmd_len = scmd->cmd_len; cmd_len 993 drivers/scsi/scsi_error.c scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); cmd_len 999 drivers/scsi/scsi_error.c scmd->cmd_len = COMMAND_SIZE(scmd->cmnd[0]); cmd_len 1029 drivers/scsi/scsi_error.c scmd->cmd_len = ses->cmd_len; cmd_len 1988 drivers/scsi/scsi_error.c rq->cmd_len = COMMAND_SIZE(rq->cmd[0]); cmd_len 2361 drivers/scsi/scsi_error.c scmd->cmd_len = 0; cmd_len 269 drivers/scsi/scsi_lib.c rq->cmd_len = COMMAND_SIZE(cmd[0]); cmd_len 270 drivers/scsi/scsi_lib.c memcpy(rq->cmd, cmd, rq->cmd_len); cmd_len 319 drivers/scsi/scsi_lib.c if (cmd->cmd_len == 0) cmd_len 320 drivers/scsi/scsi_lib.c cmd->cmd_len = scsi_command_size(cmd->cmnd); cmd_len 1186 drivers/scsi/scsi_lib.c cmd->cmd_len = scsi_req(req)->cmd_len; cmd_len 1539 drivers/scsi/scsi_lib.c if (cmd->cmd_len > cmd->device->host->max_cmd_len) { cmd_len 1543 drivers/scsi/scsi_lib.c cmd->cmd_len, cmd->device->host->max_cmd_len)); cmd_len 204 drivers/scsi/scsi_logging.c if (cmd->cmd_len > 16) { cmd_len 209 drivers/scsi/scsi_logging.c for (k = 0; k < cmd->cmd_len; k += 16) { cmd_len 210 drivers/scsi/scsi_logging.c size_t linelen = min(cmd->cmd_len - k, 16); cmd_len 233 drivers/scsi/scsi_logging.c hex_dump_to_buffer(cmd->cmnd, cmd->cmd_len, 16, 1, cmd_len 841 drivers/scsi/sd.c cmd->cmd_len = 10; cmd_len 875 drivers/scsi/sd.c cmd->cmd_len = 16; cmd_len 906 drivers/scsi/sd.c cmd->cmd_len = 10; cmd_len 1033 drivers/scsi/sd.c cmd->cmd_len = 16; cmd_len 1038 drivers/scsi/sd.c cmd->cmd_len = 10; cmd_len 1072 drivers/scsi/sd.c cmd->cmd_len = 10; cmd_len 1088 drivers/scsi/sd.c cmd->cmd_len = SD_EXT_CDB_SIZE; cmd_len 1089 drivers/scsi/sd.c memset(cmd->cmnd, 0, cmd->cmd_len); cmd_len 1106 drivers/scsi/sd.c cmd->cmd_len = 16; cmd_len 1121 drivers/scsi/sd.c cmd->cmd_len = 10; cmd_len 1150 drivers/scsi/sd.c cmd->cmd_len = 6; cmd_len 1314 drivers/scsi/sd.c SCpnt->cmd_len = 0; cmd_len 234 drivers/scsi/sd_zbc.c cmd->cmd_len = 16; cmd_len 235 drivers/scsi/sd_zbc.c memset(cmd->cmnd, 0, cmd->cmd_len); cmd_len 502 drivers/scsi/sg.c ((srp->data.cmd_opcode >= 0xc0) && (12 == hp->cmd_len)) ? 1 : 0; cmd_len 673 drivers/scsi/sg.c hp->cmd_len = (unsigned char) cmd_size; cmd_len 764 drivers/scsi/sg.c if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) { cmd_len 768 drivers/scsi/sg.c if (!access_ok(hp->cmdp, hp->cmd_len)) { cmd_len 772 drivers/scsi/sg.c if (__copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) { cmd_len 806 drivers/scsi/sg.c (int) cmnd[0], (int) hp->cmd_len)); cmd_len 1723 drivers/scsi/sg.c if (hp->cmd_len > BLK_MAX_CDB) { cmd_len 1724 drivers/scsi/sg.c long_cmdp = kzalloc(hp->cmd_len, GFP_KERNEL); cmd_len 1748 drivers/scsi/sg.c if (hp->cmd_len > BLK_MAX_CDB) cmd_len 1750 drivers/scsi/sg.c memcpy(req->cmd, cmd, hp->cmd_len); cmd_len 1751 drivers/scsi/sg.c req->cmd_len = hp->cmd_len; cmd_len 4951 drivers/scsi/smartpqi/smartpqi_init.c cdb_length = min_t(size_t, scmd->cmd_len, sizeof(request->cdb)); cmd_len 5209 drivers/scsi/smartpqi/smartpqi_init.c scmd->cmnd, scmd->cmd_len, queue_group, NULL, false); cmd_len 216 drivers/scsi/snic/snic_scsi.c sc->cmd_len, cmd_len 579 drivers/scsi/st.c rq->cmd_len = COMMAND_SIZE(cmd[0]); cmd_len 581 drivers/scsi/st.c memcpy(rq->cmd, cmd, rq->cmd_len); cmd_len 1634 drivers/scsi/storvsc_drv.c vm_srb->cdb_length = scmnd->cmd_len; cmd_len 321 drivers/scsi/sym53c8xx_2/sym_glue.c memcpy(cp->cdb_buf, cmd->cmnd, cmd->cmd_len); cmd_len 324 drivers/scsi/sym53c8xx_2/sym_glue.c cp->phys.cmd.size = cpu_to_scr(cmd->cmd_len); cmd_len 2260 drivers/scsi/ufs/ufshcd.c cdb_len = min_t(unsigned short, lrbp->cmd->cmd_len, UFS_CDB_SIZE); cmd_len 562 drivers/scsi/virtio_scsi.c BUG_ON(sc->cmd_len > VIRTIO_SCSI_CDB_SIZE); cmd_len 567 drivers/scsi/virtio_scsi.c memcpy(cmd->req.cmd_pi.cdb, sc->cmnd, sc->cmd_len); cmd_len 573 drivers/scsi/virtio_scsi.c memcpy(cmd->req.cmd.cdb, sc->cmnd, sc->cmd_len); cmd_len 726 drivers/scsi/vmw_pvscsi.c e->cdbLen = cmd->cmd_len; cmd_len 640 drivers/scsi/wd33c93.c write_wd33c93_cdb(regs, cmd->cmd_len, cmd->cmnd); cmd_len 648 drivers/scsi/wd33c93.c write_wd33c93(regs, WD_OWN_ID, cmd->cmd_len); cmd_len 959 drivers/scsi/wd33c93.c transfer_pio(regs, cmd->cmnd, cmd->cmd_len, DATA_OUT_DIR, cmd_len 221 drivers/scsi/wd719x.c memcpy(scb->CDB, cmd->cmnd, cmd->cmd_len); cmd_len 208 drivers/scsi/xen-scsifront.c ring_req->cmd_len = sc->cmd_len; cmd_len 210 drivers/scsi/xen-scsifront.c BUG_ON(sc->cmd_len > VSCSIIF_MAX_COMMAND_SIZE); cmd_len 212 drivers/scsi/xen-scsifront.c memcpy(ring_req->cmnd, sc->cmnd, sc->cmd_len); cmd_len 426 drivers/staging/rtl8712/rtl8712_recv.c u16 cmd_len, drvinfo_sz; cmd_len 437 drivers/staging/rtl8712/rtl8712_recv.c cmd_len = (u16)(le32_to_cpu(voffset) & 0xffff); cmd_len 439 drivers/staging/rtl8712/rtl8712_recv.c poffset += (cmd_len + 8);/*8 bytes alignment*/ cmd_len 305 drivers/staging/rts5208/rtsx_scsi.c what, srb->cmd_len); cmd_len 308 drivers/staging/rts5208/rtsx_scsi.c len = min_t(unsigned short, srb->cmd_len, 16); cmd_len 261 drivers/staging/rts5208/sd.c u8 trans_mode, u8 *cmd, int cmd_len, u16 byte_cnt, cmd_len 279 drivers/staging/rts5208/sd.c if (cmd_len) { cmd_len 281 drivers/staging/rts5208/sd.c for (i = 0; i < (min(cmd_len, 6)); i++) cmd_len 328 drivers/staging/rts5208/sd.c u8 *cmd, int cmd_len, u16 byte_cnt, u16 blk_cnt, cmd_len 353 drivers/staging/rts5208/sd.c if (cmd_len) { cmd_len 355 drivers/staging/rts5208/sd.c for (i = 0; i < (min(cmd_len, 6)); i++) { cmd_len 1111 drivers/target/sbp/sbp_target.c int ret, cmd_len, copy_len; cmd_len 1113 drivers/target/sbp/sbp_target.c cmd_len = scsi_command_size(req->orb.command_block); cmd_len 1115 drivers/target/sbp/sbp_target.c req->cmd_buf = kmalloc(cmd_len, GFP_KERNEL); cmd_len 1120 drivers/target/sbp/sbp_target.c min_t(int, cmd_len, sizeof(req->orb.command_block))); cmd_len 1122 drivers/target/sbp/sbp_target.c if (cmd_len > sizeof(req->orb.command_block)) { cmd_len 1124 drivers/target/sbp/sbp_target.c copy_len = cmd_len - sizeof(req->orb.command_block); cmd_len 994 drivers/target/target_core_pscsi.c scsi_req(req)->cmd_len = scsi_command_size(pt->pscsi_cdb); cmd_len 1099 drivers/usb/gadget/function/f_tcm.c u32 cmd_len; cmd_len 1113 drivers/usb/gadget/function/f_tcm.c cmd_len = (cmd_iu->len & ~0x3) + 16; cmd_len 1114 drivers/usb/gadget/function/f_tcm.c if (cmd_len > USBG_MAX_CMD) cmd_len 1123 drivers/usb/gadget/function/f_tcm.c memcpy(cmd->cmd_buf, cmd_iu->cdb, cmd_len); cmd_len 1206 drivers/usb/gadget/function/f_tcm.c u32 cmd_len; cmd_len 1217 drivers/usb/gadget/function/f_tcm.c cmd_len = cbw->Length; cmd_len 1218 drivers/usb/gadget/function/f_tcm.c if (cmd_len < 1 || cmd_len > 16) cmd_len 1232 drivers/usb/gadget/function/f_tcm.c memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); cmd_len 296 drivers/usb/image/microtek.c MTS_DEBUG( "Command %s (%d bytes)\n", what, srb->cmd_len); cmd_len 595 drivers/usb/image/microtek.c srb->cmd_len, cmd_len 99 drivers/usb/storage/cypress_atacb.c srb->cmd_len = 16; cmd_len 179 drivers/usb/storage/cypress_atacb.c srb->cmd_len = 16; cmd_len 236 drivers/usb/storage/cypress_atacb.c srb->cmd_len = 12; cmd_len 139 drivers/usb/storage/debug.c usb_stor_dbg(us, "Command %s (%d bytes)\n", what, srb->cmd_len); cmd_len 140 drivers/usb/storage/debug.c usb_stor_dbg(us, "bytes: %*ph\n", min_t(int, srb->cmd_len, 16), cmd_len 556 drivers/usb/storage/isd200.c srb->cmd_len = sizeof(ata.generic); cmd_len 617 drivers/usb/storage/isd200.c srb->cmd_len = sizeof(ataCdb->generic); cmd_len 54 drivers/usb/storage/protocol.c for (; srb->cmd_len < 12; srb->cmd_len++) cmd_len 55 drivers/usb/storage/protocol.c srb->cmnd[srb->cmd_len] = 0; cmd_len 72 drivers/usb/storage/protocol.c for (; srb->cmd_len < 12; srb->cmd_len++) cmd_len 73 drivers/usb/storage/protocol.c srb->cmnd[srb->cmd_len] = 0; cmd_len 76 drivers/usb/storage/protocol.c srb->cmd_len = 12; cmd_len 202 drivers/usb/storage/realtek_cr.c u8 *cmd, int cmd_len, u8 *buf, int buf_len, cmd_len 218 drivers/usb/storage/realtek_cr.c bcb->Length = cmd_len; cmd_len 292 drivers/usb/storage/realtek_cr.c u8 *cmd, int cmd_len, u8 *buf, int buf_len, cmd_len 307 drivers/usb/storage/realtek_cr.c bcb->Length = cmd_len; cmd_len 1698 drivers/usb/storage/sddr09.c for (; srb->cmd_len<12; srb->cmd_len++) cmd_len 1699 drivers/usb/storage/sddr09.c srb->cmnd[srb->cmd_len] = 0; cmd_len 1586 drivers/usb/storage/shuttle_usbat.c data[i] = (i-7 >= srb->cmd_len) ? 0 : srb->cmnd[i-7]; cmd_len 712 drivers/usb/storage/transport.c srb->cmd_len = 6; cmd_len 714 drivers/usb/storage/transport.c srb->cmd_len = 12; cmd_len 957 drivers/usb/storage/transport.c memcpy(us->iobuf, srb->cmnd, srb->cmd_len); cmd_len 961 drivers/usb/storage/transport.c us->ifnum, us->iobuf, srb->cmd_len); cmd_len 1129 drivers/usb/storage/transport.c bcb->Length = srb->cmd_len; cmd_len 507 drivers/usb/storage/uas.c len = cmnd->cmd_len - 16; cmd_len 520 drivers/usb/storage/uas.c memcpy(iu->cdb, cmnd->cmnd, cmnd->cmd_len); cmd_len 119 drivers/xen/xen-scsiback.c uint8_t cmd_len; cmd_len 693 drivers/xen/xen-scsiback.c if (ring_req->cmd_len > VSCSIIF_MAX_COMMAND_SIZE) { cmd_len 695 drivers/xen/xen-scsiback.c ring_req->cmd_len); cmd_len 719 drivers/xen/xen-scsiback.c pending_req->cmd_len = ring_req->cmd_len; cmd_len 720 drivers/xen/xen-scsiback.c memcpy(pending_req->cmnd, ring_req->cmnd, pending_req->cmd_len); cmd_len 97 fs/compat_ioctl.c unsigned char cmd_len; /* [i] SCSI command length ( <= 16 bytes) */ cmd_len 255 fs/nfsd/blocklayout.c req->cmd_len = COMMAND_SIZE(INQUIRY); cmd_len 19 include/linux/fsi-sbefifo.h int sbefifo_submit(struct device *dev, const __be32 *command, size_t cmd_len, cmd_len 92 include/scsi/scsi_cmnd.h unsigned short cmd_len; cmd_len 39 include/scsi/scsi_eh.h unsigned char cmd_len; cmd_len 12 include/scsi/scsi_request.h unsigned short cmd_len; cmd_len 48 include/scsi/sg.h unsigned char cmd_len; /* [i] SCSI command length */ cmd_len 212 include/trace/events/scsi.h __field( unsigned int, cmd_len ) cmd_len 216 include/trace/events/scsi.h __dynamic_array(unsigned char, cmnd, cmd->cmd_len) cmd_len 225 include/trace/events/scsi.h __entry->cmd_len = cmd->cmd_len; cmd_len 229 include/trace/events/scsi.h memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); cmd_len 238 include/trace/events/scsi.h __parse_cdb(__get_dynamic_array(cmnd), __entry->cmd_len), cmd_len 239 include/trace/events/scsi.h __print_hex(__get_dynamic_array(cmnd), __entry->cmd_len)) cmd_len 255 include/trace/events/scsi.h __field( unsigned int, cmd_len ) cmd_len 259 include/trace/events/scsi.h __dynamic_array(unsigned char, cmnd, cmd->cmd_len) cmd_len 269 include/trace/events/scsi.h __entry->cmd_len = cmd->cmd_len; cmd_len 273 include/trace/events/scsi.h memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); cmd_len 282 include/trace/events/scsi.h __parse_cdb(__get_dynamic_array(cmnd), __entry->cmd_len), cmd_len 283 include/trace/events/scsi.h __print_hex(__get_dynamic_array(cmnd), __entry->cmd_len), cmd_len 300 include/trace/events/scsi.h __field( unsigned int, cmd_len ) cmd_len 304 include/trace/events/scsi.h __dynamic_array(unsigned char, cmnd, cmd->cmd_len) cmd_len 314 include/trace/events/scsi.h __entry->cmd_len = cmd->cmd_len; cmd_len 318 include/trace/events/scsi.h memcpy(__get_dynamic_array(cmnd), cmd->cmnd, cmd->cmd_len); cmd_len 328 include/trace/events/scsi.h __parse_cdb(__get_dynamic_array(cmnd), __entry->cmd_len), cmd_len 329 include/trace/events/scsi.h __print_hex(__get_dynamic_array(cmnd), __entry->cmd_len), cmd_len 193 include/xen/interface/io/vscsiif.h uint8_t cmd_len; /* valid CDB bytes */ cmd_len 3812 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 3817 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rej)) cmd_len 3980 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, u8 *data) cmd_len 3985 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(struct l2cap_conn_req)) cmd_len 3999 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4008 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rsp)) cmd_len 4111 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4120 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*req)) cmd_len 4141 net/bluetooth/l2cap_core.c len = cmd_len - sizeof(*req); cmd_len 4220 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4226 net/bluetooth/l2cap_core.c int len = cmd_len - sizeof(*rsp); cmd_len 4229 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rsp)) cmd_len 4333 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4341 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*req)) cmd_len 4380 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4387 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*rsp)) cmd_len 4425 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4431 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*req)) cmd_len 4476 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 4482 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rsp)) cmd_len 4540 net/bluetooth/l2cap_core.c u16 cmd_len, void *data) cmd_len 4548 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*req)) cmd_len 4964 net/bluetooth/l2cap_core.c u16 cmd_len, void *data) cmd_len 4972 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*req)) cmd_len 5181 net/bluetooth/l2cap_core.c u16 cmd_len, void *data) cmd_len 5186 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*rsp)) cmd_len 5204 net/bluetooth/l2cap_core.c u16 cmd_len, void *data) cmd_len 5210 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*cfm)) cmd_len 5246 net/bluetooth/l2cap_core.c u16 cmd_len, void *data) cmd_len 5252 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*rsp)) cmd_len 5281 net/bluetooth/l2cap_core.c u16 cmd_len, u8 *data) cmd_len 5292 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(struct l2cap_conn_param_update_req)) cmd_len 5330 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5339 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rsp)) cmd_len 5417 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5424 net/bluetooth/l2cap_core.c l2cap_command_rej(conn, cmd, cmd_len, data); cmd_len 5428 net/bluetooth/l2cap_core.c err = l2cap_connect_req(conn, cmd, cmd_len, data); cmd_len 5433 net/bluetooth/l2cap_core.c l2cap_connect_create_rsp(conn, cmd, cmd_len, data); cmd_len 5437 net/bluetooth/l2cap_core.c err = l2cap_config_req(conn, cmd, cmd_len, data); cmd_len 5441 net/bluetooth/l2cap_core.c l2cap_config_rsp(conn, cmd, cmd_len, data); cmd_len 5445 net/bluetooth/l2cap_core.c err = l2cap_disconnect_req(conn, cmd, cmd_len, data); cmd_len 5449 net/bluetooth/l2cap_core.c l2cap_disconnect_rsp(conn, cmd, cmd_len, data); cmd_len 5453 net/bluetooth/l2cap_core.c l2cap_send_cmd(conn, cmd->ident, L2CAP_ECHO_RSP, cmd_len, data); cmd_len 5460 net/bluetooth/l2cap_core.c err = l2cap_information_req(conn, cmd, cmd_len, data); cmd_len 5464 net/bluetooth/l2cap_core.c l2cap_information_rsp(conn, cmd, cmd_len, data); cmd_len 5468 net/bluetooth/l2cap_core.c err = l2cap_create_channel_req(conn, cmd, cmd_len, data); cmd_len 5472 net/bluetooth/l2cap_core.c err = l2cap_move_channel_req(conn, cmd, cmd_len, data); cmd_len 5476 net/bluetooth/l2cap_core.c l2cap_move_channel_rsp(conn, cmd, cmd_len, data); cmd_len 5480 net/bluetooth/l2cap_core.c err = l2cap_move_channel_confirm(conn, cmd, cmd_len, data); cmd_len 5484 net/bluetooth/l2cap_core.c l2cap_move_channel_confirm_rsp(conn, cmd, cmd_len, data); cmd_len 5497 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5507 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*req)) cmd_len 5623 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5630 net/bluetooth/l2cap_core.c if (cmd_len != sizeof(*pkt)) cmd_len 5669 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5675 net/bluetooth/l2cap_core.c if (cmd_len < sizeof(*rej)) cmd_len 5694 net/bluetooth/l2cap_core.c struct l2cap_cmd_hdr *cmd, u16 cmd_len, cmd_len 5701 net/bluetooth/l2cap_core.c l2cap_le_command_rej(conn, cmd, cmd_len, data); cmd_len 5705 net/bluetooth/l2cap_core.c err = l2cap_conn_param_update_req(conn, cmd, cmd_len, data); cmd_len 5712 net/bluetooth/l2cap_core.c l2cap_le_connect_rsp(conn, cmd, cmd_len, data); cmd_len 5716 net/bluetooth/l2cap_core.c err = l2cap_le_connect_req(conn, cmd, cmd_len, data); cmd_len 5720 net/bluetooth/l2cap_core.c err = l2cap_le_credits(conn, cmd, cmd_len, data); cmd_len 5724 net/bluetooth/l2cap_core.c err = l2cap_disconnect_req(conn, cmd, cmd_len, data); cmd_len 5728 net/bluetooth/l2cap_core.c l2cap_disconnect_rsp(conn, cmd, cmd_len, data); cmd_len 5796 net/bluetooth/l2cap_core.c u16 cmd_len; cmd_len 5801 net/bluetooth/l2cap_core.c cmd_len = le16_to_cpu(cmd.len); cmd_len 5803 net/bluetooth/l2cap_core.c BT_DBG("code 0x%2.2x len %d id 0x%2.2x", cmd.code, cmd_len, cmd_len 5806 net/bluetooth/l2cap_core.c if (cmd_len > len || !cmd.ident) { cmd_len 5811 net/bluetooth/l2cap_core.c err = l2cap_bredr_sig_cmd(conn, &cmd, cmd_len, data); cmd_len 5822 net/bluetooth/l2cap_core.c data += cmd_len; cmd_len 5823 net/bluetooth/l2cap_core.c len -= cmd_len; cmd_len 213 sound/pci/lx6464es/lx_core.c rmh->cmd_len = dsp_commands[cmd].dcCmdLength; cmd_len 236 sound/pci/lx6464es/lx_core.c for (i = 0; i != rmh->cmd_len; ++i) cmd_len 267 sound/pci/lx6464es/lx_core.c lx_dsp_reg_writebuf(chip, eReg_CRM1, rmh->cmd, rmh->cmd_len); cmd_len 762 sound/pci/lx6464es/lx_core.c chip->rmh.cmd_len = 4; cmd_len 87 sound/pci/lx6464es/lx_core.h u16 cmd_len; /* length of the command to send (WORDs) */ cmd_len 271 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; cmd_len 332 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; cmd_len 341 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; cmd_len 362 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; cmd_len 404 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; cmd_len 444 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; cmd_len 604 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 2; cmd_len 611 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 3; cmd_len 614 sound/pci/pcxhr/pcxhr.c rmh.cmd[rmh.cmd_len++] = header >> 8; cmd_len 615 sound/pci/pcxhr/pcxhr.c rmh.cmd[rmh.cmd_len++] = (header & 0xff) << 16; cmd_len 653 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 4; cmd_len 1289 sound/pci/pcxhr/pcxhr.c rmh.cmd_len = 1; cmd_len 602 sound/pci/pcxhr/pcxhr_core.c if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD)) cmd_len 627 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_len > 1) cmd_len 645 sound/pci/pcxhr/pcxhr_core.c if (rmh->cmd_len > 1) { cmd_len 647 sound/pci/pcxhr/pcxhr_core.c data = rmh->cmd_len - 1; cmd_len 658 sound/pci/pcxhr/pcxhr_core.c for (i=1; i < rmh->cmd_len; i++) { cmd_len 722 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_len = 1; cmd_len 745 sound/pci/pcxhr/pcxhr_core.c rmh->cmd_len = 2; cmd_len 979 sound/pci/pcxhr/pcxhr_core.c rmh.cmd_len = 3; cmd_len 35 sound/pci/pcxhr/pcxhr_core.h u16 cmd_len; /* length of the command to send (WORDs) */ cmd_len 71 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; cmd_len 96 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; cmd_len 115 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd_len = 2; cmd_len 182 sound/pci/pcxhr/pcxhr_hwdep.c rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; cmd_len 59 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; cmd_len 271 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 4; cmd_len 322 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; cmd_len 610 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 2; cmd_len 620 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; cmd_len 892 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 3; cmd_len 969 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd_len = 2;