Searched refs:iocommand (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/sys/dev/smartpqi/
H A Dsmartpqi_ioctl.c240 IOCTL_Command_struct *iocommand = (IOCTL_Command_struct *)arg; local
259 if (iocommand->buf_size < 1 &&
260 iocommand->Request.Type.Direction != PQIIOCTL_NONE)
262 if (iocommand->Request.CDBLen > sizeof(request.cmd.cdb))
265 switch (iocommand->Request.Type.Direction) {
275 if (iocommand->buf_size > 0) {
278 ioctl_dma_buf.size = iocommand->buf_size;
291 if (iocommand->Request.Type.Direction & PQIIOCTL_WRITE) {
292 ret = os_copy_from_user(softs, (void *)drv_buf, (void *)iocommand->buf, iocommand
[all...]

Completed in 104 milliseconds