Home
last modified time | relevance | path

Searched refs:mpsc_ptr_get (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.7.0/include/zephyr/sys/
Dmpsc_lockfree.h57 #define mpsc_ptr_get(ptr) atomic_ptr_get(&(ptr)) macro
65 #define mpsc_ptr_get(ptr) ptr
149 struct mpsc_node *next = (struct mpsc_node *)mpsc_ptr_get(tail->next); in mpsc_pop()
159 next = (struct mpsc_node *)mpsc_ptr_get(next->next); in mpsc_pop()
168 head = (struct mpsc_node *)mpsc_ptr_get(q->head); in mpsc_pop()
179 next = (struct mpsc_node *)mpsc_ptr_get(tail->next); in mpsc_pop()
/Zephyr-Core-3.7.0/tests/lib/lockfree/src/
Dtest_mpsc.c33 head = mpsc_ptr_get(push_pop_q.head); in ZTEST()
47 head = mpsc_ptr_get(push_pop_q.head); in ZTEST()
50 next = mpsc_ptr_get(push_pop_nodes[0].next); in ZTEST()
52 next = mpsc_ptr_get(push_pop_q.stub.next); in ZTEST()