Lines Matching defs:sg_request
135 typedef struct sg_request { /* SG_MAX_QUEUE requests outstanding per file */ struct
136 struct sg_request *nextrp; /* NULL -> tail request (slist) */ argument
137 struct sg_fd *parentfp; /* NULL -> not in use */
138 Sg_scatter_hold data; /* hold buffer, perhaps scatter list */
139 sg_io_hdr_t header; /* scsi command+info, see <scsi/sg.h> */
140 unsigned char sense_b[SCSI_SENSE_BUFFERSIZE];
141 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */
142 char orphan; /* 1 -> drop on sight, 0 -> normal */
143 char sg_io_owned; /* 1 -> packet belongs to SG_IO */
145 char done; /* 0->before bh, 1->before read, 2->read */
146 struct request *rq;
147 struct bio *bio;
148 struct execute_work ew;