Home
last modified time | relevance | path

Searched refs:MSG_SIZE (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/tests/kernel/msgq/msgq_api/src/
Dtest_msgq_fail.c8 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN];
53 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
68 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
79 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
94 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
Dtest_msgq_contexts.c10 K_MSGQ_DEFINE(kmsgq, MSG_SIZE, MSGQ_LEN, 4);
11 K_MSGQ_DEFINE(kmsgq_test_alloc, MSG_SIZE, MSGQ_LEN, 4);
20 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN];
21 static ZTEST_DMEM char __aligned(4) tbuffer1[MSG_SIZE];
258 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
275 k_msgq_init(&msgq, tbuffer, MSG_SIZE, 2); in ZTEST()
302 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
320 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, 1)); in ZTEST_USER()
337 k_msgq_init(&stack_msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
351 k_msgq_init(&msgq1, tbuffer1, MSG_SIZE, 1); in ZTEST()
[all …]
Dtest_msgq_attrs.c9 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN];
51 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
68 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
Dtest_msgq_purge.c12 static ZTEST_BMEM char __aligned(4) tbuffer[MSG_SIZE * MSGQ_LEN];
60 k_msgq_init(&msgq, tbuffer, MSG_SIZE, MSGQ_LEN); in ZTEST()
76 zassert_false(k_msgq_alloc_init(q, MSG_SIZE, MSGQ_LEN)); in ZTEST_USER()
Dtest_msgq.h18 #define MSG_SIZE 4 macro
/Zephyr-latest/samples/drivers/uart/echo_bot/src/
Dmain.c16 #define MSG_SIZE 32 macro
19 K_MSGQ_DEFINE(uart_msgq, MSG_SIZE, 10, 4);
24 static char rx_buf[MSG_SIZE];
75 char tx_buf[MSG_SIZE]; in main()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/
Dsync.c20 #define MSG_SIZE 1 macro
42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send()
50 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/tests/bsim/babblekit/src/
Dsync.c19 #define MSG_SIZE 1 macro
42 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in bk_sync_send()
50 uint8_t sync_msg[MSG_SIZE]; in bk_sync_wait()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/caching/src/
Dcommon.c24 #define MSG_SIZE 1 macro
43 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send()
51 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/legacy/src/
Dbs_bt_utils.c31 #define MSG_SIZE 1 macro
49 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send()
57 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/tests/bsim/bluetooth/host/privacy/central/src/
Dbs_bt_utils.c14 #define MSG_SIZE 1 macro
47 uint8_t sync_msg[MSG_SIZE] = {get_device_nbr()}; in backchannel_sync_send()
54 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dmain.c147 #define MSG_SIZE 1 macro
151 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send()
159 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dcommon.c181 #define MSG_SIZE 1 macro
200 uint8_t sync_msg[MSG_SIZE] = { get_device_nbr() }; in backchannel_sync_send()
208 uint8_t sync_msg[MSG_SIZE]; in backchannel_sync_wait()
/Zephyr-latest/samples/subsys/logging/logger/src/
Dmain.c178 #define MSG_SIZE (sizeof(struct log_msg) + 2 * sizeof(void *) + sizeof(int)) in performance_showcase() macro
184 (CONFIG_LOG_BUFFER_SIZE / MSG_SIZE)); in performance_showcase()
/Zephyr-latest/tests/kernel/workq/work_queue/src/
Dmain.c76 #define MSG_SIZE 16U macro
86 char msgq_buf[1][MSG_SIZE];
745 char msg[MSG_SIZE] = { 0 }; in msg_provider_thread()
752 char msg[MSG_SIZE]; in triggered_from_msgq_work_handler()
770 MSG_SIZE, 1U); in test_triggered_from_msgq_init()