Lines Matching refs:tmpstr
101 cmd_action_str(pqi_cmd_action_t action, char *tmpstr, int tmplen) in cmd_action_str() argument
117 (void) mdb_snprintf(tmpstr, tmplen, "BAD ACTION <0x%x>", in cmd_action_str()
119 return (tmpstr); in cmd_action_str()
133 mdb_cdb_to_str(uint8_t scsi_cmd, char *tmpstr, int tmplen) in mdb_cdb_to_str() argument
142 (void) mdb_snprintf(tmpstr, tmplen, "<undecoded cmd 0x%x>", scsi_cmd); in mdb_cdb_to_str()
143 return (tmpstr); in mdb_cdb_to_str()
150 char tmpstr[64]; in display_cdb() local
152 tmplen = sizeof (tmpstr); in display_cdb()
153 mdb_printf("CDB %s", mdb_cdb_to_str(cdb[0], tmpstr, tmplen)); in display_cdb()
226 char tmpstr[64]; in display_cmd() local
229 tmplen = sizeof (tmpstr); in display_cmd()
232 cmd_action_str(cmdp->pc_cur_action, tmpstr, tmplen)); in display_cmd()
234 cmd_action_str(cmdp->pc_last_action, tmpstr, tmplen)); in display_cmd()