Searched refs:iocommand (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 5989 IOCTL_Command_struct iocommand; in pqi_passthru_ioctl() local 6000 if (copy_from_user(&iocommand, arg, sizeof(iocommand))) in pqi_passthru_ioctl() 6002 if (iocommand.buf_size < 1 && in pqi_passthru_ioctl() 6003 iocommand.Request.Type.Direction != XFER_NONE) in pqi_passthru_ioctl() 6005 if (iocommand.Request.CDBLen > sizeof(request.cdb)) in pqi_passthru_ioctl() 6007 if (iocommand.Request.Type.Type != TYPE_CMD) in pqi_passthru_ioctl() 6010 switch (iocommand.Request.Type.Direction) { in pqi_passthru_ioctl() 6020 if (iocommand.buf_size > 0) { in pqi_passthru_ioctl() 6021 kernel_buffer = kmalloc(iocommand in pqi_passthru_ioctl() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 6715 IOCTL_Command_struct iocommand; in pqi_passthru_ioctl() local 6728 if (copy_from_user(&iocommand, arg, sizeof(iocommand))) in pqi_passthru_ioctl() 6730 if (iocommand.buf_size < 1 && in pqi_passthru_ioctl() 6731 iocommand.Request.Type.Direction != XFER_NONE) in pqi_passthru_ioctl() 6733 if (iocommand.Request.CDBLen > sizeof(request.cdb)) in pqi_passthru_ioctl() 6735 if (iocommand.Request.Type.Type != TYPE_CMD) in pqi_passthru_ioctl() 6738 switch (iocommand.Request.Type.Direction) { in pqi_passthru_ioctl() 6748 if (iocommand.buf_size > 0) { in pqi_passthru_ioctl() 6749 kernel_buffer = kmalloc(iocommand in pqi_passthru_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hpsa.c | 259 IOCTL_Command_struct *iocommand); 6374 IOCTL_Command_struct *iocommand) in hpsa_passthru_ioctl() 6383 if ((iocommand->buf_size < 1) && in hpsa_passthru_ioctl() 6384 (iocommand->Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl() 6387 if (iocommand->buf_size > 0) { in hpsa_passthru_ioctl() 6388 buff = kmalloc(iocommand->buf_size, GFP_KERNEL); in hpsa_passthru_ioctl() 6391 if (iocommand->Request.Type.Direction & XFER_WRITE) { in hpsa_passthru_ioctl() 6393 if (copy_from_user(buff, iocommand->buf, in hpsa_passthru_ioctl() 6394 iocommand->buf_size)) { in hpsa_passthru_ioctl() 6399 memset(buff, 0, iocommand in hpsa_passthru_ioctl() 6373 hpsa_passthru_ioctl(struct ctlr_info *h, IOCTL_Command_struct *iocommand) hpsa_passthru_ioctl() argument 6616 IOCTL_Command_struct iocommand; hpsa_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hpsa.c | 258 IOCTL_Command_struct *iocommand); 6402 IOCTL_Command_struct *iocommand) in hpsa_passthru_ioctl() 6411 if ((iocommand->buf_size < 1) && in hpsa_passthru_ioctl() 6412 (iocommand->Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl() 6415 if (iocommand->buf_size > 0) { in hpsa_passthru_ioctl() 6416 buff = kmalloc(iocommand->buf_size, GFP_KERNEL); in hpsa_passthru_ioctl() 6419 if (iocommand->Request.Type.Direction & XFER_WRITE) { in hpsa_passthru_ioctl() 6421 if (copy_from_user(buff, iocommand->buf, in hpsa_passthru_ioctl() 6422 iocommand->buf_size)) { in hpsa_passthru_ioctl() 6427 memset(buff, 0, iocommand in hpsa_passthru_ioctl() 6401 hpsa_passthru_ioctl(struct ctlr_info *h, IOCTL_Command_struct *iocommand) hpsa_passthru_ioctl() argument 6644 IOCTL_Command_struct iocommand; hpsa_ioctl() local [all...] |
Completed in 38 milliseconds