mimd              246 drivers/scsi/megaraid/megaraid_mm.c 	mimd_t		mimd;
mimd              251 drivers/scsi/megaraid/megaraid_mm.c 	if (copy_from_user(&mimd, umimd, sizeof(mimd_t))) {
mimd              256 drivers/scsi/megaraid/megaraid_mm.c 	adapno = GETADAP(mimd.ui.fcs.adapno);
mimd              366 drivers/scsi/megaraid/megaraid_mm.c 	mimd_t			mimd;
mimd              368 drivers/scsi/megaraid/megaraid_mm.c 	if (copy_from_user(&mimd, umimd, sizeof(mimd_t)))
mimd              374 drivers/scsi/megaraid/megaraid_mm.c 	if ((mimd.mbox[0] == MBOXCMD_PASSTHRU64) ||
mimd              375 drivers/scsi/megaraid/megaraid_mm.c 			(mimd.mbox[0] == MBOXCMD_EXTPTHRU))
mimd              378 drivers/scsi/megaraid/megaraid_mm.c 	opcode		= mimd.ui.fcs.opcode;
mimd              379 drivers/scsi/megaraid/megaraid_mm.c 	subopcode	= mimd.ui.fcs.subopcode;
mimd              380 drivers/scsi/megaraid/megaraid_mm.c 	adapno		= GETADAP(mimd.ui.fcs.adapno);
mimd              413 drivers/scsi/megaraid/megaraid_mm.c 		kioc->xferlen		= mimd.ui.fcs.length;
mimd              415 drivers/scsi/megaraid/megaraid_mm.c 		kioc->user_data		= mimd.ui.fcs.buffer;
mimd              420 drivers/scsi/megaraid/megaraid_mm.c 		if (mimd.outlen) kioc->data_dir  = UIOC_RD;
mimd              421 drivers/scsi/megaraid/megaraid_mm.c 		if (mimd.inlen) kioc->data_dir |= UIOC_WR;
mimd              428 drivers/scsi/megaraid/megaraid_mm.c 		kioc->xferlen		= (mimd.outlen > mimd.inlen) ?
mimd              429 drivers/scsi/megaraid/megaraid_mm.c 						mimd.outlen : mimd.inlen;
mimd              431 drivers/scsi/megaraid/megaraid_mm.c 		kioc->user_data		= mimd.data;
mimd              436 drivers/scsi/megaraid/megaraid_mm.c 		if (mimd.outlen) kioc->data_dir  = UIOC_RD;
mimd              437 drivers/scsi/megaraid/megaraid_mm.c 		if (mimd.inlen) kioc->data_dir |= UIOC_WR;
mimd              456 drivers/scsi/megaraid/megaraid_mm.c 	memcpy(mbox, mimd.mbox, 14);
mimd              803 drivers/scsi/megaraid/megaraid_mm.c kioc_to_mimd(uioc_t *kioc, mimd_t __user *mimd)
mimd              816 drivers/scsi/megaraid/megaraid_mm.c 	if (copy_from_user(&kmimd, mimd, sizeof(mimd_t)))
mimd              865 drivers/scsi/megaraid/megaraid_mm.c 	if (copy_to_user(&mimd->mbox[17],