Lines Matching refs:tmpstr
500 char tmpstr[32];
580 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%4d",
582 strncpy((char *)cbe_lun->serial_num, tmpstr,
583 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr)));
586 strncpy((char *)params->serial_num, tmpstr,
587 MIN(sizeof(params->serial_num), sizeof(tmpstr)));
594 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%4d", softc->num_luns);
595 strncpy((char *)cbe_lun->device_id, tmpstr,
596 MIN(sizeof(cbe_lun->device_id), sizeof(tmpstr)));
599 strncpy((char *)params->device_id, tmpstr,
600 MIN(sizeof(params->device_id), sizeof(tmpstr)));