MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_ring_sc_dequeue

Function rte_ring_sc_dequeue

dpdk/lib/ring/rte_ring.h:451–455  ·  view source on GitHub ↗

* Dequeue one object from a ring (NOT multi-consumers safe). * * @param r * A pointer to the ring structure. * @param obj_p * A pointer to a void * pointer (object) that will be filled. * @return * - 0: Success; objects dequeued. * - -ENOENT: Not enough entries in the ring to dequeue, no object is * dequeued. */

Source from the content-addressed store, hash-verified

449 * dequeued.
450 */
451static __rte_always_inline int
452rte_ring_sc_dequeue(struct rte_ring *r, void **obj_p)
453{
454 return rte_ring_sc_dequeue_elem(r, obj_p, sizeof(void *));
455}
456
457/**
458 * Dequeue one object from a ring.

Callers 9

efd_compute_updateFunction · 0.85
bucket_adopt_orphansFunction · 0.85
thread_msg_send_recvFunction · 0.85
thread_msg_recvFunction · 0.85
test_ring_dequeueFunction · 0.85
thread_msg_send_recvFunction · 0.85
thread_msg_recvFunction · 0.85
pipeline_msg_send_recvFunction · 0.85
pipeline_msg_recvFunction · 0.85

Calls 1

rte_ring_sc_dequeue_elemFunction · 0.85

Tested by 1

test_ring_dequeueFunction · 0.68