Searched refs:max_msgs (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-2.7.6/kernel/ |
D | msg_q.c | 36 uint32_t max_msgs) in k_msgq_init() argument 39 msgq->max_msgs = max_msgs; in k_msgq_init() 41 msgq->buffer_end = buffer + (max_msgs * msg_size); in k_msgq_init() 58 uint32_t max_msgs) in z_impl_k_msgq_alloc_init() argument 66 if (size_mul_overflow(msg_size, max_msgs, &total_size)) { in z_impl_k_msgq_alloc_init() 71 k_msgq_init(msgq, buffer, msg_size, max_msgs); in z_impl_k_msgq_alloc_init() 86 uint32_t max_msgs) in z_vrfy_k_msgq_alloc_init() argument 90 return z_impl_k_msgq_alloc_init(msgq, msg_size, max_msgs); in z_vrfy_k_msgq_alloc_init() 128 if (msgq->used_msgs < msgq->max_msgs) { in z_impl_k_msgq_put() 191 attrs->max_msgs = msgq->max_msgs; in z_impl_k_msgq_get_attrs()
|
/Zephyr-Core-2.7.6/lib/posix/ |
D | mqueue.c | 65 long msg_size = 0U, max_msgs = 0U; in mq_open() local 79 max_msgs = attrs->mq_maxmsg; in mq_open() 83 max_msgs <= 0))) { in mq_open() 150 mq_buf_ptr = k_malloc(msg_size * max_msgs * sizeof(uint8_t)); in mq_open() 153 msg_size * max_msgs * sizeof(uint8_t)); in mq_open() 162 max_msgs); in mq_open() 316 mqstat->mq_maxmsg = attrs.max_msgs; in mq_getattr()
|
/Zephyr-Core-2.7.6/include/ |
D | kernel.h | 4161 uint32_t max_msgs; member 4187 .max_msgs = q_max_msgs, \ 4210 uint32_t max_msgs; member 4262 uint32_t max_msgs); 4284 uint32_t max_msgs); 4400 return msgq->max_msgs - msgq->used_msgs; in z_impl_k_msgq_num_free_get()
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/ |
D | msgq.c | 169 return msgq->z_msgq.max_msgs; in osMessageQueueGetCapacity()
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_test.h | 296 sys_trace_k_msgq_alloc_init_enter(msgq, msg_size, max_msgs) 299 sys_trace_k_msgq_alloc_init_exit(msgq, msg_size, max_msgs, ret) 616 void sys_trace_k_msgq_alloc_init_enter(struct k_msgq *msgq, size_t msg_size, uint32_t max_msgs); 617 void sys_trace_k_msgq_alloc_init_exit(struct k_msgq *msgq, size_t msg_size, uint32_t max_msgs,
|
/Zephyr-Core-2.7.6/subsys/tracing/sysview/ |
D | SYSVIEW_Zephyr.txt | 65 59 k_msgq_init msgq=%I, buffer=%p, msg_size=%u, max_msgs=%us
|