Lines Matching refs:tmpstr
2223 char tmpstr[32];
2327 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%4d",
2329 strncpy((char *)cbe_lun->serial_num, tmpstr,
2330 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr)));
2333 strncpy((char *)params->serial_num, tmpstr,
2334 MIN(sizeof(params->serial_num), sizeof(tmpstr)));
2341 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%4d", softc->num_luns);
2342 strncpy((char *)cbe_lun->device_id, tmpstr,
2343 MIN(sizeof(cbe_lun->device_id), sizeof(tmpstr)));
2346 strncpy((char *)params->device_id, tmpstr,
2347 MIN(sizeof(params->device_id), sizeof(tmpstr)));