Searched refs:iocommand (Results 1 – 1 of 1) sorted by relevance
258 IOCTL_Command_struct *iocommand);6389 IOCTL_Command_struct *iocommand) in hpsa_passthru_ioctl() argument6398 if ((iocommand->buf_size < 1) && in hpsa_passthru_ioctl()6399 (iocommand->Request.Type.Direction != XFER_NONE)) { in hpsa_passthru_ioctl()6402 if (iocommand->buf_size > 0) { in hpsa_passthru_ioctl()6403 if (iocommand->Request.Type.Direction & XFER_WRITE) { in hpsa_passthru_ioctl()6404 buff = memdup_user(iocommand->buf, iocommand->buf_size); in hpsa_passthru_ioctl()6408 buff = kzalloc(iocommand->buf_size, GFP_KERNEL); in hpsa_passthru_ioctl()6420 if (iocommand->buf_size > 0) { /* buffer to fill */ in hpsa_passthru_ioctl()6427 memcpy(&c->Header.LUN, &iocommand->LUN_info, sizeof(c->Header.LUN)); in hpsa_passthru_ioctl()[all …]