Lines Matching refs:cdb
1095 unsigned char *cdb = cmd->t_task_cdb; in passthrough_parse_cdb() local
1103 if (cdb[0] == REPORT_LUNS) { in passthrough_parse_cdb()
1113 ((cdb[0] == PERSISTENT_RESERVE_IN) || in passthrough_parse_cdb()
1114 (cdb[0] == PERSISTENT_RESERVE_OUT) || in passthrough_parse_cdb()
1115 (cdb[0] == RELEASE || cdb[0] == RELEASE_10) || in passthrough_parse_cdb()
1116 (cdb[0] == RESERVE || cdb[0] == RESERVE_10))) { in passthrough_parse_cdb()
1127 if (cdb[0] == PERSISTENT_RESERVE_IN) { in passthrough_parse_cdb()
1129 size = get_unaligned_be16(&cdb[7]); in passthrough_parse_cdb()
1132 if (cdb[0] == PERSISTENT_RESERVE_OUT) { in passthrough_parse_cdb()
1134 size = get_unaligned_be32(&cdb[5]); in passthrough_parse_cdb()
1138 if (cdb[0] == RELEASE || cdb[0] == RELEASE_10) { in passthrough_parse_cdb()
1140 if (cdb[0] == RELEASE_10) in passthrough_parse_cdb()
1141 size = get_unaligned_be16(&cdb[7]); in passthrough_parse_cdb()
1146 if (cdb[0] == RESERVE || cdb[0] == RESERVE_10) { in passthrough_parse_cdb()
1148 if (cdb[0] == RESERVE_10) in passthrough_parse_cdb()
1149 size = get_unaligned_be16(&cdb[7]); in passthrough_parse_cdb()
1157 switch (cdb[0]) { in passthrough_parse_cdb()
1174 switch (get_unaligned_be16(&cdb[8])) { in passthrough_parse_cdb()