Searched refs:max_msgs (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/kernel/ |
D | msg_q.c | 40 uint32_t max_msgs) in k_msgq_init() argument 43 msgq->max_msgs = max_msgs; in k_msgq_init() 45 msgq->buffer_end = buffer + (max_msgs * msg_size); in k_msgq_init() 66 uint32_t max_msgs) in z_impl_k_msgq_alloc_init() argument 74 if (size_mul_overflow(msg_size, max_msgs, &total_size)) { in z_impl_k_msgq_alloc_init() 79 k_msgq_init(msgq, buffer, msg_size, max_msgs); in z_impl_k_msgq_alloc_init() 94 uint32_t max_msgs) in z_vrfy_k_msgq_alloc_init() argument 98 return z_impl_k_msgq_alloc_init(msgq, msg_size, max_msgs); in z_vrfy_k_msgq_alloc_init() 136 if (msgq->used_msgs < msgq->max_msgs) { in z_impl_k_msgq_put() 201 attrs->max_msgs = msgq->max_msgs; in z_impl_k_msgq_get_attrs()
|
/Zephyr-latest/lib/posix/options/ |
D | mqueue.c | 60 long msg_size = 0U, max_msgs = 0U; in mq_open() local 75 max_msgs = attrs->mq_maxmsg; in mq_open() 79 max_msgs <= 0))) { in mq_open() 146 mq_buf_ptr = k_malloc(msg_size * max_msgs * sizeof(uint8_t)); in mq_open() 149 msg_size * max_msgs * sizeof(uint8_t)); in mq_open() 158 max_msgs); in mq_open() 312 mqstat->mq_maxmsg = attrs.max_msgs; in mq_getattr()
|
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/ |
D | msgq.c | 174 return msgq->z_msgq.max_msgs; in osMessageQueueGetCapacity()
|
/Zephyr-latest/include/zephyr/ |
D | kernel.h | 4559 uint32_t max_msgs; member 4591 .max_msgs = q_max_msgs, \ 4614 uint32_t max_msgs; member 4660 uint32_t max_msgs); 4682 uint32_t max_msgs); 4811 return msgq->max_msgs - msgq->used_msgs; in z_impl_k_msgq_num_free_get()
|
/Zephyr-latest/subsys/tracing/test/ |
D | tracing_test.h | 299 sys_trace_k_msgq_alloc_init_enter(msgq, msg_size, max_msgs) 302 sys_trace_k_msgq_alloc_init_exit(msgq, msg_size, max_msgs, ret) 650 void sys_trace_k_msgq_alloc_init_enter(struct k_msgq *msgq, size_t msg_size, uint32_t max_msgs); 651 void sys_trace_k_msgq_alloc_init_exit(struct k_msgq *msgq, size_t msg_size, uint32_t max_msgs,
|
/Zephyr-latest/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 64 59 k_msgq_init msgq=%I, buffer=%p, msg_size=%u, max_msgs=%us
|
/Zephyr-latest/tests/drivers/can/api/src/ |
D | classic.c | 964 nframes = attrs.max_msgs; in ZTEST_USER()
|