Searched refs:mq (Results 1 – 2 of 2) sorted by relevance
109 struct ipc_msg_queue** mq) { in ipc_msg_queue_create() argument137 *mq = tmp_mq; in ipc_msg_queue_create()145 void ipc_msg_queue_destroy(struct ipc_msg_queue* mq) { in ipc_msg_queue_destroy() argument147 for (uint i = 0; i < mq->num_items; i++) { in ipc_msg_queue_destroy()148 struct msg_item* item = &mq->items[i]; in ipc_msg_queue_destroy()155 free(mq->buf); in ipc_msg_queue_destroy()156 free(mq); in ipc_msg_queue_destroy()159 bool ipc_msg_queue_is_empty(struct ipc_msg_queue* mq) { in ipc_msg_queue_is_empty() argument160 return list_is_empty(&mq->filled_list); in ipc_msg_queue_is_empty()163 bool ipc_msg_queue_is_full(struct ipc_msg_queue* mq) { in ipc_msg_queue_is_full() argument[all …]
40 struct ipc_msg_queue** mq);41 void ipc_msg_queue_destroy(struct ipc_msg_queue* mq);43 bool ipc_msg_queue_is_empty(struct ipc_msg_queue* mq);44 bool ipc_msg_queue_is_full(struct ipc_msg_queue* mq);