Home
last modified time | relevance | path

Searched refs:msg_len (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-2.7.6/include/posix/
Dmqueue.h33 int mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len,
35 int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len,
39 int mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len,
41 int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len,
/Zephyr-Core-2.7.6/lib/posix/
Dmqueue.c35 static int32_t send_message(mqueue_desc *mqd, const char *msg_ptr, size_t msg_len,
37 static int receive_message(mqueue_desc *mqd, char *msg_ptr, size_t msg_len,
243 int mq_send(mqd_t mqdes, const char *msg_ptr, size_t msg_len, in mq_send() argument
248 return send_message(mqd, msg_ptr, msg_len, K_FOREVER); in mq_send()
258 int mq_timedsend(mqd_t mqdes, const char *msg_ptr, size_t msg_len, in mq_timedsend() argument
264 return send_message(mqd, msg_ptr, msg_len, K_MSEC(timeout)); in mq_timedsend()
274 int mq_receive(mqd_t mqdes, char *msg_ptr, size_t msg_len, in mq_receive() argument
279 return receive_message(mqd, msg_ptr, msg_len, K_FOREVER); in mq_receive()
289 int mq_timedreceive(mqd_t mqdes, char *msg_ptr, size_t msg_len, in mq_timedreceive() argument
295 return receive_message(mqd, msg_ptr, msg_len, K_MSEC(timeout)); in mq_timedreceive()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Daes_ccm.c40 size_t mic_size, uint8_t msg_len, uint8_t b[16], in ccm_calculate_X0() argument
48 sys_put_be16(msg_len, b + 14); in ccm_calculate_X0()
98 const uint8_t *cleartext_msg, size_t msg_len, const uint8_t *aad, in ccm_auth() argument
105 last_blk = msg_len % 16; in ccm_auth()
106 blk_cnt = (msg_len + 15) / 16; in ccm_auth()
122 ccm_calculate_X0(key, aad, aad_len, mic_size, msg_len, b, Xn); in ccm_auth()
151 const uint8_t *in_msg, uint8_t *out_msg, size_t msg_len) in ccm_crypt() argument
158 last_blk = msg_len % 16; in ccm_crypt()
159 blk_cnt = (msg_len + 15) / 16; in ccm_crypt()
/Zephyr-Core-2.7.6/drivers/wifi/eswifi/
Deswifi_bus_spi.c185 size_t msg_len; in eswifi_spi_read_msg() local
207 msg_len = ret - (sizeof(startstr) - 1) - (sizeof(endstr) - 1); in eswifi_spi_read_msg()
208 if (msg_len > 0) { in eswifi_spi_read_msg()
209 eswifi_async_msg(eswifi, rsp + sizeof(endstr) - 1, msg_len); in eswifi_spi_read_msg()
/Zephyr-Core-2.7.6/tests/subsys/fs/fcb/src/
Dfcb_test.h37 uint8_t fcb_test_append_data(int msg_len, int off);
Dmain.c65 uint8_t fcb_test_append_data(int msg_len, int off) in fcb_test_append_data() argument
67 return (msg_len ^ off); in fcb_test_append_data()
/Zephyr-Core-2.7.6/drivers/console/
Dgsm_mux.c91 uint16_t msg_len; /* message length */ member
294 int value = mux->msg_len; in gsm_mux_read_msg_len()
299 mux->msg_len = value; in gsm_mux_read_msg_len()
1282 mux->msg_len = 0; in gsm_mux_process_data()
1285 if (mux->msg_len > mux->mru) { in gsm_mux_process_data()
1287 } else if (mux->msg_len == 0) { in gsm_mux_process_data()
1292 LOG_DBG("[%p] data len %d", mux, mux->msg_len); in gsm_mux_process_data()
1303 mux->msg_len |= recv_byte << 7; in gsm_mux_process_data()
1304 if (mux->msg_len > mux->mru) { in gsm_mux_process_data()
1306 } else if (mux->msg_len == 0) { in gsm_mux_process_data()
[all …]
/Zephyr-Core-2.7.6/samples/tfm_integration/psa_crypto/src/
Dpsa_crypto.c203 static psa_status_t crp_hash_payload(uint8_t *msg, size_t msg_len, in crp_hash_payload() argument
215 sf_hex_tabulate_16(&crp_fmt, msg, msg_len); in crp_hash_payload()
228 status = al_psa_status(psa_hash_update(&hash_handle, msg, msg_len), in crp_hash_payload()
/Zephyr-Core-2.7.6/subsys/net/l2/canbus/
D6locan.c576 uint16_t msg_len; in canbus_process_ff() local
586 msg_len = canbus_receive_get_ff_length(pkt); in canbus_process_ff()
588 new_pkt_len = msg_len + canbus_total_lladdr_len(pkt); in canbus_process_ff()
631 rx_ctx->rem_len = msg_len - data_len; in canbus_process_ff()
652 src.addr, mcast ? "m" : "uni", msg_len, rx_ctx); in canbus_process_ff()