Searched refs:to_length (Results 1 – 1 of 1) sorted by relevance
288 static void scsi_strcpy_devinfo(char *name, char *to, size_t to_length, in scsi_strcpy_devinfo() argument294 strncpy(to, from, min(to_length, from_length)); in scsi_strcpy_devinfo()295 if (from_length < to_length) { in scsi_strcpy_devinfo()306 to_length - from_length); in scsi_strcpy_devinfo()309 if (from_length > to_length) in scsi_strcpy_devinfo()