Lines Matching defs:unlink
823 * unlink pdu is sent or not, vhci_rx receives a normal return pdu and gives
847 * => notify unlink completeness by giving back the urb
858 * - case 3a). the urb of the unlink request is now in submission.
860 * => after the unlink is completed, send RET_UNLINK.
862 * - case 3b). the urb of the unlink request is not in submission.
895 /* send unlink request here? */
921 struct vhci_unlink *unlink;
926 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC);
927 if (!unlink) {
934 unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum);
935 if (unlink->seqnum == 0xffff)
938 unlink->unlink_seqnum = priv->seqnum;
942 list_add_tail(&unlink->list, &vdev->unlink_tx);
960 struct vhci_unlink *unlink, *tmp;
966 list_for_each_entry_safe(unlink, tmp, unlink_list, list) {
969 urb = pickup_urb_and_free_priv(vdev, unlink->unlink_seqnum);
971 list_del(&unlink->list);
972 kfree(unlink);
980 list_del(&unlink->list);
990 kfree(unlink);
999 /* give back URB of unsent unlink request */
1002 /* give back URB of unanswered unlink request */