Home
last modified time | relevance | path

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

12

/drivers/usb/usbip/
Dstub_tx.c17 struct stub_unlink *unlink; in stub_enqueue_ret_unlink() local
19 unlink = kzalloc(sizeof(struct stub_unlink), GFP_ATOMIC); in stub_enqueue_ret_unlink()
20 if (!unlink) { in stub_enqueue_ret_unlink()
25 unlink->seqnum = seqnum; in stub_enqueue_ret_unlink()
26 unlink->status = status; in stub_enqueue_ret_unlink()
28 list_add_tail(&unlink->list, &sdev->unlink_tx); in stub_enqueue_ret_unlink()
126 struct stub_unlink *unlink) in setup_ret_unlink_pdu() argument
128 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
129 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
346 struct stub_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
[all …]
Dvhci_rx.c115 struct vhci_unlink *unlink, *tmp; in dequeue_pending_unlink() local
120 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_rx, list) { in dequeue_pending_unlink()
121 pr_info("unlink->seqnum %lu\n", unlink->seqnum); in dequeue_pending_unlink()
122 if (unlink->seqnum == pdu->base.seqnum) { in dequeue_pending_unlink()
124 unlink->seqnum); in dequeue_pending_unlink()
125 list_del(&unlink->list); in dequeue_pending_unlink()
128 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 …]
Dvudc_tx.c32 struct v_unlink *unlink) in setup_ret_unlink_pdu() argument
34 setup_base_pdu(&rpdu->base, USBIP_RET_UNLINK, unlink->seqnum); in setup_ret_unlink_pdu()
35 rpdu->u.ret_unlink.status = unlink->status; in setup_ret_unlink_pdu()
38 static int v_send_ret_unlink(struct vudc *udc, struct v_unlink *unlink) in v_send_ret_unlink() argument
53 setup_ret_unlink_pdu(&pdu_header, unlink); in v_send_ret_unlink()
68 kfree(unlink); in v_send_ret_unlink()
247 struct v_unlink *unlink; in v_enqueue_ret_unlink() local
254 unlink = kzalloc(sizeof(*unlink), GFP_ATOMIC); in v_enqueue_ret_unlink()
255 if (!unlink) { in v_enqueue_ret_unlink()
261 unlink->seqnum = seqnum; in v_enqueue_ret_unlink()
[all …]
Dvhci_tx.c171 struct vhci_unlink *unlink, *tmp; in dequeue_from_unlink_tx() local
176 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in dequeue_from_unlink_tx()
177 list_move_tail(&unlink->list, &vdev->unlink_rx); in dequeue_from_unlink_tx()
179 return unlink; in dequeue_from_unlink_tx()
189 struct vhci_unlink *unlink = NULL; in vhci_send_cmd_unlink() local
196 while ((unlink = dequeue_from_unlink_tx(vdev)) != NULL) { in vhci_send_cmd_unlink()
204 usbip_dbg_vhci_tx("setup cmd unlink, %lu\n", unlink->seqnum); in vhci_send_cmd_unlink()
208 pdu_header.base.seqnum = unlink->seqnum; in vhci_send_cmd_unlink()
211 pdu_header.u.cmd_unlink.seqnum = unlink->unlink_seqnum; in vhci_send_cmd_unlink()
Dvhci_hcd.c906 struct vhci_unlink *unlink; in vhci_urb_dequeue() local
911 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC); in vhci_urb_dequeue()
912 if (!unlink) { in vhci_urb_dequeue()
919 unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum); in vhci_urb_dequeue()
920 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
923 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
927 list_add_tail(&unlink->list, &vdev->unlink_tx); in vhci_urb_dequeue()
944 struct vhci_unlink *unlink, *tmp; in vhci_device_unlink_cleanup() local
950 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in vhci_device_unlink_cleanup()
951 pr_info("unlink cleanup tx %lu\n", unlink->unlink_seqnum); in vhci_device_unlink_cleanup()
[all …]
Dstub_dev.c160 struct stub_unlink *unlink, *tmp; in stub_shutdown_connection() local
163 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { in stub_shutdown_connection()
164 list_del(&unlink->list); in stub_shutdown_connection()
165 kfree(unlink); in stub_shutdown_connection()
167 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, in stub_shutdown_connection()
169 list_del(&unlink->list); in stub_shutdown_connection()
170 kfree(unlink); in stub_shutdown_connection()
/drivers/staging/most/cdev/
Dcdev.c33 spinlock_t unlink; /* synchronization lock to unlink channels */ member
169 spin_lock(&c->unlink); in comp_close()
171 spin_unlock(&c->unlink); in comp_close()
341 spin_lock(&c->unlink); in comp_disconnect_channel()
343 spin_unlock(&c->unlink); in comp_disconnect_channel()
374 spin_lock(&c->unlink); in comp_rx_completion()
376 spin_unlock(&c->unlink); in comp_rx_completion()
380 spin_unlock(&c->unlink); in comp_rx_completion()
463 spin_lock_init(&c->unlink); in comp_probe()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c475 goto unlink; in ctch_send()
484 goto unlink; in ctch_send()
488 goto unlink; in ctch_send()
503 unlink: in ctch_send()
/drivers/hwtracing/stm/
Dcore.c525 if (stm->data->unlink) in stm_char_release()
526 stm->data->unlink(stm->data, stmf->output.master, in stm_char_release()
1110 if (src->data->unlink) in __stm_source_link_drop()
1111 src->data->unlink(src->data); in __stm_source_link_drop()
1113 if (stm->data->unlink) in __stm_source_link_drop()
1114 stm->data->unlink(stm->data, src->output.master, in __stm_source_link_drop()
Dftrace.c27 .unlink = stm_ftrace_unlink,
Dconsole.c26 .unlink = stm_console_unlink,
Dheartbeat.c80 stm_heartbeat[i].data.unlink = stm_heartbeat_unlink; in stm_heartbeat_init()
/drivers/scsi/aic7xxx/aicasm/
Daicasm.c703 unlink(ofilename); in stop()
712 unlink(regfilename); in stop()
721 unlink(listfilename); in stop()
/drivers/usb/host/
Dfotg210.h30 unsigned long unlink; member
Dehci.h41 unsigned long unlink; member
Dehci-dbg.c904 ehci->stats.complete, ehci->stats.unlink); in fill_registers_buffer()
Dehci-q.c259 INCR(ehci->stats.unlink); in ehci_urb_done()
Dfotg210-hcd.c732 fotg210->stats.complete, fotg210->stats.unlink); in fill_registers_buffer()
2213 INCR(fotg210->stats.unlink); in fotg210_urb_done()
4894 fotg210->stats.complete, fotg210->stats.unlink); in fotg210_stop()
/drivers/md/
Ddm-bufio.c294 static void adjust_total_allocated(struct dm_buffer *b, bool unlink) in adjust_total_allocated() argument
307 if (unlink) in adjust_total_allocated()
321 if (!unlink) { in adjust_total_allocated()
/drivers/staging/most/Documentation/ABI/
Dsysfs-bus-most.txt296 This is used to unlink a channel from a component.
/drivers/android/
Dbinderfs.c471 .unlink = binderfs_unlink,
/drivers/hwtracing/coresight/
Dcoresight-stm.c849 drvdata->stm.unlink = stm_generic_unlink; in stm_init_generic_data()
/drivers/net/
Dmacsec.c3270 goto unlink; in macsec_newlink()
3275 goto unlink; in macsec_newlink()
3296 unlink: in macsec_newlink()
Dvxlan.c3613 goto unlink; in __vxlan_dev_create()
3633 unlink: in __vxlan_dev_create()
/drivers/iommu/
Dintel-iommu.c5599 goto unlink; in intel_iommu_add_device()
5627 goto unlink; in intel_iommu_add_device()
5643 unlink: in intel_iommu_add_device()

12