Searched refs:uioc (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/drivers/scsi/ |
D | megaraid2.c | 4212 nitioctl_t uioc; in megadev_ioctl() local 4244 memset(&uioc, 0, sizeof(nitioctl_t)); in megadev_ioctl() 4245 if( (rval = mega_m_to_n( (void *)arg, &uioc)) != 0 ) in megadev_ioctl() 4249 switch( uioc.opcode ) { in megadev_ioctl() 4252 if( put_user(driver_ver, (u32 *)uioc.u_dataaddr) ) in megadev_ioctl() 4258 if( put_user(hba_count, (u32 *)uioc.u_dataaddr) ) in megadev_ioctl() 4273 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl() 4276 if( copy_to_user(uioc.u_dataaddr, mcontroller+adapno, in megadev_ioctl() 4287 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl() 4292 ustats = (megastat_t *)uioc.u_dataaddr; in megadev_ioctl() [all …]
|
D | megaraid2.h | 716 #define RMBOX(uioc) ((u8 *)&(uioc).u_mbox) argument 717 #define MBOX(uioc) ((megacmd_t *)&(uioc).u_mbox) argument 718 #define MBOX_P(uioc) ((megacmd_t *)&(uioc)->u_mbox) argument
|
D | megaraid.c | 4794 struct uioctl_t *uioc; local 5002 uioc = (struct uioctl_t *)arg; 5005 put_user( scsicmd->result, &uioc->pthru.scsistatus ); 5006 if (copy_to_user( uioc->pthru.reqsensearea, scsicmd->sense_buffer, 5010 put_user(1, &uioc->mbox[16]); /* numstatus */ 5012 put_user (scsicmd->result, &uioc->mbox[17]); 5080 uioc = (struct uioctl_t *)arg; 5084 put_user(1, &uioc->mbox[16]); /* numstatus */ 5085 put_user(ret, &uioc->mbox[17]); /* status */ 5167 uioc = (struct uioctl_t *) arg; [all …]
|