Searched refs:sgio (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | compat_ioctl.c | 125 static int sg_build_iovec(sg_io_hdr_t __user *sgio, void __user *dxferp, u16 iovec_count) in sg_build_iovec() argument 127 sg_iovec_t __user *iov = (sg_iovec_t __user *) (sgio + 1); in sg_build_iovec() 141 if (put_user(iov, &sgio->dxferp)) in sg_build_iovec() 149 sg_io_hdr_t __user *sgio; in sg_ioctl_trans() local 171 sgio = new; in sg_ioctl_trans() 175 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans() 186 if (sg_build_iovec(sgio, dxferp, iovec_count)) in sg_ioctl_trans() 189 if (put_user(dxferp, &sgio->dxferp)) in sg_ioctl_trans() 205 if (put_user(cmdp, &sgio->cmdp) || in sg_ioctl_trans() 206 put_user(sbp, &sgio->sbp)) in sg_ioctl_trans() [all …]
|