Searched refs:s_1275 (Results 1 – 1 of 1) sorted by relevance
3493 string_scsi_to_1275(char *s_1275, char *s_scsi, int len) in string_scsi_to_1275() argument3495 (void) strncpy(s_1275, s_scsi, len); in string_scsi_to_1275()3496 s_1275[len--] = '\0'; in string_scsi_to_1275()3499 if (s_1275[len] == ' ') in string_scsi_to_1275()3500 s_1275[len--] = '\0'; /* trim trailing " " */ in string_scsi_to_1275()3506 if (((s_1275[len] >= 'a') && (s_1275[len] <= 'z')) || in string_scsi_to_1275()3507 ((s_1275[len] >= 'A') && (s_1275[len] <= 'Z')) || in string_scsi_to_1275()3508 ((s_1275[len] >= '0') && (s_1275[len] <= '9')) || in string_scsi_to_1275()3509 (s_1275[len] == '_') || in string_scsi_to_1275()3510 (s_1275[len] == '+') || in string_scsi_to_1275()[all …]