Home
last modified time | relevance | path

Searched refs:mq (Results 1 – 2 of 2) sorted by relevance

/trusty/kernel/lib/trusty/
Dipc_msg.c109 struct ipc_msg_queue** mq) { in ipc_msg_queue_create() argument
137 *mq = tmp_mq; in ipc_msg_queue_create()
145 void ipc_msg_queue_destroy(struct ipc_msg_queue* mq) { in ipc_msg_queue_destroy() argument
147 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() argument
160 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 …]
/trusty/kernel/lib/trusty/include/lib/trusty/
Dipc_msg.h40 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);