Home
last modified time | relevance | path

Searched refs:enqueue (Results 1 – 25 of 132) sorted by relevance

123456

/linux/drivers/usb/mtu3/
H A Dmtu3_qmu.c149 ring->enqueue = gpd; in gpd_ring_init()
205 if (ring->enqueue < ring->end) in advance_enq_gpd()
206 ring->enqueue++; in advance_enq_gpd()
208 ring->enqueue = ring->start; in advance_enq_gpd()
210 return ring->enqueue; in advance_enq_gpd()
227 struct qmu_gpd *enq = ring->enqueue; in gpd_ring_empty()
230 if (ring->enqueue < ring->end) in gpd_ring_empty()
248 struct qmu_gpd *gpd = ring->enqueue; in mtu3_prepare_tx_gpd()
291 struct qmu_gpd *gpd = ring->enqueue; in mtu3_prepare_rx_gpd()
524 __func__, epnum, gpd, gpd_current, ring->enqueue); in qmu_done_tx()
[all …]
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c21 * 1. A ring is empty if enqueue == dequeue. This means there will always be at
24 * 2. When incrementing an enqueue or dequeue pointer, if the next TRB is a
29 * 3. A ring is full if enqueue++ (for the definition of increment above)
35 * 2. When a producer increments an enqueue pointer and encounters a toggle bit
39 * 1. Check if ring is full before you enqueue.
41 * Update enqueue pointer between each write (which may update the ring
127 * effect the ring dequeue or enqueue pointers.
185 * @more_trbs_coming: Will you enqueue more TRBs before ringing the doorbell.
194 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN; in cdnsp_inc_enq()
197 if (!cdnsp_trb_is_link(ring->enqueue)) in cdnsp_inc_enq()
[all...]
H A Dcdns3-debug.h128 trb = &priv_ep->trb_pool[priv_ep->enqueue]; in cdns3_dbg_ring()
131 priv_ep->enqueue, trb, in cdns3_dbg_ring()
/linux/net/sched/
H A Dsch_cbs.c81 int (*enqueue)(struct sk_buff *skb, struct Qdisc *sch, member
95 err = child->ops->enqueue(skb, child, to_free); in cbs_child_enqueue()
136 return q->enqueue(skb, sch, to_free); in cbs_enqueue()
274 q->enqueue = cbs_enqueue_soft; in cbs_disable_offload()
317 q->enqueue = cbs_enqueue_offload; in cbs_enable_offload()
439 q->enqueue = cbs_enqueue_soft; in cbs_init()
553 .enqueue = cbs_enqueue,
H A Dsch_fifo.c190 .enqueue = pfifo_enqueue,
205 .enqueue = bfifo_enqueue,
220 .enqueue = pfifo_tail_enqueue,
H A Dsch_pie.c90 bool enqueue = false; in pie_qdisc_enqueue() local
101 enqueue = true; in pie_qdisc_enqueue()
108 enqueue = true; in pie_qdisc_enqueue()
112 if (enqueue) { in pie_qdisc_enqueue()
554 .enqueue = pie_qdisc_enqueue,
H A Dbpf_qdisc.c42 if (prog->aux->attach_st_ops_member_off == offsetof(struct Qdisc_ops, enqueue)) { in BTF_ID_LIST_SINGLE()
313 [QDISC_OP_IDX(enqueue)] = QDISC_OPS_KF_ENQUEUE,
406 if (!ops->enqueue || !ops->dequeue || !ops->init ||
439 .enqueue = Qdisc_ops__enqueue,
H A Dsch_fq_pie.c29 * - Drops during enqueue only.
138 u8 enqueue = false; in fq_pie_qdisc_enqueue() local
169 enqueue = true; in fq_pie_qdisc_enqueue()
177 enqueue = true; in fq_pie_qdisc_enqueue()
179 if (enqueue) { in fq_pie_qdisc_enqueue()
180 /* Set enqueue time only when dq_rate_estimator is disabled. */ in fq_pie_qdisc_enqueue()
567 .enqueue = fq_pie_qdisc_enqueue,
H A Dsch_blackhole.c31 .enqueue = blackhole_enqueue,
H A Dsch_generic.c92 * - enqueue, dequeue are serialized via qdisc root lock
704 .enqueue = noop_enqueue,
716 .enqueue = noop_enqueue, in noqueue_init()
743 qdisc->enqueue = NULL;
751 .enqueue = noop_enqueue, in band2list()
970 .enqueue = pfifo_fast_enqueue, in qdisc_alloc()
1030 sch->enqueue = ops->enqueue; in qdisc_create_dflt()
1334 if (qdisc->enqueue) in some_qdisc_is_busy()
/linux/Documentation/scheduler/
H A Dsched-ext.rst126 directly, bypassing ops.enqueue() (only when ``SCX_OPS_ENQ_EXITING`` is not set).
183 * ops.enqueue() callback.
206 * Do a direct insertion of a task to the global DSQ. This ops.enqueue()
211 * default ops.enqueue implementation, which just dispatches the task
238 .enqueue = (void *)simple_enqueue,
289 from ``ops.select_cpu()`` will cause the ``ops.enqueue()`` callback to
293 ``ops.select_cpu()`` does not prevent ``ops.enqueue()`` from being
297 2. Once the target CPU is selected, ``ops.enqueue()`` is invoked (unless the
298 task was inserted directly from ``ops.select_cpu()``). ``ops.enqueue()``
315 structures. Custody is entered only from ``ops.enqueue()`` fo
[all...]
/linux/drivers/usb/host/
H A Dxhci-ring.c19 * 1. A ring is empty if enqueue == dequeue. This means there will always be at
22 * 2. When incrementing an enqueue or dequeue pointer, if the next TRB is a
27 * 3. A ring is full if enqueue++ (for the definition of increment above)
33 * 2. When a producer increments an enqueue pointer and encounters a toggle bit
37 * 1. Check if ring is full before you enqueue.
39 * Update enqueue pointer between each write (which may update the ring
170 * effect the ring dequeue or enqueue pointers.
229 * If enqueue points at a link TRB, follow links until an ordinary TRB is reached.
236 while (trb_is_link(ring->enqueue)) { in inc_enq_past_link()
248 ring->enqueue in inc_enq_past_link()
[all...]
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Doverview.rst198 Provides interfaces to enqueue and dequeue
202 enqueue/dequeue packets. To enqueue something a descriptor is written
205 CPUs to simultaneously perform enqueue/dequeued operations. DPIOs are
298 . . <data avail, | | <enqueue,
370 other drivers such as the Ethernet driver to enqueue and dequeue data for
375 - hardware queuing operations (enqueue and dequeue of data)
383 performance, allowing different CPUs to simultaneously enqueue
H A Ddpio-driver.rst16 interfaces to enqueue and dequeue frames to/from network interfaces
34 A. allow other drivers, such as the Ethernet driver, to enqueue and dequeue
74 . . <data avail, | |<enqueue,
/linux/Documentation/translations/zh_CN/core-api/
H A Dkref.rst158 enqueue(obj);
163 enqueue(obj);
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c189 cdns2_ep_inc_trb(&ring->enqueue, &ring->pcs, TRBS_PER_SEGMENT); in cdns2_ep_inc_enq()
295 pep->wa1_trb_index = pep->ring.enqueue; in cdns2_wa1_update_guard()
333 if ((ring->enqueue + num_trbs) >= (TRBS_PER_SEGMENT - 1)) { in cdns2_prepare_ring()
587 trb = pep->ring.trbs + pep->ring.enqueue; in cdns2_ep_tx_isoc()
608 preq->end_trb = pep->ring.enqueue; in cdns2_ep_tx_isoc()
640 trb = pep->ring.trbs + ring->enqueue; in cdns2_ep_tx_bulk()
643 preq->end_trb = ring->enqueue; in cdns2_ep_tx_bulk()
648 if (ring->enqueue == 0) in cdns2_ep_tx_bulk()
653 (ring->enqueue * TRB_SIZE)); in cdns2_ep_tx_bulk()
684 preq->end_trb = ring->enqueue; in cdns2_ep_tx_bulk()
[all …]
H A Dcdns2-debug.h116 trb = &trbs[ring->enqueue]; in cdns2_raw_ring()
120 ring->enqueue, trb, &dma); in cdns2_raw_ring()
/linux/drivers/usb/early/
H A Dxhci-dbc.c206 ring->enqueue = seg->trbs; in xdbc_reset_ring()
394 trb = ring->enqueue; in xdbc_queue_trb()
400 ++(ring->enqueue); in xdbc_queue_trb()
401 if (ring->enqueue >= &ring->segment->trbs[TRBS_PER_SEGMENT - 1]) { in xdbc_queue_trb()
402 link_trb = ring->enqueue; in xdbc_queue_trb()
408 ring->enqueue = ring->segment->trbs; in xdbc_queue_trb()
487 trb = ring->enqueue; in xdbc_bulk_transfer()
/linux/Documentation/userspace-api/media/v4l/
H A Dmmap.rst218 applications can enqueue in advance, or dequeue and process. They can
219 also enqueue in a different order than buffers have been dequeued, and
225 driver. For capturing applications it is customary to first enqueue all
229 applications fill and enqueue buffers, when enough buffers are stacked
234 To enqueue and dequeue a buffer applications use the
276 Random enqueue order permits applications processing images out of
H A Dvidioc-qbuf.rst38 Applications call the ``VIDIOC_QBUF`` ioctl to enqueue an empty
42 To enqueue a buffer applications set the ``type`` field of a struct
63 To enqueue a :ref:`memory mapped <mmap>` buffer applications set the
70 To enqueue a :ref:`user pointer <userp>` buffer applications set the
85 To enqueue a :ref:`DMABUF <dmabuf>` buffer applications set the
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dfl.bpf.c38 .enqueue = (void *) select_cpu_dfl_enqueue,
H A Denq_select_cpu_fails.bpf.c
/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-qbuf.rst40 Applications call the ``DMX_QBUF`` ioctl to enqueue an empty
44 To enqueue a buffer applications set the ``index`` field. Valid index
/linux/net/sctp/
H A Dstream_sched_fc.c197 .enqueue = sctp_sched_fc_enqueue,
215 .enqueue = sctp_sched_fc_enqueue,
H A Dstream_sched.c100 .enqueue = sctp_sched_fcfs_enqueue,
183 n->enqueue(&asoc->outqueue, msg); in sctp_sched_set_sched()

123456