Home
last modified time | relevance | path

Searched refs:uioc (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/scsi/
Dmegaraid.c2963 nitioctl_t uioc; in megadev_ioctl() local
2995 memset(&uioc, 0, sizeof(nitioctl_t)); in megadev_ioctl()
2996 if( (rval = mega_m_to_n( (void __user *)arg, &uioc)) != 0 ) in megadev_ioctl()
3000 switch( uioc.opcode ) { in megadev_ioctl()
3003 if( put_user(driver_ver, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3009 if( put_user(hba_count, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3024 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3027 if( copy_to_user(uioc.uioc_uaddr, mcontroller+adapno, in megadev_ioctl()
3038 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3043 ustats = uioc.uioc_uaddr; in megadev_ioctl()
[all …]
Dmegaraid.h596 #define MBOX(uioc) ((megacmd_t *)&((uioc).__ua.__raw_mbox[0])) argument
597 #define MBOX_P(uioc) ((megacmd_t __user *)&((uioc)->__ua.__raw_mbox[0])) argument
/linux-5.19.10/drivers/scsi/megaraid/
Dmegaraid_ioctl.h114 typedef struct uioc { struct
142 void (*done)(struct uioc*); argument
156 uioc_t *uioc; member
Dmegaraid_mbox.c3818 megaraid_sysfs_get_ldmap_done(uioc_t *uioc) in megaraid_sysfs_get_ldmap_done() argument
3820 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_done()
3823 uioc->status = 0; in megaraid_sysfs_get_ldmap_done()
3840 uioc_t *uioc = timeout->uioc; in megaraid_sysfs_get_ldmap_timeout() local
3841 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_timeout()
3844 uioc->status = -ETIME; in megaraid_sysfs_get_ldmap_timeout()
3871 uioc_t *uioc; in megaraid_sysfs_get_ldmap() local
3884 uioc = raid_dev->sysfs_uioc; in megaraid_sysfs_get_ldmap()
3888 memset(uioc, 0, sizeof(uioc_t)); in megaraid_sysfs_get_ldmap()
3894 uioc->cmdbuf = (uint64_t)(unsigned long)mbox64; in megaraid_sysfs_get_ldmap()
[all …]
Dmegaraid_mm.c692 timeout.uioc = kioc; in lld_ioctl()
787 uioc_t *kioc = timeout->uioc; in lld_timedout()
/linux-5.19.10/Documentation/scsi/
DChangeLog.megaraid109 > The uioc structure used by ioctl is defined by packed,