Home
last modified time | relevance | path

Searched defs:sg_header (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/include/scsi/
Dsg.h286 struct sg_header struct
289 int reply_len; /* [i] max length of expected reply (inc. sg_header) */ argument
290 int pack_id; /* [io] id number of packet (use ints >= 0) */
291 int result; /* [o] 0==ok, else (+ve) Unix errno (best ignored) */
292 unsigned int twelve_byte:1;
294 unsigned int target_status:5; /* [o] scsi status from target */
295 unsigned int host_status:8; /* [o] host status (see "DID" codes) */
296 unsigned int driver_status:8; /* [o] driver status+suggestion */
297 unsigned int other_flags:10; /* unused */
298 unsigned char sense_buffer[SG_MAX_SENSE]; /* [o] Output in 3 cases: