Searched refs:pqueue (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.7.0/tests/kernel/queue/src/ |
D | test_queue_loop.c | 21 static void tqueue_append(struct k_queue *pqueue) in tqueue_append() argument 25 k_queue_append(pqueue, (void *)&data[i]); in tqueue_append() 30 k_queue_prepend(pqueue, (void *)&data_p[i]); in tqueue_append() 35 k_queue_prepend(pqueue, (void *)&data_r[i]); in tqueue_append() 39 static void tqueue_get(struct k_queue *pqueue) in tqueue_get() argument 46 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get() 53 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get() 58 static void tqueue_find_and_remove(struct k_queue *pqueue) in tqueue_find_and_remove() argument 63 zassert_true(k_queue_remove(pqueue, &data_r[i])); in tqueue_find_and_remove() 85 static void tqueue_read_write(struct k_queue *pqueue) in tqueue_read_write() argument [all …]
|
D | test_queue_contexts.c | 34 static void tqueue_append(struct k_queue *pqueue) in tqueue_append() argument 36 k_queue_insert(pqueue, k_queue_peek_tail(pqueue), in tqueue_append() 41 k_queue_append(pqueue, (void *)&data[i]); in tqueue_append() 46 k_queue_prepend(pqueue, (void *)&data_p[i]); in tqueue_append() 54 k_queue_append_list(pqueue, (uint32_t *)head, (uint32_t *)tail); in tqueue_append() 62 k_queue_merge_slist(pqueue, &slist); in tqueue_append() 65 static void tqueue_get(struct k_queue *pqueue) in tqueue_get() argument 72 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get() 78 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get() 83 rx_data = k_queue_get(pqueue, K_NO_WAIT); in tqueue_get() [all …]
|