Lines Matching refs:cmd_len
72 * of sg_io_hdr::cmd_len can only represent 255. All SCSI commands greater
493 ((srp->data.cmd_opcode >= 0xc0) && (12 == hp->cmd_len)) ? 1 : 0;
666 hp->cmd_len = (unsigned char) cmd_size;
755 if ((!hp->cmdp) || (hp->cmd_len < 6) || (hp->cmd_len > sizeof (cmnd))) {
759 if (copy_from_user(cmnd, hp->cmdp, hp->cmd_len)) {
793 (int) cmnd[0], (int) hp->cmd_len));
1737 if (hp->cmd_len > BLK_MAX_CDB) {
1738 long_cmdp = kzalloc(hp->cmd_len, GFP_KERNEL);
1762 if (hp->cmd_len > BLK_MAX_CDB)
1764 memcpy(req->cmd, cmd, hp->cmd_len);
1765 req->cmd_len = hp->cmd_len;