Home
last modified time | relevance | path

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

/drivers/usb/usbip/
Dstub_tx.c45 struct stub_unlink *unlink; in stub_enqueue_ret_unlink() local
47 unlink = kzalloc(sizeof(struct stub_unlink), GFP_ATOMIC); in stub_enqueue_ret_unlink()
48 if (!unlink) { in stub_enqueue_ret_unlink()
53 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink()
54 unlink->status = status; in stub_enqueue_ret_unlink()
56 list_add_tail(&unlink->list, &sdev->unlink_tx); in stub_enqueue_ret_unlink()
135 struct stub_unlink *unlink) in setup_ret_unlink_pdu() argument
137 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
138 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
302 struct stub_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
[all …]
Dvhci_rx.c124 struct vhci_unlink *unlink, *tmp; in dequeue_pending_unlink() local
129 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) { in dequeue_pending_unlink()
130 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink()
131 if (unlink->seqnum == pdu->base.seqnum) { in dequeue_pending_unlink()
133 unlink->seqnum); in dequeue_pending_unlink()
134 list_del(&unlink->list); in dequeue_pending_unlink()
137 return unlink; in dequeue_pending_unlink()
149 struct vhci_unlink *unlink; in vhci_recv_ret_unlink() local
155 unlink = dequeue_pending_unlink(vdev, pdu); in vhci_recv_ret_unlink()
156 if (!unlink) { in vhci_recv_ret_unlink()
[all …]
Dvhci_tx.c140 struct vhci_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
145 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in dequeue_from_unlink_tx()
146 list_move_tail(&unlink->list, &vdev->unlink_rx); in dequeue_from_unlink_tx()
148 return unlink; in dequeue_from_unlink_tx()
158 struct vhci_unlink *unlink = NULL; in vhci_send_cmd_unlink() local
166 while ((unlink = dequeue_from_unlink_tx(vdev)) != NULL) { in vhci_send_cmd_unlink()
175 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink()
179 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
182 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
Dvhci_hcd.c684 struct vhci_unlink *unlink; in vhci_urb_dequeue() local
689 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC); in vhci_urb_dequeue()
690 if (!unlink) { in vhci_urb_dequeue()
697 unlink->seqnum = atomic_inc_return(&the_controller->seqnum); in vhci_urb_dequeue()
698 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
701 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
705 list_add_tail(&unlink->list, &vdev->unlink_tx); in vhci_urb_dequeue()
719 struct vhci_unlink *unlink, *tmp; in vhci_device_unlink_cleanup() local
725 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in vhci_device_unlink_cleanup()
726 pr_info("unlink cleanup tx %lu\n", unlink->unlink_seqnum); in vhci_device_unlink_cleanup()
[all …]
Dstub_dev.c227 struct stub_unlink *unlink, *tmp; in stub_shutdown_connection() local
230 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { in stub_shutdown_connection()
231 list_del(&unlink->list); in stub_shutdown_connection()
232 kfree(unlink); in stub_shutdown_connection()
234 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, in stub_shutdown_connection()
236 list_del(&unlink->list); in stub_shutdown_connection()
237 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/staging/lustre/lnet/lnet/
Dlib-md.c89 lnet_md_build(lnet_libmd_t *lmd, lnet_md_t *umd, int unlink) in lnet_md_build() argument
104 lmd->md_flags = (unlink == LNET_UNLINK) ? LNET_MD_FLAG_AUTO_UNLINK : 0; in lnet_md_build()
267 lnet_unlink_t unlink, lnet_handle_md_t *handle) in LNetMDAttach() argument
291 rc = lnet_md_build(md, &umd, unlink); in LNetMDAttach()
347 LNetMDBind(lnet_md_t umd, lnet_unlink_t unlink, lnet_handle_md_t *handle) in LNetMDBind() argument
368 rc = lnet_md_build(md, &umd, unlink); in LNetMDBind()
Dlib-me.c79 lnet_unlink_t unlink, lnet_ins_pos_t pos, in LNetMEAttach() argument
107 me->me_unlink = unlink; in LNetMEAttach()
151 lnet_unlink_t unlink, lnet_ins_pos_t pos, in LNetMEInsert() argument
196 new_me->me_unlink = unlink; in LNetMEInsert()
Dlib-msg.c339 int unlink; in lnet_msg_detach_md() local
345 unlink = lnet_md_unlinkable(md); in lnet_msg_detach_md()
348 msg->msg_ev.unlinked = unlink; in lnet_msg_detach_md()
352 if (unlink) in lnet_msg_detach_md()
/drivers/hwtracing/stm/
Dconsole.c34 .unlink = stm_console_unlink,
Dcore.c872 if (!ret && src->data->unlink) in __stm_source_link_drop()
873 src->data->unlink(src->data); in __stm_source_link_drop()
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c704 unlink(ofilename); in stop()
713 unlink(regfilename); in stop()
722 unlink(listfilename); in stop()
/drivers/usb/host/
Dfotg210.h29 unsigned long unlink; member
Dehci.h54 unsigned long unlink; member
Dehci-q.c268 COUNT(ehci->stats.unlink); in ehci_urb_done()
Dehci-dbg.c928 ehci->stats.complete, ehci->stats.unlink); in fill_registers_buffer()
Dfotg210-hcd.c743 fotg210->stats.complete, fotg210->stats.unlink); in fill_registers_buffer()
2239 COUNT(fotg210->stats.unlink); in fotg210_urb_done()
4932 fotg210->stats.complete, fotg210->stats.unlink); in fotg210_stop()
/drivers/staging/lustre/lustre/include/
Dobd_class.h1581 EXP_CHECK_MD_OP(exp, unlink); in md_unlink()
1582 EXP_MD_COUNTER_INCREMENT(exp, unlink); in md_unlink()
1583 rc = MDP(exp->exp_obd, unlink)(exp, op_data, request); in md_unlink()
/drivers/staging/lustre/lustre/llite/
Dnamei.c1119 .unlink = ll_unlink,