Home
last modified time | relevance | path

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

12345

/Zephyr-Core-3.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.0/tests/bsim/bluetooth/audio/src/
Dcommon.h39 #define TEST_FLAG(flag) (atomic_get(&flag) == (atomic_t)true)
41 while (!(bool)atomic_get(&flag)) { \
45 while (atomic_get(&flag) != (atomic_t)false) { \
/Zephyr-Core-3.5.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.5.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.5.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.5.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.5.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.5.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.5.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.5.0/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dcommon.h19 while (!(bool)atomic_get(&flag)) { \
23 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.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.5.0/tests/bsim/bluetooth/host/misc/disable/src/
Dcommon.h34 while (!(bool)atomic_get(&flag)) { \
38 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.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.5.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)) { \
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dcommon.h35 while (!(bool)atomic_get(&flag)) { \
39 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/l2cap/split/common/
Dutils.h22 while (!(bool)atomic_get(&flag)) { \
26 while ((bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dcommon.h31 #define GET_FLAG(flag) (bool)atomic_get(&flag)
34 while (!(bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/security/ccc_update/src/
Dcommon.h31 #define GET_FLAG(flag) (bool)atomic_get(&flag)
34 while (!(bool)atomic_get(&flag)) { \
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/privacy/central/src/
Dbs_bt_utils.h32 while (!(bool)atomic_get(&flag)) { \
36 while ((bool)atomic_get(&flag)) { \

12345