Home
last modified time | relevance | path

Searched refs:to_length (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/scsi/
Dscsi_devinfo.c285 static void scsi_strcpy_devinfo(char *name, char *to, size_t to_length, in scsi_strcpy_devinfo() argument
292 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()