Home
last modified time | relevance | path

Searched refs:top3bits (Results 1 – 1 of 1) sorted by relevance

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c2513 uint8_t top3bits; in sg_is_scsi_cdb() local
2518 top3bits = opcode >> 5; in sg_is_scsi_cdb()
2519 if (0x3 == top3bits) { in sg_is_scsi_cdb()
2537 if (top3bits > 0x5) /* vendor */ in sg_is_scsi_cdb()
2539 return (0x0 == top3bits); /* 6 byte cdb */ in sg_is_scsi_cdb()
2541 if (top3bits > 0x5) /* vendor */ in sg_is_scsi_cdb()
2543 return ((0x1 == top3bits) || (0x2 == top3bits)); /* 10 byte cdb */ in sg_is_scsi_cdb()
2545 if (top3bits > 0x5) /* vendor */ in sg_is_scsi_cdb()
2547 return (0x4 == top3bits); /* 16 byte cdb */ in sg_is_scsi_cdb()
2549 if (top3bits > 0x5) /* vendor */ in sg_is_scsi_cdb()
[all …]