Searched refs:tmp_mq (Results 1 – 1 of 1) sorted by relevance
110 struct ipc_msg_queue* tmp_mq; in ipc_msg_queue_create() local113 tmp_mq = calloc(1, (sizeof(struct ipc_msg_queue) + in ipc_msg_queue_create()115 if (!tmp_mq) { in ipc_msg_queue_create()120 tmp_mq->buf = malloc(num_items * item_sz); in ipc_msg_queue_create()121 if (!tmp_mq->buf) { in ipc_msg_queue_create()127 tmp_mq->num_items = num_items; in ipc_msg_queue_create()128 tmp_mq->item_sz = item_sz; in ipc_msg_queue_create()129 list_initialize(&tmp_mq->free_list); in ipc_msg_queue_create()130 list_initialize(&tmp_mq->filled_list); in ipc_msg_queue_create()131 list_initialize(&tmp_mq->read_list); in ipc_msg_queue_create()[all …]