Searched refs:sgio (Results 1 – 1 of 1) sorted by relevance
/fs/ |
D | compat_ioctl.c | 259 static int sg_build_iovec(sg_io_hdr_t __user *sgio, void __user *dxferp, u16 iovec_count) in sg_build_iovec() argument 261 sg_iovec_t __user *iov = (sg_iovec_t __user *) (sgio + 1); in sg_build_iovec() 275 if (put_user(iov, &sgio->dxferp)) in sg_build_iovec() 283 sg_io_hdr_t __user *sgio; in sg_ioctl_trans() local 305 sgio = new; in sg_ioctl_trans() 309 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans() 320 if (sg_build_iovec(sgio, dxferp, iovec_count)) in sg_ioctl_trans() 323 if (put_user(dxferp, &sgio->dxferp)) in sg_ioctl_trans() 339 if (put_user(cmdp, &sgio->cmdp) || in sg_ioctl_trans() 340 put_user(sbp, &sgio->sbp)) in sg_ioctl_trans() [all …]
|