Lines Matching refs:ue
42 struct usbip_event *ue = NULL; in get_event() local
48 ue = list_first_entry(&event_list, struct usbip_event, node); in get_event()
49 list_del(&ue->node); in get_event()
53 if (ue) { in get_event()
54 ud = ue->ud; in get_event()
55 kfree(ue); in get_event()
147 struct usbip_event *ue; in usbip_event_add() local
157 list_for_each_entry_reverse(ue, &event_list, node) { in usbip_event_add()
158 if (ue->ud == ud) in usbip_event_add()
162 ue = kmalloc(sizeof(struct usbip_event), GFP_ATOMIC); in usbip_event_add()
163 if (ue == NULL) in usbip_event_add()
166 ue->ud = ud; in usbip_event_add()
168 list_add_tail(&ue->node, &event_list); in usbip_event_add()