Lines Matching refs:tmpstr
1131 char tmpstr[32];
1248 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%04d",
1250 strncpy((char *)cbe_lun->serial_num, tmpstr,
1251 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr)));
1254 strncpy((char *)params->serial_num, tmpstr,
1255 MIN(sizeof(params->serial_num), sizeof(tmpstr)));
1262 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%04d", softc->num_luns);
1263 strncpy((char *)cbe_lun->device_id, tmpstr,
1264 MIN(sizeof(cbe_lun->device_id), sizeof(tmpstr)));
1267 strncpy((char *)params->device_id, tmpstr,
1268 MIN(sizeof(params->device_id), sizeof(tmpstr)));