Searched refs:dev_obj_cur (Results 1 – 1 of 1) sorted by relevance
605 device_t *dev_obj_cur; in usbh_dev_mark_all_free() local609 dev_obj_cur = TAILQ_FIRST(&p_usbh_obj->dynamic.devs_pending_tailq); in usbh_dev_mark_all_free()611 dev_obj_cur = TAILQ_FIRST(&p_usbh_obj->dynamic.devs_idle_tailq); in usbh_dev_mark_all_free()613 while (dev_obj_cur != NULL) { in usbh_dev_mark_all_free()614 assert(!dev_obj_cur->dynamic.flags.waiting_close); //Sanity check in usbh_dev_mark_all_free()616 dev_obj_next = TAILQ_NEXT(dev_obj_cur, dynamic.tailq_entry); in usbh_dev_mark_all_free()617 if (dev_obj_cur->dynamic.ref_count == 0 && !dev_obj_cur->dynamic.flags.is_gone) { in usbh_dev_mark_all_free()619 dev_obj_cur->dynamic.flags.waiting_port_disable = 1; in usbh_dev_mark_all_free()620 call_notif_cb |= _dev_set_actions(dev_obj_cur, DEV_FLAG_ACTION_PORT_DISABLE); in usbh_dev_mark_all_free()623 dev_obj_cur->dynamic.flags.waiting_close = 1; in usbh_dev_mark_all_free()[all …]