Lines Matching refs:unode
124 struct urb_node *unode = container_of(work, struct urb_node, in udl_release_urb_work() local
127 up(&unode->dev->urbs.limit_sem); in udl_release_urb_work()
132 struct urb_node *unode = urb->context; in udl_urb_completion() local
133 struct udl_device *udl = unode->dev; in udl_urb_completion()
149 list_add_tail(&unode->entry, &udl->urbs.list); in udl_urb_completion()
159 schedule_delayed_work(&unode->release_urb_work, 0); in udl_urb_completion()
170 struct urb_node *unode; in udl_free_urb_list() local
186 unode = list_entry(node, struct urb_node, entry); in udl_free_urb_list()
187 urb = unode->urb; in udl_free_urb_list()
202 struct urb_node *unode; in udl_alloc_urb_list() local
217 unode = kzalloc(sizeof(struct urb_node), GFP_KERNEL); in udl_alloc_urb_list()
218 if (!unode) in udl_alloc_urb_list()
220 unode->dev = udl; in udl_alloc_urb_list()
222 INIT_DELAYED_WORK(&unode->release_urb_work, in udl_alloc_urb_list()
227 kfree(unode); in udl_alloc_urb_list()
230 unode->urb = urb; in udl_alloc_urb_list()
235 kfree(unode); in udl_alloc_urb_list()
247 buf, size, udl_urb_completion, unode); in udl_alloc_urb_list()
250 list_add_tail(&unode->entry, &udl->urbs.list); in udl_alloc_urb_list()
267 struct urb_node *unode; in udl_get_urb() local
287 unode = list_entry(entry, struct urb_node, entry); in udl_get_urb()
288 urb = unode->urb; in udl_get_urb()