Home
last modified time | relevance | path

Searched refs:unlink (Results 1 – 11 of 11) sorted by relevance

/drivers/staging/usbip/
Dstub_tx.c41 struct stub_unlink *unlink; in stub_enqueue_ret_unlink() local
43 unlink = kzalloc(sizeof(struct stub_unlink), GFP_ATOMIC); in stub_enqueue_ret_unlink()
44 if (!unlink) { in stub_enqueue_ret_unlink()
50 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink()
51 unlink->status = status; in stub_enqueue_ret_unlink()
53 list_add_tail(&unlink->list, &sdev->unlink_tx); in stub_enqueue_ret_unlink()
131 struct stub_unlink *unlink) in setup_ret_unlink_pdu() argument
133 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
134 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
292 struct stub_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
[all …]
Dvhci_rx.c118 struct vhci_unlink *unlink, *tmp; in dequeue_pending_unlink() local
122 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) { in dequeue_pending_unlink()
123 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink()
124 if (unlink->seqnum == pdu->base.seqnum) { in dequeue_pending_unlink()
126 unlink->seqnum); in dequeue_pending_unlink()
127 list_del(&unlink->list); in dequeue_pending_unlink()
130 return unlink; in dequeue_pending_unlink()
142 struct vhci_unlink *unlink; in vhci_recv_ret_unlink() local
148 unlink = dequeue_pending_unlink(vdev, pdu); in vhci_recv_ret_unlink()
149 if (!unlink) { in vhci_recv_ret_unlink()
[all …]
Dvhci_tx.c140 struct vhci_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
144 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in dequeue_from_unlink_tx()
145 list_move_tail(&unlink->list, &vdev->unlink_rx); in dequeue_from_unlink_tx()
147 return unlink; in dequeue_from_unlink_tx()
157 struct vhci_unlink *unlink = NULL; in vhci_send_cmd_unlink() local
165 while ((unlink = dequeue_from_unlink_tx(vdev)) != NULL) { in vhci_send_cmd_unlink()
174 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink()
178 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
181 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
Dvhci_hcd.c729 struct vhci_unlink *unlink; in vhci_urb_dequeue() local
734 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC); in vhci_urb_dequeue()
735 if (!unlink) { in vhci_urb_dequeue()
743 unlink->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_urb_dequeue()
744 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
747 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
753 list_add_tail(&unlink->list, &vdev->unlink_tx); in vhci_urb_dequeue()
767 struct vhci_unlink *unlink, *tmp; in vhci_device_unlink_cleanup() local
771 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in vhci_device_unlink_cleanup()
772 pr_info("unlink cleanup tx %lu\n", unlink->unlink_seqnum); in vhci_device_unlink_cleanup()
[all …]
Dstub_dev.c212 struct stub_unlink *unlink, *tmp; in stub_shutdown_connection() local
215 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { in stub_shutdown_connection()
216 list_del(&unlink->list); in stub_shutdown_connection()
217 kfree(unlink); in stub_shutdown_connection()
219 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, in stub_shutdown_connection()
221 list_del(&unlink->list); in stub_shutdown_connection()
222 kfree(unlink); in stub_shutdown_connection()
Dusbip_protocol.txt32 USBIP_CMD_UNLINK to unlink a previously submitted URB. The answers of the
321 0 | 4 | 0x00000002 | command: URB unlink command
323 4 | 4 | | seqnum: URB sequence number to unlink: FIXME: is this so?
338 USBIP_RET_UNLINK: Reply for URB unlink
342 0 | 4 | 0x00000004 | command: reply for the URB unlink command
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c704 unlink(ofilename); in stop()
713 unlink(regfilename); in stop()
722 unlink(listfilename); in stop()
/drivers/usb/host/
Dehci.h50 unsigned long unlink; member
Dehci-hcd.c595 ehci->stats.complete, ehci->stats.unlink); in ehci_stop()
Dehci-q.c280 COUNT(ehci->stats.unlink); in ehci_urb_done()
Dehci-dbg.c859 ehci->stats.complete, ehci->stats.unlink); in fill_registers_buffer()