sg_io_hdr
struct sg_io_hdr *hdr, bool open_for_write)
static int scsi_complete_sghdr_rq(struct request *rq, struct sg_io_hdr *hdr,
static int sg_io(struct scsi_device *sdev, struct sg_io_hdr *hdr,
int put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp)
int get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp)
*hdr = (struct sg_io_hdr) {
struct sg_io_hdr hdr;
struct sg_io_hdr hdr;
if (count >= sizeof(struct sg_io_hdr)) {
struct sg_io_hdr __user *hp = buf;
struct sg_io_hdr;
struct sg_io_hdr;
int get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp);
int put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp);
typedef struct sg_io_hdr Sg_io_hdr;