Lines Matching refs:unode
1138 struct urb_node *unode = container_of(work, struct urb_node, in ufx_release_urb_work() local
1141 up(&unode->dev->urbs.limit_sem); in ufx_release_urb_work()
1793 struct urb_node *unode = urb->context; in ufx_urb_completion() local
1794 struct ufx_data *dev = unode->dev; in ufx_urb_completion()
1811 list_add_tail(&unode->entry, &dev->urbs.list); in ufx_urb_completion()
1818 schedule_delayed_work(&unode->release_urb_work, 0); in ufx_urb_completion()
1827 struct urb_node *unode; in ufx_free_urb_list() local
1848 unode = list_entry(node, struct urb_node, entry); in ufx_free_urb_list()
1849 urb = unode->urb; in ufx_free_urb_list()
1863 struct urb_node *unode; in ufx_alloc_urb_list() local
1872 unode = kzalloc(sizeof(*unode), GFP_KERNEL); in ufx_alloc_urb_list()
1873 if (!unode) in ufx_alloc_urb_list()
1875 unode->dev = dev; in ufx_alloc_urb_list()
1877 INIT_DELAYED_WORK(&unode->release_urb_work, in ufx_alloc_urb_list()
1882 kfree(unode); in ufx_alloc_urb_list()
1885 unode->urb = urb; in ufx_alloc_urb_list()
1890 kfree(unode); in ufx_alloc_urb_list()
1897 buf, size, ufx_urb_completion, unode); in ufx_alloc_urb_list()
1900 list_add_tail(&unode->entry, &dev->urbs.list); in ufx_alloc_urb_list()
1918 struct urb_node *unode; in ufx_get_urb() local
1940 unode = list_entry(entry, struct urb_node, entry); in ufx_get_urb()
1941 urb = unode->urb; in ufx_get_urb()