Home
last modified time | relevance | path

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

/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.c921 struct vhci_unlink *unlink; in vhci_urb_dequeue() local
926 unlink = kzalloc(sizeof(struct vhci_unlink), GFP_ATOMIC); in vhci_urb_dequeue()
927 if (!unlink) { in vhci_urb_dequeue()
934 unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum); in vhci_urb_dequeue()
935 if (unlink->seqnum == 0xffff) in vhci_urb_dequeue()
938 unlink->unlink_seqnum = priv->seqnum; in vhci_urb_dequeue()
942 list_add_tail(&unlink->list, &vdev->unlink_tx); in vhci_urb_dequeue()
959 struct vhci_unlink *unlink, *tmp; in vhci_device_unlink_cleanup() local
965 list_for_each_entry_safe(unlink, tmp, &vdev->unlink_tx, list) { in vhci_device_unlink_cleanup()
969 pr_info("unlink cleanup tx %lu\n", unlink->unlink_seqnum); in vhci_device_unlink_cleanup()
[all …]
Dstub_dev.c194 struct stub_unlink *unlink, *tmp; in stub_shutdown_connection() local
197 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_tx, list) { in stub_shutdown_connection()
198 list_del(&unlink->list); in stub_shutdown_connection()
199 kfree(unlink); in stub_shutdown_connection()
201 list_for_each_entry_safe(unlink, tmp, &sdev->unlink_free, in stub_shutdown_connection()
203 list_del(&unlink->list); in stub_shutdown_connection()
204 kfree(unlink); in stub_shutdown_connection()
/drivers/most/
Dmost_cdev.c32 spinlock_t unlink; /* synchronization lock to unlink channels */ member
162 spin_lock(&c->unlink); in comp_close()
164 spin_unlock(&c->unlink); in comp_close()
329 spin_lock(&c->unlink); in comp_disconnect_channel()
331 spin_unlock(&c->unlink); in comp_disconnect_channel()
362 spin_lock(&c->unlink); in comp_rx_completion()
364 spin_unlock(&c->unlink); in comp_rx_completion()
368 spin_unlock(&c->unlink); in comp_rx_completion()
447 spin_lock_init(&c->unlink); in comp_probe()
/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c507 goto unlink; in ct_send()
516 goto unlink; in ct_send()
520 goto unlink; in ct_send()
535 unlink: in ct_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()
1100 if (src->data->unlink) in __stm_source_link_drop()
1101 src->data->unlink(src->data); in __stm_source_link_drop()
1103 if (stm->data->unlink) in __stm_source_link_drop()
1104 stm->data->unlink(stm->data, src->output.master, in __stm_source_link_drop()
Dconsole.c26 .unlink = stm_console_unlink,
Dftrace.c27 .unlink = stm_ftrace_unlink,
Dheartbeat.c82 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.c730 fotg210->stats.complete, fotg210->stats.unlink); in fill_registers_buffer()
2208 INCR(fotg210->stats.unlink); in fotg210_urb_done()
4886 fotg210->stats.complete, fotg210->stats.unlink); in fotg210_stop()
/drivers/md/
Ddm-bufio.c320 static void adjust_total_allocated(struct dm_buffer *b, bool unlink) in adjust_total_allocated() argument
333 if (unlink) in adjust_total_allocated()
347 if (!unlink) { in adjust_total_allocated()
/drivers/android/
Dbinderfs.c475 .unlink = binderfs_unlink,
/drivers/hwtracing/coresight/
Dcoresight-stm.c851 drvdata->stm.unlink = stm_generic_unlink; in stm_init_generic_data()
/drivers/net/
Dmacsec.c4065 goto unlink; in macsec_newlink()
4070 goto unlink; in macsec_newlink()
4105 unlink: in macsec_newlink()
/drivers/net/vxlan/
Dvxlan_core.c3902 goto unlink; in __vxlan_dev_create()
3922 unlink: in __vxlan_dev_create()