Lines Matching refs:hdr32
618 struct compat_sg_io_hdr hdr32 = { in put_sg_io_hdr() local
643 if (copy_to_user(argp, &hdr32, sizeof(hdr32))) in put_sg_io_hdr()
660 struct compat_sg_io_hdr hdr32; in get_sg_io_hdr() local
663 if (copy_from_user(&hdr32, argp, sizeof(hdr32))) in get_sg_io_hdr()
667 .interface_id = hdr32.interface_id, in get_sg_io_hdr()
668 .dxfer_direction = hdr32.dxfer_direction, in get_sg_io_hdr()
669 .cmd_len = hdr32.cmd_len, in get_sg_io_hdr()
670 .mx_sb_len = hdr32.mx_sb_len, in get_sg_io_hdr()
671 .iovec_count = hdr32.iovec_count, in get_sg_io_hdr()
672 .dxfer_len = hdr32.dxfer_len, in get_sg_io_hdr()
673 .dxferp = compat_ptr(hdr32.dxferp), in get_sg_io_hdr()
674 .cmdp = compat_ptr(hdr32.cmdp), in get_sg_io_hdr()
675 .sbp = compat_ptr(hdr32.sbp), in get_sg_io_hdr()
676 .timeout = hdr32.timeout, in get_sg_io_hdr()
677 .flags = hdr32.flags, in get_sg_io_hdr()
678 .pack_id = hdr32.pack_id, in get_sg_io_hdr()
679 .usr_ptr = compat_ptr(hdr32.usr_ptr), in get_sg_io_hdr()
680 .status = hdr32.status, in get_sg_io_hdr()
681 .masked_status = hdr32.masked_status, in get_sg_io_hdr()
682 .msg_status = hdr32.msg_status, in get_sg_io_hdr()
683 .sb_len_wr = hdr32.sb_len_wr, in get_sg_io_hdr()
684 .host_status = hdr32.host_status, in get_sg_io_hdr()
685 .driver_status = hdr32.driver_status, in get_sg_io_hdr()
686 .resid = hdr32.resid, in get_sg_io_hdr()
687 .duration = hdr32.duration, in get_sg_io_hdr()
688 .info = hdr32.info, in get_sg_io_hdr()