Lines Matching refs:sgio32
721 sg_io_hdr32_t __user *sgio32; in sg_ioctl_trans() local
727 sgio32 = compat_ptr(arg); in sg_ioctl_trans()
728 if (get_user(iovec_count, &sgio32->iovec_count)) in sg_ioctl_trans()
742 if (copy_in_user(&sgio->interface_id, &sgio32->interface_id, in sg_ioctl_trans()
749 if (get_user(data, &sgio32->dxferp)) in sg_ioctl_trans()
764 if (get_user(data, &sgio32->cmdp)) in sg_ioctl_trans()
768 if (get_user(data, &sgio32->sbp)) in sg_ioctl_trans()
777 if (copy_in_user(&sgio->timeout, &sgio32->timeout, in sg_ioctl_trans()
781 if (get_user(data, &sgio32->usr_ptr)) in sg_ioctl_trans()
786 if (copy_in_user(&sgio->status, &sgio32->status, in sg_ioctl_trans()
797 if (copy_in_user(&sgio32->pack_id, &sgio->pack_id, in sg_ioctl_trans()
801 &sgio32->usr_ptr) || in sg_ioctl_trans()
802 copy_in_user(&sgio32->status, &sgio->status, in sg_ioctl_trans()