Lines Matching refs:msg_pool
1309 mb->msg_pool = msgpool; in rt_mb_init()
1377 mb->msg_pool = RT_KERNEL_MALLOC(mb->size * sizeof(rt_ubase_t)); in rt_mb_create()
1378 if (mb->msg_pool == RT_NULL) in rt_mb_create()
1419 RT_KERNEL_FREE(mb->msg_pool); in rt_mb_delete()
1533 mb->msg_pool[mb->in_offset] = value; in rt_mb_send_wait()
1681 *value = mb->msg_pool[mb->out_offset]; in rt_mb_recv()
1801 mq->msg_pool = msgpool; in rt_mq_init()
1815 head = (struct rt_mq_message *)((rt_uint8_t *)mq->msg_pool + in rt_mq_init()
1892 mq->msg_pool = RT_KERNEL_MALLOC((mq->msg_size + sizeof(struct rt_mq_message)) * mq->max_msgs); in rt_mq_create()
1893 if (mq->msg_pool == RT_NULL) in rt_mq_create()
1908 head = (struct rt_mq_message *)((rt_uint8_t *)mq->msg_pool + in rt_mq_create()
1941 RT_KERNEL_FREE(mq->msg_pool); in rt_mq_delete()