Searched refs:iocommand (Results 1 – 1 of 1) sorted by relevance
966 IOCTL_Command_struct iocommand; in cciss_ioctl() local980 if (copy_from_user(&iocommand, (void *) arg, sizeof( IOCTL_Command_struct) )) in cciss_ioctl()982 if ((iocommand.buf_size < 1) && in cciss_ioctl()983 (iocommand.Request.Type.Direction in cciss_ioctl()988 if (iocommand.buf_size > 128000) in cciss_ioctl()990 if (iocommand.buf_size > 0) { in cciss_ioctl()991 buff = kmalloc(iocommand.buf_size, GFP_KERNEL); in cciss_ioctl()995 if (iocommand.Request.Type.Direction == XFER_WRITE) { in cciss_ioctl()997 if (copy_from_user(buff, iocommand.buf, iocommand.buf_size)) in cciss_ioctl()1004 memset(buff, 0, iocommand.buf_size); in cciss_ioctl()[all …]