Searched refs:to_length (Results 1 – 1 of 1) sorted by relevance
285 static void scsi_strcpy_devinfo(char *name, char *to, size_t to_length, in scsi_strcpy_devinfo() argument292 strncpy(to, from, to_length); in scsi_strcpy_devinfo()293 if (from_length < to_length && !compatible) { in scsi_strcpy_devinfo()297 memset(&to[from_length], ' ', to_length - from_length); in scsi_strcpy_devinfo()299 if (from_length > to_length) in scsi_strcpy_devinfo()