Searched defs:sg_header (Results 1 – 2 of 2) sorted by relevance
253 struct sg_header struct256 int reply_len; /* [i] max length of expected reply (inc. sg_header) */ argument257 int pack_id; /* [io] id number of packet (use ints >= 0) */258 int result; /* [o] 0==ok, else (+ve) Unix errno (best ignored) */259 unsigned int twelve_byte:1;261 unsigned int target_status:5; /* [o] scsi status from target */262 unsigned int host_status:8; /* [o] host status (see "DID" codes) */263 unsigned int driver_status:8; /* [o] driver status+suggestion */264 unsigned int other_flags:10; /* unused */265 unsigned char sense_buffer[SG_MAX_SENSE]; /* [o] Output in 3 cases:
282 struct sg_header struct285 int reply_len; /* [i] max length of expected reply (inc. sg_header) */ argument286 int pack_id; /* [io] id number of packet (use ints >= 0) */287 int result; /* [o] 0==ok, else (+ve) Unix errno (best ignored) */288 unsigned int twelve_byte:1;290 unsigned int target_status:5; /* [o] scsi status from target */291 unsigned int host_status:8; /* [o] host status (see "DID" codes) */292 unsigned int driver_status:8; /* [o] driver status+suggestion */293 unsigned int other_flags:10; /* unused */294 unsigned char sense_buffer[SG_MAX_SENSE]; /* [o] Output in 3 cases: