Lines Matching defs:list
105 static void usb_add_device(usb_device_t **list, usb_device_t *dev);
106 static void usb_remove_device(usb_device_t **list, usb_device_t *dev);
107 static int usb_check_device_in_list(usb_device_t *list, usb_device_t *dev);
241 * from the list that are no longer there
261 /* is any of devices on the new list also on the old list? */
283 /* add all new_devices to the old_devices list */
294 usb_dprintf(DEBUG_DETAILED, "usb_devices list:\n");
2175 * adds dev to the beginning of the list
2178 usb_add_device(usb_device_t **list, usb_device_t *dev)
2180 if (*list) {
2181 dev->next = *list;
2187 *list = dev;
2192 * removes dev from a list
2195 usb_remove_device(usb_device_t **list, usb_device_t *dev)
2200 *list = dev->next;
2210 * checks if dev is in list
2215 usb_check_device_in_list(usb_device_t *list, usb_device_t *dev)
2217 usb_device_t *d = list;