Lines Matching refs:to
66 static void set_str(char *to, const char *from, size_t count)
86 to[j++] = '_';
90 to[j++] = '.';
99 to[j++] = from[i++];
101 to[j] = '\0';
104 static void set_usb_iftype(char *to, int if_class_num, size_t len)
137 strncpy(to, type, len);
138 to[len-1] = '\0';
141 static int set_usb_mass_storage_ifsubtype(char *to, const char *from, size_t len)
168 strlcpy(to, type, len);
173 static void set_scsi_type(char *to, const char *from, size_t len)
201 strlcpy(to, type, len);
238 err("unable to access '%s'", devpath);
245 info("unable to access usb_interface device of '%s'", devpath);
267 info("unable to find parent 'usb' device of '%s'", devpath);
279 info("unable to find parent 'scsi' device of '%s'", devpath);
324 /* Fallback to USB vendor & device */