Lines Matching refs:unode
1083 struct urb_node *unode = container_of(work, struct urb_node, in ufx_release_urb_work() local
1086 up(&unode->dev->urbs.limit_sem); in ufx_release_urb_work()
1771 struct urb_node *unode = urb->context; in ufx_urb_completion() local
1772 struct ufx_data *dev = unode->dev; in ufx_urb_completion()
1789 list_add_tail(&unode->entry, &dev->urbs.list); in ufx_urb_completion()
1796 schedule_delayed_work(&unode->release_urb_work, 0); in ufx_urb_completion()
1805 struct urb_node *unode; in ufx_free_urb_list() local
1826 unode = list_entry(node, struct urb_node, entry); in ufx_free_urb_list()
1827 urb = unode->urb; in ufx_free_urb_list()
1841 struct urb_node *unode; in ufx_alloc_urb_list() local
1850 unode = kzalloc(sizeof(*unode), GFP_KERNEL); in ufx_alloc_urb_list()
1851 if (!unode) in ufx_alloc_urb_list()
1853 unode->dev = dev; in ufx_alloc_urb_list()
1855 INIT_DELAYED_WORK(&unode->release_urb_work, in ufx_alloc_urb_list()
1860 kfree(unode); in ufx_alloc_urb_list()
1863 unode->urb = urb; in ufx_alloc_urb_list()
1868 kfree(unode); in ufx_alloc_urb_list()
1875 buf, size, ufx_urb_completion, unode); in ufx_alloc_urb_list()
1878 list_add_tail(&unode->entry, &dev->urbs.list); in ufx_alloc_urb_list()
1896 struct urb_node *unode; in ufx_get_urb() local
1918 unode = list_entry(entry, struct urb_node, entry); in ufx_get_urb()
1919 urb = unode->urb; in ufx_get_urb()