Home
last modified time | relevance | path

Searched refs:atomic_get (Results 1 – 25 of 138) sorted by relevance

123456

/Zephyr-Core-3.6.0/tests/net/offloaded_netdev/src/
Dmain.c69 return atomic_get(&retval); in offload_impl_enable()
145 zassert_equal(atomic_get(&call_count), 1, in ZTEST()
147 zassert_equal(atomic_get(&up_count), 1, in ZTEST()
156 zassert_equal(atomic_get(&call_count), 2, in ZTEST()
158 zassert_equal(atomic_get(&up_count), 0, in ZTEST()
176 zassert_equal(atomic_get(&call_count), 0, in ZTEST()
178 zassert_equal(atomic_get(&up_count), 0, in ZTEST()
187 zassert_equal(atomic_get(&call_count), 0, in ZTEST()
189 zassert_equal(atomic_get(&up_count), 0, in ZTEST()
207 zassert_equal(atomic_get(&call_count), 1, in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/subsys/modem/modem_pipe/src/
Dmain.c235 zassert_equal(atomic_get(&test_state), in test_pipe_open()
238 "Unexpected state %u", atomic_get(&test_state)); in test_pipe_open()
246 zassert_equal(atomic_get(&test_state), 0, in test_pipe_reopen()
247 "Unexpected state %u", atomic_get(&test_state)); in test_pipe_reopen()
255 zassert_equal(atomic_get(&test_state), BIT(TEST_MODEM_PIPE_EVENT_CLOSED_BIT), in test_pipe_close()
256 "Unexpected state %u", atomic_get(&test_state)); in test_pipe_close()
264 zassert_equal(atomic_get(&test_state), 0, in test_pipe_reclose()
265 "Unexpected state %u", atomic_get(&test_state)); in test_pipe_reclose()
276 zassert_equal(atomic_get(&test_state), 0, "Unexpected state %u", in test_pipe_async_transmit()
277 atomic_get(&test_state)); in test_pipe_async_transmit()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/pipeline/common/
Dutils.h17 #define TEST_FLAG(flag) (bool)atomic_get(&flag)
22 while (atomic_get(&var) != val) { \
26 while (!(bool)atomic_get(&flag)) { \
30 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/disconnect/common/
Dutils.h22 while (atomic_get(&var) expr) { \
26 while (atomic_get(&var) != val) { \
30 while (!(bool)atomic_get(&flag)) { \
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/iso/cis/src/
Dcommon.h20 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t) true)
22 while (!(bool)atomic_get(&flag)) { \
26 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/general/src/
Dcommon.h26 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
28 while (!(bool)atomic_get(&flag)) { \
32 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/stress/src/
Dcommon.h28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
30 while (!(bool)atomic_get(&flag)) { \
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/credits/src/
Dcommon.h28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
30 while (!(bool)atomic_get(&flag)) { \
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/credits_seg_recv/src/
Dcommon.h28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
30 while (!(bool)atomic_get(&flag)) { \
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/frags/src/
Dcommon.h28 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
30 while (!(bool)atomic_get(&flag)) { \
34 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/adv/extended/src/
Dcommon.h22 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
25 while (!(bool)atomic_get(&flag)) { \
29 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/sequential/common/
Dutils.h22 while (atomic_get(&var) != val) { \
26 while (!(bool)atomic_get(&flag)) { \
30 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dbs_bt_utils.h32 while (!(bool)atomic_get(&flag)) { \
36 while ((bool)atomic_get(&flag)) { \
43 #define GET_FLAG(flag) (bool)atomic_get(&flag)
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/gatt/sc_indicate/src/
Dbs_bt_utils.h20 while (!(bool)atomic_get(&flag)) { \
24 while ((bool)atomic_get(&flag)) { \
31 #define GET_FLAG(flag) (bool)atomic_get(&flag)
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/security/bond_per_connection/src/
Dbs_bt_utils.h34 while (!(bool)atomic_get(&flag)) { \
38 while ((bool)atomic_get(&flag)) { \
46 (bool)atomic_get(&flag)
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/security/id_addr_update/common/
Dbs_bt_utils.h38 while (!(bool)atomic_get(&flag)) { \
42 while ((bool)atomic_get(&flag)) { \
50 (bool)atomic_get(&flag)
/Zephyr-Core-3.6.0/tests/kernel/mem_protect/futex/src/
Dmain.c72 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_task()
113 atomic_get(&simple_futex.val), K_TICKS(time_val)); in futex_wait_wake_task()
156 atomic_get(&(multiple_futex[idx].val)), K_TICKS(time_val)); in futex_multiple_wait_wake_task()
185 zassert_false(atomic_get(&simple_futex.val) == 0, in ZTEST()
205 zassert_true(atomic_get(&simple_futex.val) == 0, in ZTEST()
225 zassert_true(atomic_get(&simple_futex.val) == 0, "wait nowait fail"); in ZTEST()
258 zassert_true(atomic_get(&simple_futex.val) == 0, in ZTEST()
291 zassert_true(atomic_get(&simple_futex.val) == 0, in ZTEST()
344 zassert_true(atomic_get(&simple_futex.val) == 0, in ZTEST()
376 zassert_true(atomic_get(&simple_futex.val) == 0, in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/net/socket/socketpair/src/
Dblock.c31 LOG_DBG("ctx.m: %lu", atomic_get(&ctx.m)); in work_handler()
32 if (atomic_get(&ctx.m) in work_handler()
77 for (ctx.m = 0; atomic_get(&ctx.m) in ZTEST_F()
86 LOG_DBG("have written %lu bytes", atomic_get(&ctx.m)); in ZTEST_F()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dcommon.h19 while (!(bool)atomic_get(&flag)) { \
23 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dcommon.h19 while (!(bool)atomic_get(&flag)) { \
23 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/unregister_conn_cb/src/
Dcommon.h34 while (!(bool)atomic_get(&flag)) { \
38 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/adv/periodic/src/
Dcommon.h36 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
38 while (!(bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/misc/disable/src/
Dcommon.h34 while (!(bool)atomic_get(&flag)) { \
38 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.6.0/tests/net/net_pkt/src/
Dmain.c119 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
129 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
150 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
167 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
183 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
202 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
217 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
231 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
418 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
504 zassert_true(atomic_get(&pkt->atomic_ref) == 0, in ZTEST()
[all …]
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/att/eatt_notif/src/
Dcommon.h34 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
36 while (!(bool)atomic_get(&flag)) { \

123456