Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dmegaraid.c2985 nitioctl_t uioc; in megadev_ioctl() local
3018 memset(&uioc, 0, sizeof(nitioctl_t)); in megadev_ioctl()
3019 if( (rval = mega_m_to_n( (void __user *)arg, &uioc)) != 0 ) in megadev_ioctl()
3023 switch( uioc.opcode ) { in megadev_ioctl()
3026 if( put_user(driver_ver, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3032 if( put_user(hba_count, (u32 __user *)uioc.uioc_uaddr) ) in megadev_ioctl()
3047 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3050 if( copy_to_user(uioc.uioc_uaddr, mcontroller+adapno, in megadev_ioctl()
3061 if( (adapno = GETADAP(uioc.adapno)) >= hba_count ) in megadev_ioctl()
3066 ustats = uioc.uioc_uaddr; in megadev_ioctl()
[all …]
Dmegaraid.h595 #define MBOX(uioc) ((megacmd_t *)&((uioc).__ua.__raw_mbox[0])) argument
596 #define MBOX_P(uioc) ((megacmd_t __user *)&((uioc)->__ua.__raw_mbox[0])) argument
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_ioctl.h118 typedef struct uioc { struct
146 void (*done)(struct uioc*); argument
160 uioc_t *uioc; member
Dmegaraid_mbox.c3897 megaraid_sysfs_get_ldmap_done(uioc_t *uioc) in megaraid_sysfs_get_ldmap_done() argument
3899 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_done()
3902 uioc->status = 0; in megaraid_sysfs_get_ldmap_done()
3919 uioc_t *uioc = timeout->uioc; in megaraid_sysfs_get_ldmap_timeout() local
3920 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_timeout()
3923 uioc->status = -ETIME; in megaraid_sysfs_get_ldmap_timeout()
3950 uioc_t *uioc; in megaraid_sysfs_get_ldmap() local
3963 uioc = raid_dev->sysfs_uioc; in megaraid_sysfs_get_ldmap()
3967 memset(uioc, 0, sizeof(uioc_t)); in megaraid_sysfs_get_ldmap()
3973 uioc->cmdbuf = (uint64_t)(unsigned long)mbox64; in megaraid_sysfs_get_ldmap()
[all …]
Dmegaraid_mm.c700 timeout.uioc = kioc; in lld_ioctl()
790 uioc_t *kioc = timeout->uioc; in lld_timedout()
/Linux-v4.19/Documentation/scsi/
DChangeLog.megaraid109 > The uioc structure used by ioctl is defined by packed,