Lines Matching defs:new
251 usb_device_t *dev, *next_dev, *new, *next_new;
261 /* is any of devices on the new list also on the old list? */
265 for (new = new_devices; new != NULL; new = next_new) {
266 next_new = new->next;
267 if (strncmp(dev->filename, new->filename,
269 usb_remove_device(&new_devices, new);
270 usb_free_dev(new);
284 usb_dprintf(DEBUG_DETAILED, "moving new to old\n");
286 for (new = new_devices; new != NULL; new = next_new) {
287 next_new = new->next;
288 usb_remove_device(&new_devices, new);
289 usb_add_device(&usb_busses->devices, new);
290 (void) usb_close(usb_open(new));