Searched refs:sgio (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | compat_ioctl.c | 697 static int sg_build_iovec(sg_io_hdr_t __user *sgio, void __user *dxferp, u16 iovec_count) in sg_build_iovec() argument 699 sg_iovec_t __user *iov = (sg_iovec_t __user *) (sgio + 1); in sg_build_iovec() 713 if (put_user(iov, &sgio->dxferp)) in sg_build_iovec() 720 sg_io_hdr_t __user *sgio; in sg_ioctl_trans() local 738 sgio = new; in sg_ioctl_trans() 742 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans() 753 if (sg_build_iovec(sgio, dxferp, iovec_count)) in sg_ioctl_trans() 756 if (put_user(dxferp, &sgio->dxferp)) in sg_ioctl_trans() 772 if (put_user(cmdp, &sgio->cmdp) || in sg_ioctl_trans() 773 put_user(sbp, &sgio->sbp)) in sg_ioctl_trans() [all …]
|